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 |
|---|---|
Set<HttpString> | getAllowedMethods() |
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 exchangeExceptionpublic Set<HttpString> getAllowedMethods()
Copyright © 2020 JBoss by Red Hat. All rights reserved.