Package | Description |
---|---|
org.forgerock.http.routing |
Provides routing functionality for HTTP requests.
|
Modifier and Type | Method and Description |
---|---|
DefaultVersionBehaviour |
ResourceApiVersionBehaviourManager.getDefaultVersionBehaviour()
Gets the default routing behaviour to use when the request does not
contain the Accept-API-Version header.
|
DefaultVersionBehaviour |
ApiVersionRouterContext.getDefaultVersionBehaviour()
Gets the default version behaviour if the request does not contain a
resource API version.
|
static DefaultVersionBehaviour |
DefaultVersionBehaviour.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultVersionBehaviour[] |
DefaultVersionBehaviour.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceApiVersionBehaviourManager.setDefaultVersionBehaviour(DefaultVersionBehaviour behaviour)
Sets the default routing behaviour to use when the request does not
contain the Accept-API-Version header.
|
Constructor and Description |
---|
ApiVersionRouterContext(Context parent,
DefaultVersionBehaviour defaultVersionBehaviour,
boolean warningEnabled)
Creates a new resource API version routing context having the provided
parent, default versioning behaviour and whether warnings will be
issued.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.