Class ResponseStatus


  • public final class ResponseStatus
    extends Object
    Author:
    Stephen Mallette (http://stephen.genoprime.com)
    • Constructor Detail

      • ResponseStatus

        public ResponseStatus​(io.netty.handler.codec.http.HttpResponseStatus code,
                              String message,
                              String exception)
    • Method Detail

      • getCode

        public io.netty.handler.codec.http.HttpResponseStatus getCode()
        Gets the HttpResponseStatus that describes how the server responded to the request.
      • getMessage

        public String getMessage()
        Gets the message associated with the code.
      • getException

        public String getException()
        Gets the exception in case of error.