public class GenericRemoteInvocationResponse extends Object implements Serializable
GenericRemoteInvocationRpcService.callServices(net.sf.mmm.service.base.rpc.GenericRemoteInvocationRpcRequest),
GenericRemoteInvocationCommandService.callCommands(net.sf.mmm.service.base.command.GenericRemoteInvocationCommandRequest),
Serialized Form| Modifier and Type | Field and Description |
|---|---|
private int |
requestId |
private static long |
serialVersionUID
UID for serialization.
|
private GenericRemoteInvocationTransactionalResults[] |
transactionalResults |
private CsrfToken |
xsrfToken |
| Modifier | Constructor and Description |
|---|---|
protected |
GenericRemoteInvocationResponse()
The constructor.
|
|
GenericRemoteInvocationResponse(int requestId,
CsrfToken xsrfToken,
Collection<GenericRemoteInvocationTransactionalResults> transactionalResults)
The constructor.
|
|
GenericRemoteInvocationResponse(int requestId,
CsrfToken xsrfToken,
GenericRemoteInvocationTransactionalResults[] transactionalResults)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getRequestId() |
GenericRemoteInvocationTransactionalResults[] |
getTransactionalResults() |
CsrfToken |
getXsrfToken()
Gets the
CsrfToken that has been generated on the server-side. |
private static final long serialVersionUID
private GenericRemoteInvocationTransactionalResults[] transactionalResults
getTransactionalResults()private int requestId
getRequestId()private CsrfToken xsrfToken
getXsrfToken()protected GenericRemoteInvocationResponse()
public GenericRemoteInvocationResponse(int requestId,
CsrfToken xsrfToken,
GenericRemoteInvocationTransactionalResults[] transactionalResults)
requestId - - see getRequestId().xsrfToken - - see getXsrfToken().transactionalResults - - see getTransactionalResults().public GenericRemoteInvocationResponse(int requestId,
CsrfToken xsrfToken,
Collection<GenericRemoteInvocationTransactionalResults> transactionalResults)
requestId - - see getRequestId().xsrfToken - - see getXsrfToken().transactionalResults - - see getTransactionalResults().public int getRequestId()
ID of the request this response
corresponds to.public CsrfToken getXsrfToken()
CsrfToken that has been generated on the server-side. If not null the
client has to store the token and send it back to the server
within the next
request. This is all handled by the infrastructure of mmm-service
but can be extended for custom needs.CsrfToken or null if unchanged.public GenericRemoteInvocationTransactionalResults[] getTransactionalResults()
GenericRemoteInvocationTransactionalResultss.Copyright © 2001–2016 mmm-Team. All rights reserved.