Class CxfDisallowedMethodsHandler
- java.lang.Object
-
- org.apache.cxf.transport.http_undertow.handlers.CxfDisallowedMethodsHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler,CXFUndertowHttpHandler
public class CxfDisallowedMethodsHandler extends Object implements CXFUndertowHttpHandler
-
-
Constructor Summary
Constructors Constructor Description CxfDisallowedMethodsHandler(String[] methods)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getMethods()voidhandleRequest(io.undertow.server.HttpServerExchange exchange)voidsetMethods(String[] methods)voidsetNext(io.undertow.server.HttpHandler nextHandler)
-
-
-
Constructor Detail
-
CxfDisallowedMethodsHandler
public CxfDisallowedMethodsHandler(String[] methods)
-
-
Method Detail
-
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Throws:
Exception
-
setNext
public void setNext(io.undertow.server.HttpHandler nextHandler)
- Specified by:
setNextin interfaceCXFUndertowHttpHandler
-
getMethods
public String[] getMethods()
-
setMethods
public void setMethods(String[] methods)
-
-