Package | Description |
---|---|
br.com.caelum.vraptor.core | |
br.com.caelum.vraptor.http.route | |
br.com.caelum.vraptor.resource | |
br.com.caelum.vraptor.util.collections | |
br.com.caelum.vraptor.view |
Modifier and Type | Method and Description |
---|---|
java.util.EnumSet<HttpMethod> |
Routes.allowedMethodsFor(java.lang.String uri)
Returns an enumset of allowed methods for this specific uri.
|
java.util.EnumSet<HttpMethod> |
DefaultRoutes.allowedMethodsFor(java.lang.String uri) |
Modifier and Type | Method and Description |
---|---|
java.util.EnumSet<HttpMethod> |
NoStrategy.allowedMethods() |
java.util.EnumSet<HttpMethod> |
FixedMethodStrategy.allowedMethods() |
java.util.EnumSet<HttpMethod> |
Route.allowedMethods() |
java.util.EnumSet<HttpMethod> |
DefaultRouter.allowedMethodsFor(java.lang.String uri) |
java.util.EnumSet<HttpMethod> |
Router.allowedMethodsFor(java.lang.String uri) |
java.util.Set<HttpMethod> |
MethodNotAllowedException.getAllowedMethods() |
Modifier and Type | Method and Description |
---|---|
ResourceMethod |
DefaultRouter.parse(java.lang.String uri,
HttpMethod method,
MutableRequest request) |
ResourceMethod |
Router.parse(java.lang.String uri,
HttpMethod method,
MutableRequest request)
Find a
ResourceMethod that can handle this request. |
DefaultRouteBuilder |
DefaultRouteBuilder.with(HttpMethod method)
Accepts also this http method request.
|
RouteBuilder |
RouteBuilder.with(HttpMethod method)
Accepts also this http method request.
|
Modifier and Type | Method and Description |
---|---|
DefaultRouteBuilder |
DefaultRouteBuilder.with(java.util.Set<HttpMethod> methods) |
RouteBuilder |
RouteBuilder.with(java.util.Set<HttpMethod> methods)
Accepts also all given http methods.
|
Constructor and Description |
---|
FixedMethodStrategy(java.lang.String originalUri,
ResourceMethod method,
java.util.Set<HttpMethod> methods,
ParametersControl control,
int priority,
java.lang.String[] parameterNames) |
MethodNotAllowedException(java.util.Set<HttpMethod> allowed,
java.lang.String requested) |
Modifier and Type | Method and Description |
---|---|
static HttpMethod |
HttpMethod.of(javax.servlet.http.HttpServletRequest request) |
static HttpMethod |
HttpMethod.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultMethodNotAllowedHandler.deny(RequestInfo request,
java.util.Set<HttpMethod> allowedMethods) |
void |
MethodNotAllowedHandler.deny(RequestInfo request,
java.util.Set<HttpMethod> allowedMethods)
Denies current request due to method not allowed.
|
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<Route> |
Filters.allow(HttpMethod method) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultStatus.methodNotAllowed(java.util.EnumSet<HttpMethod> allowedMethods) |
void |
Status.methodNotAllowed(java.util.EnumSet<HttpMethod> allowedMethods) |
Copyright © 2013 Caelum. All Rights Reserved.