public class AllowedMethodsHandler extends Object implements HttpHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
AllowedMethodsHandler.Builder |
| Constructor and Description |
|---|
AllowedMethodsHandler(HttpHandler next,
HttpString... allowedMethods) |
AllowedMethodsHandler(HttpHandler next,
Set<HttpString> allowedMethods) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleRequest(HttpServerExchange exchange)
Handle the request.
|
public AllowedMethodsHandler(HttpHandler next, Set<HttpString> allowedMethods)
public AllowedMethodsHandler(HttpHandler next, HttpString... allowedMethods)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.