@ApplicationScoped public class DefaultMethodNotAllowedHandler extends java.lang.Object implements MethodNotAllowedHandler
| Constructor and Description |
|---|
DefaultMethodNotAllowedHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
deny(RequestInfo request,
java.util.Set<HttpMethod> allowedMethods)
Denies current request due to method not allowed.
|
public void deny(RequestInfo request, java.util.Set<HttpMethod> allowedMethods)
MethodNotAllowedHandlerdeny in interface MethodNotAllowedHandlerCopyright © 2013 Caelum. All Rights Reserved.