| 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  ResponseStatusCodethat 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
  finalresponse is written. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Map<String,Object> | AbstractOpProcessor. generateMetaData(ChannelHandlerContext ctx,
                RequestMessage msg,
                ResponseStatusCode code,
                Iterator itty)Deprecated. 
 As of release 3.4.0, replaced by  AbstractOpProcessor.generateResultMetaData(ChannelHandlerContext, RequestMessage, ResponseStatusCode, Iterator, Settings) | 
| protected Map<String,Object> | AbstractOpProcessor. generateResultMetaData(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(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(ChannelHandlerContext ctx,
         RequestMessage msg,
         MessageSerializer serializer,
         boolean useBinary,
         List<Object> aggregate,
         ResponseStatusCode code,
         Map<String,Object> responseMetaData,
         Map<String,Object> statusAttributes)Caution:  #makeFrame(ResponseHandlerContext, RequestMessage, MessageSerializer, boolean, List, ResponseStatusCode, Map, Map)should be used instead of this method whenever aResponseHandlerContextis available. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Map<String,Object> | TraversalOpProcessor. generateMetaData(ChannelHandlerContext ctx,
                RequestMessage msg,
                ResponseStatusCode code,
                Iterator itty) | 
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.