Class CxfRequestLimitingHandler
java.lang.Object
org.apache.cxf.transport.http_undertow.handlers.CxfRequestLimitingHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler,CXFUndertowHttpHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoidhandleRequest(io.undertow.server.HttpServerExchange exchange) voidsetMaximumConcurrentRequests(int maximumConcurrentRequests) voidsetNext(io.undertow.server.HttpHandler nextHandler) voidsetQueueSize(int queueSize)
-
Constructor Details
-
CxfRequestLimitingHandler
public CxfRequestLimitingHandler(int maximumConcurrentRequests, int queueSize) -
CxfRequestLimitingHandler
public CxfRequestLimitingHandler()
-
-
Method Details
-
handleRequest
- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Throws:
Exception
-
setNext
public void setNext(io.undertow.server.HttpHandler nextHandler) - Specified by:
setNextin interfaceCXFUndertowHttpHandler
-
getMaximumConcurrentRequests
public int getMaximumConcurrentRequests() -
setMaximumConcurrentRequests
public void setMaximumConcurrentRequests(int maximumConcurrentRequests) -
getQueueSize
public int getQueueSize() -
setQueueSize
public void setQueueSize(int queueSize)
-