public class DisallowedMethodsHandler extends Object implements HttpHandler
Constructor and Description |
---|
DisallowedMethodsHandler(HttpHandler next,
HttpString... disallowedMethods) |
DisallowedMethodsHandler(HttpHandler next,
Set<HttpString> disallowedMethods) |
public DisallowedMethodsHandler(HttpHandler next, Set<HttpString> disallowedMethods)
public DisallowedMethodsHandler(HttpHandler next, HttpString... disallowedMethods)
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.