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) |
ResponseException(ResponseStatusCode responseStatusCode,
String serverMessage,
List<String> remoteExceptionHierarchy,
String remoteStackTrace,
Map<String,Object> statusAttributes) |
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 |
Context.write(ResponseStatusCode code,
Object responseMessage) |
void |
Context.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> |
AbstractSession.generateResponseMetaData(SessionTask sessionTask,
ResponseStatusCode code,
Iterator<?> itty)
Generates response result meta-data to put on a
ResponseMessage . |
protected Map<String,Object> |
AbstractSession.generateStatusAttributes(SessionTask sessionTask,
ResponseStatusCode code,
Iterator<?> itty)
Generates response status meta-data to put on a
ResponseMessage . |
protected Frame |
AbstractSession.makeFrame(SessionTask sessionTask,
List<Object> aggregate,
ResponseStatusCode code,
Iterator<?> itty) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
AbstractOpProcessor.generateResultMetaData(io.netty.channel.ChannelHandlerContext ctx,
RequestMessage msg,
ResponseStatusCode code,
Iterator itty,
Settings settings)
Generates response result meta-data to put on a
ResponseMessage . |
protected Map<String,Object> |
AbstractOpProcessor.generateStatusAttributes(io.netty.channel.ChannelHandlerContext ctx,
RequestMessage msg,
ResponseStatusCode code,
Iterator itty,
Settings settings)
Generates response status meta-data to put on a
ResponseMessage . |
protected static Frame |
AbstractOpProcessor.makeFrame(Context ctx,
RequestMessage msg,
MessageSerializer<?> serializer,
boolean useBinary,
List<Object> aggregate,
ResponseStatusCode code,
Map<String,Object> responseMetaData,
Map<String,Object> statusAttributes) |
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.