Class CxfRequestLimitingHandler
- java.lang.Object
-
- org.apache.cxf.transport.http_undertow.handlers.CxfRequestLimitingHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler,CXFUndertowHttpHandler
public class CxfRequestLimitingHandler extends Object implements CXFUndertowHttpHandler
-
-
Constructor Summary
Constructors Constructor Description CxfRequestLimitingHandler()CxfRequestLimitingHandler(int maximumConcurrentRequests, int queueSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaximumConcurrentRequests()intgetQueueSize()voidhandleRequest(io.undertow.server.HttpServerExchange exchange)voidsetMaximumConcurrentRequests(int maximumConcurrentRequests)voidsetNext(io.undertow.server.HttpHandler nextHandler)voidsetQueueSize(int queueSize)
-
-
-
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
-
getMaximumConcurrentRequests
public int getMaximumConcurrentRequests()
-
setMaximumConcurrentRequests
public void setMaximumConcurrentRequests(int maximumConcurrentRequests)
-
getQueueSize
public int getQueueSize()
-
setQueueSize
public void setQueueSize(int queueSize)
-
-