Package org.mockserver.model
Class HttpSseResponse
java.lang.Object
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mockserver.model.Action
Action.Direction, Action.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()inthashCode()static HttpSseResponsewithCloseConnection(Boolean closeConnection) withEvents(List<SseEvent> events) withEvents(SseEvent... events) withHeader(String name, String... values) withHeader(Header header) withHeaders(Headers headers) withStatusCode(Integer statusCode) Methods inherited from class org.mockserver.model.Action
getDelay, getExpectationId, isPrimary, setExpectationId, withDelay, withDelay, withPrimaryMethods inherited from class org.mockserver.model.ObjectWithJsonToString
toStringMethods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
Constructor Details
-
HttpSseResponse
public HttpSseResponse()
-
-
Method Details
-
sseResponse
-
withStatusCode
-
getStatusCode
-
withHeaders
-
withHeader
-
withHeader
-
getHeaders
-
withEvents
-
withEvents
-
withEvent
-
getEvents
-
withCloseConnection
-
getCloseConnection
-
getType
- Specified by:
getTypein classAction<HttpSseResponse>
-
equals
- Overrides:
equalsin classAction<HttpSseResponse>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAction<HttpSseResponse>
-