@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)
MethodNotAllowedHandler
deny
in interface MethodNotAllowedHandler
Copyright © 2014 Caelum. All rights reserved.