Package io.undertow.server.handlers
Class BlockingHandler
java.lang.Object
io.undertow.server.handlers.BlockingHandler
- All Implemented Interfaces:
HttpHandler
A
HttpHandler
that initiates a blocking request. If the thread is currently running
in the io thread it will be dispatched.- Author:
- Stuart Douglas, David M. Lloyd
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleRequest
(HttpServerExchange exchange) Handle the request.setRootHandler
(HttpHandler rootHandler) toString()
-
Constructor Details
-
BlockingHandler
-
BlockingHandler
public BlockingHandler()
-
-
Method Details
-
handleRequest
Description copied from interface:HttpHandler
Handle the request.- Specified by:
handleRequest
in interfaceHttpHandler
- Parameters:
exchange
- the HTTP request/response exchange- Throws:
Exception
-
getHandler
-
setRootHandler
-
toString
-