public final class BlockingHandler extends Object implements HttpHandler
HttpHandler that initiates a blocking request. If the thread is currently running
 in the io thread it will be dispatched.| Modifier and Type | Class and Description | 
|---|---|
static class  | 
BlockingHandler.Builder  | 
| Constructor and Description | 
|---|
BlockingHandler()  | 
BlockingHandler(HttpHandler handler)  | 
| Modifier and Type | Method and Description | 
|---|---|
HttpHandler | 
getHandler()  | 
void | 
handleRequest(HttpServerExchange exchange)
Handle the request. 
 | 
BlockingHandler | 
setRootHandler(HttpHandler rootHandler)  | 
public BlockingHandler(HttpHandler handler)
public BlockingHandler()
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionpublic HttpHandler getHandler()
public BlockingHandler setRootHandler(HttpHandler rootHandler)
Copyright © 2017 JBoss by Red Hat. All rights reserved.