public class EmptyTransportResponseHandler extends java.lang.Object implements TransportResponseHandler<TransportResponse.Empty>
Modifier and Type | Field and Description |
---|---|
static EmptyTransportResponseHandler |
INSTANCE_SAME |
Constructor and Description |
---|
EmptyTransportResponseHandler(java.lang.String executor) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
executor() |
void |
handleException(TransportException exp) |
void |
handleResponse(TransportResponse.Empty response) |
TransportResponse.Empty |
newInstance()
creates a new instance of the return type from the remote call.
|
public static final EmptyTransportResponseHandler INSTANCE_SAME
public EmptyTransportResponseHandler(java.lang.String executor)
public TransportResponse.Empty newInstance()
TransportResponseHandler
newInstance
in interface TransportResponseHandler<TransportResponse.Empty>
public void handleResponse(TransportResponse.Empty response)
handleResponse
in interface TransportResponseHandler<TransportResponse.Empty>
public void handleException(TransportException exp)
handleException
in interface TransportResponseHandler<TransportResponse.Empty>
public java.lang.String executor()
executor
in interface TransportResponseHandler<TransportResponse.Empty>