Enum EUserPortalGeneralView
- All Implemented Interfaces:
IAnyUserPortalRoute, IUserPortalRoute<IRoutingContext>, Serializable, Comparable<EUserPortalGeneralView>
public enum EUserPortalGeneralView
extends Enum<EUserPortalGeneralView>
implements IUserPortalRoute<IRoutingContext>
Generic views for the user portal that do not require any specific context.
- Since:
- 8.2.0
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionintThe default HTTP status code to return.id()Gets the ID of this route.org.ocpsoft.rewrite.servlet.config.HttpConfigurationProviderGets the configurator for the configuring rewrite rules for this route.Gets the URL handler for this route.static EUserPortalGeneralViewReturns the enum constant of this type with the specified name.static EUserPortalGeneralView[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ERROR_GENERAL
-
ERROR_NOT_FOUND
-
ERROR_ACCESS_DENIED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
defaultStatusCode
public int defaultStatusCode()Description copied from interface:IAnyUserPortalRouteThe default HTTP status code to return. Defaults to 200.- Specified by:
defaultStatusCodein interfaceIAnyUserPortalRoute- Returns:
- The default HTTP status code.
-
id
Description copied from interface:IAnyUserPortalRouteGets the ID of this route.- Specified by:
idin interfaceIAnyUserPortalRoute- Returns:
- The ID.
-
rewriteConfigurator
public org.ocpsoft.rewrite.servlet.config.HttpConfigurationProvider rewriteConfigurator()Description copied from interface:IAnyUserPortalRouteGets the configurator for the configuring rewrite rules for this route.- Specified by:
rewriteConfiguratorin interfaceIAnyUserPortalRoute- Returns:
- The rewrite configurator.
-
urlHandler
Description copied from interface:IAnyUserPortalRouteGets the URL handler for this route.- Specified by:
urlHandlerin interfaceIAnyUserPortalRoute- Specified by:
urlHandlerin interfaceIUserPortalRoute<IRoutingContext>- Returns:
- The URL handler.
-