public class HttpObjectCallback extends Action<HttpObjectCallback>
Action.Direction, Action.Type
Constructor and Description |
---|
HttpObjectCallback() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getClientId() |
Boolean |
getResponseCallback() |
Action.Type |
getType() |
int |
hashCode() |
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) |
toString
fieldsExcludedFromEqualsAndHashCode
public 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 HttpObjectCallback withResponseCallback(Boolean responseCallback)
public HttpObjectCallback withActionType(Action.Type actionType)
public Action.Type getType()
getType
in class Action<HttpObjectCallback>
public boolean equals(Object o)
equals
in class Action<HttpObjectCallback>
public int hashCode()
hashCode
in class Action<HttpObjectCallback>
Copyright © 2020. All rights reserved.