public class AllowedMethodsHandler extends Object implements HttpHandler
Constructor and Description |
---|
AllowedMethodsHandler(HttpHandler next,
HttpString... allowedMethods) |
AllowedMethodsHandler(HttpHandler next,
Set<HttpString> allowedMethods) |
public AllowedMethodsHandler(HttpHandler next, Set<HttpString> allowedMethods)
public AllowedMethodsHandler(HttpHandler next, HttpString... allowedMethods)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.