@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)
MethodNotAllowedHandler
deny
in interface MethodNotAllowedHandler
Copyright © 2013 Caelum. All Rights Reserved.