@ApplicationScoped public class DefaultMethodNotAllowedHandler extends Object implements MethodNotAllowedHandler
| Constructor and Description |
|---|
DefaultMethodNotAllowedHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
deny(MutableRequest request,
MutableResponse response,
Set<HttpMethod> allowedMethods)
Denies current request due to method not allowed.
|
public void deny(MutableRequest request, MutableResponse response, Set<HttpMethod> allowedMethods)
MethodNotAllowedHandlerdeny in interface MethodNotAllowedHandlerCopyright © 2014 Caelum. All rights reserved.