Package org.mockserver.model
Class HttpObjectCallback
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.model.Action<HttpObjectCallback>
-
- org.mockserver.model.HttpObjectCallback
-
public class HttpObjectCallback extends Action<HttpObjectCallback>
- Author:
- jamesdbloom
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.mockserver.model.Action
Action.Direction, Action.Type
-
-
Constructor Summary
Constructors Constructor Description HttpObjectCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClientId()
Action.Type
getType()
HttpObjectCallback
withActionType(Action.Type actionType)
HttpObjectCallback
withClientId(String clientId)
The client id of the web socket client that will handle the callback-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key
-
-
-
-
Method Detail
-
getClientId
public String getClientId()
-
withClientId
public HttpObjectCallback withClientId(String clientId)
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
-
withActionType
public HttpObjectCallback withActionType(Action.Type actionType)
-
getType
public Action.Type getType()
- Specified by:
getType
in classAction<HttpObjectCallback>
-
-