Package | Description |
---|---|
org.javalite.activeweb |
ActiveWeb - the agile java framework
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
Route.getMethod() |
static HttpMethod |
HttpMethod.method(Annotation annotation)
Detects a method from annotation
|
static HttpMethod |
HttpMethod.valueOf(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 |
---|---|
protected List<HttpMethod> |
AppController.allowedActions(String actionMethodName) |
Modifier and Type | Method and Description |
---|---|
boolean |
AppController.actionSupportsHttpMethod(String actionMethodName,
HttpMethod httpMethod)
Checks if the action supports an HTTP method, according to its configuration.
|
protected boolean |
RouteBuilder.matches(String requestUri,
org.javalite.activeweb.ControllerPath controllerPath,
HttpMethod httpMethod)
Returns true if this route matches the request URI, otherwise returns false.
|
protected Route |
Router.recognize(String uri,
HttpMethod httpMethod)
This is a main method for recognizing a route to a controller; used when a request is received.
|
protected boolean |
AppController.standardActionSupportsHttpMethod(String actionMethodName,
HttpMethod httpMethod) |
Constructor and Description |
---|
Route(AppController controller,
String actionName,
HttpMethod method) |
Route(AppController controller,
String actionName,
String id,
HttpMethod method) |
Route(RouteBuilder builder,
HttpMethod method,
boolean custom) |
Copyright © 2019 JavaLite. All rights reserved.