Package org.mockserver.model
Class HttpObjectCallback
java.lang.Object
- Author:
- jamesdbloom
-
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()withActionType(Action.Type actionType) withClientId(String clientId) The client id of the web socket client that will handle the callbackwithResponseCallback(Boolean responseCallback) 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
-
HttpObjectCallback
public HttpObjectCallback()
-
-
Method Details
-
getClientId
-
withClientId
The client id of the web socket client that will handle the callbackThe client id must be for client with an open web socket, if no client is found with id a 404 response will be returned
- Parameters:
clientId- client id of the web socket client that will handle the callback
-
getResponseCallback
-
withResponseCallback
-
withActionType
-
getType
- Specified by:
getTypein classAction<HttpObjectCallback>
-
equals
- Overrides:
equalsin classAction<HttpObjectCallback>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAction<HttpObjectCallback>
-