Uses of Class
org.forgerock.http.routing.Version
-
Packages that use Version Package Description org.forgerock.api ForgeRock API Descriptor models, builders, and utilities.org.forgerock.api.models ForgeRock API Descriptor models.org.forgerock.http Models and manages elements of the Hypertext Transfer Protocol.org.forgerock.http.header Processes HTTP message header fields.org.forgerock.http.routing Provides routing functionality for HTTP requests.org.forgerock.json.resource Classes and interfaces for core types including connections, request handlers, resources, and their exceptions.org.forgerock.selfservice.stages.reset This package contains a common reset password stage implementation.org.forgerock.selfservice.stages.user This package contains a common user related stage implementation. -
-
Uses of Version in org.forgerock.api
Methods in org.forgerock.api with parameters of type Version Modifier and Type Method Description ApiDescriptionCrestApiProducer. withVersion(ApiDescription api, Version version)Constructors in org.forgerock.api with parameters of type Version Constructor Description DuplicateDescriptionException(Version version)Construct a new exception for the given version with an unknown path.DuplicateDescriptionException(Version version, String path)Construct a new exception for the given path and version.DuplicateDescriptionException(Version version, String path, Throwable cause)Construct a new exception for the given path and version. -
Uses of Version in org.forgerock.api.models
Fields in org.forgerock.api.models declared as Version Modifier and Type Field Description static VersionVersionedPath. UNVERSIONEDVersion0.0represents null/empty, for when resource versions are not required by an API (e.g., OpenIDM).Methods in org.forgerock.api.models that return types with arguments of type Version Modifier and Type Method Description protected Map<Version,Resource>VersionedPath. getPaths()Gets aMapof versions toResources.Set<Version>VersionedPath. getVersions()Returns all resource-versions on this path.Methods in org.forgerock.api.models with parameters of type Version Modifier and Type Method Description ResourceVersionedPath. get(Version version)Gets theResourcefor a given version.VersionedPath.BuilderVersionedPath.Builder. put(Version version, Resource resource)Adds a resource-version. -
Uses of Version in org.forgerock.http
Methods in org.forgerock.http with parameters of type Version Modifier and Type Method Description DApiProducer. withVersion(D descriptor, Version version)Mutate the provided descriptor to add the specified version. -
Uses of Version in org.forgerock.http.header
Methods in org.forgerock.http.header that return Version Modifier and Type Method Description VersionAcceptApiVersionHeader. getProtocolVersion()Gets the acceptable protocol version.VersionContentApiVersionHeader. getProtocolVersion()Gets the protocol version of the content of the returned content.VersionAcceptApiVersionHeader. getResourceVersion()Gets the acceptable resource version.VersionContentApiVersionHeader. getResourceVersion()Gets the resource version of the returned content.Methods in org.forgerock.http.header with parameters of type Version Modifier and Type Method Description AcceptApiVersionHeaderAcceptApiVersionHeader. withDefaultProtocolVersion(Version version)Will set the accepted protocol version, if not provided in the Accept-API-Version header.AcceptApiVersionHeaderAcceptApiVersionHeader. withDefaultResourceVersion(Version version)Will set the accepted resource version, if not provided in the Accept-API-Version header.Constructors in org.forgerock.http.header with parameters of type Version Constructor Description AcceptApiVersionHeader(Version protocol, Version resource)Constructs a new header, initialized with the specified protocol and resource versions.ContentApiVersionHeader(Version protocolVersion, Version resourceVersion)Constructs a new header, initialized with the specified protocol and resource versions. -
Uses of Version in org.forgerock.http.routing
Methods in org.forgerock.http.routing that return Version Modifier and Type Method Description VersionApiVersionRouterContext. getProtocolVersion()Gets the protocol API version of the framework used to handle the request.VersionApiVersionRouterContext. getResourceVersion()Gets the API version of the resource that the request was routed to.static VersionVersion. version(int major)Creates a new version using the provided version information and a minor.static VersionVersion. version(int major, int minor)Creates a new version using the provided version information.static VersionVersion. version(String s)Parses the string argument as a version.Methods in org.forgerock.http.routing that return types with arguments of type Version Modifier and Type Method Description static RouteMatcher<Version>RouteMatchers. resourceApiVersionMatcher(Version version)Creates aRouteMatcherinstance that matches the request resource API version with the provided version.Methods in org.forgerock.http.routing with parameters of type Version Modifier and Type Method Description intVersion. compareTo(Version that)booleanVersion. isCompatibleWith(Version that)Returnsfalseif: the MAJOR version numbers are not the same.static RouteMatcher<Request>RouteMatchers. requestResourceApiVersionMatcher(Version version)Creates aRouteMatcherinstance that matches the request resource API version with the provided version.static RouteMatcher<Version>RouteMatchers. resourceApiVersionMatcher(Version version)Creates aRouteMatcherinstance that matches the request resource API version with the provided version.voidApiVersionRouterContext. setProtocolVersion(Version protocolVersion)Sets the protocol API version of the framework used to handle the request. -
Uses of Version in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return Version Modifier and Type Method Description VersionResourceException. getResourceApiVersion()VersionResponse. getResourceApiVersion()Gets the API version of the resource that the request was routed to.VersionActionRequest. getResourceVersion()VersionCreateRequest. getResourceVersion()VersionDeleteRequest. getResourceVersion()VersionPatchRequest. getResourceVersion()VersionQueryRequest. getResourceVersion()VersionReadRequest. getResourceVersion()VersionRequest. getResourceVersion()Gets the requested API version of the resource.VersionUpdateRequest. getResourceVersion()VersionResourceApiVersionSpecificationFilter.ResourcePathAndVersion. getVersion()Get theVersioncorresponding to theresourcePath.Methods in org.forgerock.json.resource that return types with arguments of type Version Modifier and Type Method Description Optional<Version>ResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecification. matchVersion(Request request)Optional<Version>ResourceApiVersionSpecificationFilter.VersionSpecification. matchVersion(Request request)Test the request to try to find a match based on version configuration.Methods in org.forgerock.json.resource with parameters of type Version Modifier and Type Method Description RouteMatcher<Request>Router. addRoute(Version version, CollectionResourceProvider provider)Adds a new route to this router for the provided collection resource provider.RouteMatcher<Request>Router. addRoute(Version version, RequestHandler handler)Adds a new route to this router for the provided request handler.RouteMatcher<Request>Router. addRoute(Version version, SingletonResourceProvider provider)Adds a new route to this router for the provided singleton resource provider.static RouteMatcher<Request>RouteMatchers. requestResourceApiVersionMatcher(Version version)Creates aRouteMatcherinstance that matches the request resource API version with the provided version.ResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecificationResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecification. setDefaultVersion(Version defaultVersion)Set a defaultVersionto use if no matching resource path found for request.voidResourceException. setResourceApiVersion(Version version)voidResponse. setResourceApiVersion(Version version)Sets the API version of the resource that the request was routed to.ActionRequestActionRequest. setResourceVersion(Version resourceVersion)CreateRequestCreateRequest. setResourceVersion(Version resourceVersion)DeleteRequestDeleteRequest. setResourceVersion(Version resourceVersion)PatchRequestPatchRequest. setResourceVersion(Version resourceVersion)QueryRequestQueryRequest. setResourceVersion(Version resourceVersion)ReadRequestReadRequest. setResourceVersion(Version resourceVersion)RequestRequest. setResourceVersion(Version resourceVersion)Sets the requested API version of the resource.UpdateRequestUpdateRequest. setResourceVersion(Version resourceVersion)Constructors in org.forgerock.json.resource with parameters of type Version Constructor Description ResourcePathAndVersion(ResourcePath resourcePath, Version version) -
Uses of Version in org.forgerock.selfservice.stages.reset
Methods in org.forgerock.selfservice.stages.reset that return Version Modifier and Type Method Description VersionResetStageConfig. getResourceVersion()Gets the Resource Version to use for the identity service.Methods in org.forgerock.selfservice.stages.reset with parameters of type Version Modifier and Type Method Description ResetStageConfigResetStageConfig. setResourceVersion(Version resourceVersion)Sets the Resource Version to use for the identity service. -
Uses of Version in org.forgerock.selfservice.stages.user
Methods in org.forgerock.selfservice.stages.user that return Version Modifier and Type Method Description VersionUserQueryConfig. getResourceVersion()Gets the resource version fields to be used when looking up the user.Methods in org.forgerock.selfservice.stages.user with parameters of type Version Modifier and Type Method Description UserQueryConfigUserQueryConfig. setResourceVersion(Version resourceVersion)Sets the resource version fields to be used when looking up the user.
-