public class EmptyTransportResponseHandler extends Object implements TransportResponseHandler<TransportResponse.Empty>
Modifier and Type | Field and Description |
---|---|
static EmptyTransportResponseHandler |
INSTANCE_SAME |
Constructor and Description |
---|
EmptyTransportResponseHandler(String executor) |
Modifier and Type | Method and Description |
---|---|
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(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 String executor()
executor
in interface TransportResponseHandler<TransportResponse.Empty>
Copyright © 2009–2016. All rights reserved.