Class MethodNotAllowedException

    • Constructor Detail

      • MethodNotAllowedException

        public MethodNotAllowedException​(io.netty.handler.codec.http.HttpMethod method,
                                         String uri,
                                         Collection<io.netty.handler.codec.http.HttpMethod> allowedMethods)
      • MethodNotAllowedException

        public MethodNotAllowedException​(io.netty.handler.codec.http.HttpMethod method,
                                         String uri,
                                         io.netty.handler.codec.http.HttpMethod... allowedMethods)
      • MethodNotAllowedException

        public MethodNotAllowedException​(HandlerContext ctx,
                                         io.netty.handler.codec.http.HttpMethod... method)
    • Method Detail

      • getAllowedMethods

        public List<io.netty.handler.codec.http.HttpMethod> getAllowedMethods()
      • getStatus

        public io.netty.handler.codec.http.HttpResponseStatus getStatus()
        Specified by:
        getStatus in class HttpException