Package org.jboss.as.domain.http.server
Class Common
- java.lang.Object
-
- org.jboss.as.domain.http.server.Common
-
public class Common extends Object
- Author:
- Kabir Khan
-
-
Field Summary
Fields Modifier and Type Field Description static io.undertow.server.handlers.ResponseCodeHandlerINTERNAL_SERVER_ERRORstatic io.undertow.server.handlers.ResponseCodeHandlerMETHOD_NOT_ALLOWED_HANDLERstatic io.undertow.server.handlers.ResponseCodeHandlerMOVED_PERMANENTLYstatic io.undertow.server.handlers.ResponseCodeHandlerNOT_FOUNDstatic io.undertow.server.handlers.ResponseCodeHandlerSERVICE_UNAVAIABLEstatic io.undertow.server.handlers.ResponseCodeHandlerTEMPORARY_REDIRECTstatic io.undertow.server.handlers.ResponseCodeHandlerUNAUTHORIZEDstatic io.undertow.server.handlers.ResponseCodeHandlerUNSUPPORTED_MEDIA_TYPE
-
Constructor Summary
Constructors Constructor Description Common()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidsendPlainTextError(io.undertow.server.HttpServerExchange exchange, String msg, int errorCode)
-
-
-
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
-
-
Method Detail
-
sendPlainTextError
public static void sendPlainTextError(io.undertow.server.HttpServerExchange exchange, String msg, int errorCode)
-
-