Modifier and Type | Method and Description |
---|---|
ResponseStatusCode |
ResponseException.getResponseStatusCode() |
Constructor and Description |
---|
ResponseException(ResponseStatusCode responseStatusCode,
String serverMessage) |
ResponseException(ResponseStatusCode responseStatusCode,
String serverMessage,
List<String> remoteExceptionHierarchy,
String remoteStackTrace) |
Modifier and Type | Method and Description |
---|---|
ResponseStatusCode |
ResponseStatus.getCode()
Gets the
ResponseStatusCode that describes how the server responded to the request. |
static ResponseStatusCode |
ResponseStatusCode.getFromValue(int codeValue) |
static ResponseStatusCode |
ResponseStatusCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseStatusCode[] |
ResponseStatusCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ResponseMessage.Builder |
ResponseMessage.Builder.code(ResponseStatusCode code) |
Constructor and Description |
---|
ResponseStatus(ResponseStatusCode code,
String message,
Map<String,Object> attributes) |
Modifier and Type | Method and Description |
---|---|
void |
ResponseHandlerContext.writeAndFlush(ResponseStatusCode code,
Object responseMessage)
Writes a response message to the underlying channel while ensuring that at most one
final response is written. |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
AbstractOpProcessor.generateMetaData(ChannelHandlerContext ctx,
RequestMessage msg,
ResponseStatusCode code,
Iterator itty)
Generates meta-data to put on a
ResponseMessage . |
protected static Frame |
AbstractOpProcessor.makeFrame(ChannelHandlerContext ctx,
RequestMessage msg,
MessageSerializer serializer,
boolean useBinary,
List<Object> aggregate,
ResponseStatusCode code)
Deprecated.
As of release 3.2.2, replaced by
AbstractOpProcessor.makeFrame(ChannelHandlerContext, RequestMessage, MessageSerializer, boolean, List, ResponseStatusCode, Map) . |
protected static Frame |
AbstractOpProcessor.makeFrame(ChannelHandlerContext ctx,
RequestMessage msg,
MessageSerializer serializer,
boolean useBinary,
List<Object> aggregate,
ResponseStatusCode code,
Map<String,Object> responseMetaData)
Caution:
#makeFrame(ResponseHandlerContext, RequestMessage, MessageSerializer, boolean, List, ResponseStatusCode, Map)
should be used instead of this method whenever a ResponseHandlerContext is available. |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
TraversalOpProcessor.generateMetaData(ChannelHandlerContext ctx,
RequestMessage msg,
ResponseStatusCode code,
Iterator itty) |
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.