public static final class SpincastConstants.RequestScopedVariables extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EXCEPTION
If an "Exception" route is run, this variable
will contain the exception that occured.
|
static String |
FORWARD_ROUTE_EXCEPTION_MESSAGE
If a request is forwaded, this is going to be the forwarding message (taken from the
ForwardRouteException exception)
The associated value is of type: String. |
static String |
FORWARD_ROUTE_URL
When a route is forwarded, this is the new URL.
|
static String |
IS_EXCEPTION_HANDLING
If an "Exception" route is run, this variable will be set to
true. |
static String |
IS_NOT_FOUND_ROUTE
If a "Not Found" route is run, this variable will be set
and its value will be
true. |
static String |
NOT_FOUND_PUBLIC_MESSAGE
If a "Not Found" route is run because of a
NotFoundException
has being thrown, the exception message, if any, is public and will be added
using this variable. |
static String |
ORIGINAL_ROUTING_RESULT
This is going to be set to the original routing result, if an "Exception"
route or a "Not Found" routing process is started.
|
static String |
ROUTE_FORWARDED_NBR
The number of time a request has been forwarded.
|
static String |
ROUTE_HANDLER_MATCH
The current route handler match.
|
static String |
ROUTING_RESULT
The current routing result.
|
| Constructor and Description |
|---|
RequestScopedVariables() |
public static final String ROUTING_RESULT
public static final String ROUTE_HANDLER_MATCH
public static final String IS_NOT_FOUND_ROUTE
true.
The associated value is of type: boolean.public static final String NOT_FOUND_PUBLIC_MESSAGE
NotFoundException
has being thrown, the exception message, if any, is public and will be added
using this variable.
The associated value is of type: String.public static final String IS_EXCEPTION_HANDLING
true.
The associated value is of type: boolean.public static final String EXCEPTION
public static final String ORIGINAL_ROUTING_RESULT
public static final String FORWARD_ROUTE_URL
public static final String FORWARD_ROUTE_EXCEPTION_MESSAGE
ForwardRouteException exception)
The associated value is of type: String.public static final String ROUTE_FORWARDED_NBR
Copyright © 2018. All rights reserved.