Package dev.restate.client
Class SendResponse<Res>
java.lang.Object
dev.restate.client.SendResponse<Res>
- All Implemented Interfaces:
Client.InvocationHandle<Res>
,ResponseHead
public final class SendResponse<Res>
extends Object
implements ResponseHead, Client.InvocationHandle<Res>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface dev.restate.client.ResponseHead
ResponseHead.Headers
-
Constructor Summary
ConstructorsConstructorDescriptionSendResponse
(int statusCode, ResponseHead.Headers headers, SendResponse.SendStatus status, Client.InvocationHandle<Res> invocationHandle) -
Method Summary
Modifier and TypeMethodDescriptionattachAsync
(RequestOptions options) boolean
getOutputAsync
(RequestOptions options) int
hashCode()
headers()
int
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.restate.client.Client.InvocationHandle
attach, attach, attachAsync, getOutput, getOutput, getOutputAsync
-
Constructor Details
-
SendResponse
public SendResponse(int statusCode, ResponseHead.Headers headers, SendResponse.SendStatus status, Client.InvocationHandle<Res> invocationHandle)
-
-
Method Details
-
statusCode
public int statusCode()- Specified by:
statusCode
in interfaceResponseHead
-
headers
- Specified by:
headers
in interfaceResponseHead
-
sendStatus
-
invocationId
- Specified by:
invocationId
in interfaceClient.InvocationHandle<Res>
-
attachAsync
- Specified by:
attachAsync
in interfaceClient.InvocationHandle<Res>
-
getOutputAsync
- Specified by:
getOutputAsync
in interfaceClient.InvocationHandle<Res>
-
equals
-
hashCode
public int hashCode() -
toString
-