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