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, writeTocontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic TransportRequest()
protected TransportRequest(TransportRequest request)
public Task createTask(long id, String type, String action)
public String getDescription()
Copyright © 2009–2017. All rights reserved.