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 |
ResponseHandlerContext.writeAndFlush(ResponseStatusCode code,
Object responseMessage)
Deprecated.
Writes a response message to the underlying channel while ensuring that at most one
final response is written. |
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> |
TraversalOpProcessor.generateMetaData(ChannelHandlerContext ctx,
RequestMessage msg,
ResponseStatusCode code,
Iterator itty) |
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.