public static interface IOEndpoint.CallContext
Modifier and Type | Method and Description |
---|---|
BytesHandle |
getEndpointConstants()
Gets the definition for constant inputs to the
endpoint.
|
BytesHandle |
getEndpointState()
Gets the current snapshot of the mutable state
of the endpoint.
|
SessionState |
getSessionState()
Returns an identifier for an endpoint to use
when accessing a session cache on the server.
|
IOEndpoint.CallContext |
withEndpointConstants(BufferableHandle constants)
Sets the constant inputs prior to the first call
to the endpoint.
|
IOEndpoint.CallContext |
withEndpointConstantsAs(java.lang.Object constants)
Sets the constant inputs prior to the first call
to the endpoint.
|
IOEndpoint.CallContext |
withEndpointState(BufferableHandle endpointState)
Initializes the stateful properties of the
endpoint prior to the first call to the endpoint.
|
IOEndpoint.CallContext |
withEndpointStateAs(java.lang.Object endpointState)
Initializes the stateful properties of the
endpoint prior to the first call to the endpoint.
|
IOEndpoint.CallContext |
withSessionState(SessionState sessionState)
Sets an identifier for an endpoint to use when
accessing a session cache on the server.
|
BytesHandle getEndpointState()
IOEndpoint.CallContext withEndpointState(BufferableHandle endpointState)
endpointState
- the data structure for the
endpoint state in a representation supported by a bufferable
content handleIOEndpoint.CallContext withEndpointStateAs(java.lang.Object endpointState)
endpointState
- the data structure for the
endpoint state in a representation supported by a bufferable
content handleBytesHandle getEndpointConstants()
IOEndpoint.CallContext withEndpointConstants(BufferableHandle constants)
constants
- the data structure in a representation
supported by a bufferable content handleIOEndpoint.CallContext withEndpointConstantsAs(java.lang.Object constants)
constants
- the data structure in a representation
supported by a bufferable content handleSessionState getSessionState()
IOEndpoint.CallContext withSessionState(SessionState sessionState)
sessionState
- the identifier for the server cache
of the endpointCopyright © 2024 MarkLogic Corporation. All Rights Reserved.