Class Common

    • Field Detail

      • MOVED_PERMANENTLY

        public static final io.undertow.server.handlers.ResponseCodeHandler MOVED_PERMANENTLY
      • TEMPORARY_REDIRECT

        public static final io.undertow.server.handlers.ResponseCodeHandler TEMPORARY_REDIRECT
      • UNAUTHORIZED

        public static final io.undertow.server.handlers.ResponseCodeHandler UNAUTHORIZED
      • NOT_FOUND

        public static final io.undertow.server.handlers.ResponseCodeHandler NOT_FOUND
      • METHOD_NOT_ALLOWED_HANDLER

        public static final io.undertow.server.handlers.ResponseCodeHandler METHOD_NOT_ALLOWED_HANDLER
      • UNSUPPORTED_MEDIA_TYPE

        public static final io.undertow.server.handlers.ResponseCodeHandler UNSUPPORTED_MEDIA_TYPE
      • INTERNAL_SERVER_ERROR

        public static final io.undertow.server.handlers.ResponseCodeHandler INTERNAL_SERVER_ERROR
      • SERVICE_UNAVAIABLE

        public static final io.undertow.server.handlers.ResponseCodeHandler SERVICE_UNAVAIABLE
    • Constructor Detail

      • Common

        public Common()
    • Method Detail

      • sendPlainTextError

        public static void sendPlainTextError​(io.undertow.server.HttpServerExchange exchange,
                                              String msg,
                                              int errorCode)