public abstract class TransportRequest extends TransportMessage<TransportRequest>
Modifier and Type | Class and Description |
---|---|
static class |
TransportRequest.Empty |
headers
Modifier | Constructor and Description |
---|---|
|
TransportRequest() |
protected |
TransportRequest(TransportRequest request) |
Modifier and Type | Method and Description |
---|---|
Task |
createTask(long id,
String type,
String action)
Returns the task object that should be used to keep track of the processing of the request.
|
String |
getDescription()
Returns optional description of the request to be displayed by the task manager
|
readFrom, remoteAddress, remoteAddress, writeTo
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public TransportRequest()
protected TransportRequest(TransportRequest request)
public Task createTask(long id, String type, String action)
public String getDescription()
Copyright © 2009–2016. All rights reserved.