public class HttpObjectCallback extends Action<HttpObjectCallback>
Action.Direction, Action.Type| Constructor and Description |
|---|
HttpObjectCallback() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientId() |
Boolean |
getResponseCallback() |
Action.Type |
getType() |
void |
setResponseCallback(Boolean responseCallback) |
HttpObjectCallback |
withActionType(Action.Type actionType) |
HttpObjectCallback |
withClientId(String clientId)
The client id of the web socket client that will handle the callback
|
HttpObjectCallback |
withResponseCallback(Boolean responseCallback) |
toStringequals, fieldsExcludedFromEqualsAndHashCode, hashCodepublic String getClientId()
public HttpObjectCallback withClientId(String clientId)
The client id must be for client with an open web socket, if no client is found with id a 404 response will be returned
clientId - client id of the web socket client that will handle the callbackpublic Boolean getResponseCallback()
public void setResponseCallback(Boolean responseCallback)
public HttpObjectCallback withResponseCallback(Boolean responseCallback)
public HttpObjectCallback withActionType(Action.Type actionType)
public Action.Type getType()
getType in class Action<HttpObjectCallback>Copyright © 2020. All rights reserved.