Uses of Interface
org.forgerock.json.resource.Request
-
Packages that use Request Package Description org.forgerock.json.resource Classes and interfaces for core types including connections, request handlers, resources, and their exceptions.org.forgerock.selfservice.core This package contains the core implementation for the anonymous process service. -
-
Uses of Request in org.forgerock.json.resource
Subinterfaces of Request in org.forgerock.json.resource Modifier and Type Interface Description interfaceActionRequestAn implementation specific action, or operation, upon a JSON resource.interfaceCreateRequestA request to create a new JSON resource.interfaceDeleteRequestA request to delete a JSON resource.interfacePatchRequestA request to update a JSON resource by applying a set of changes to its existing content.interfaceQueryRequestA request to search for all JSON resources matching a user specified set of criteria.interfaceReadRequestA request to read a single identified JSON resource.interfaceUpdateRequestA request to update a JSON resource by replacing its existing content with new content.Methods in org.forgerock.json.resource that return Request Modifier and Type Method Description RequestRequest. addField(String... fields)Adds one or more fields which should be included with each JSON resource returned by this request.RequestRequest. addField(JsonPointer... fields)Adds one or more fields which should be included with each JSON resource returned by this request.static RequestRequests. copyOfApiRequest(Request request)Returns a copy of the provided api request.static RequestRequests. newApiRequest(ResourcePath path)Returns a new API request with the provided path.RequestRequest. setAdditionalParameter(String name, String value)Sets an additional parameter which should be used to control the behavior of this action request.RequestRequest. setPreferredLocales(PreferredLocales preferredLocales)Set the locale preference for the request.RequestRequest. setResourcePath(String path)Sets the non-nullpath of the JSON resource to which this request should be targeted.RequestRequest. setResourcePath(ResourcePath path)Sets the non-nullpath of the JSON resource to which this request should be targeted.RequestRequest. setResourceVersion(Version resourceVersion)Sets the requested API version of the resource.Methods in org.forgerock.json.resource that return types with arguments of type Request Modifier and Type Method Description RouteMatcher<Request>Router. addRoute(RoutingMode mode, Router.UriTemplate uriTemplate, RequestHandler handler)Adds a new route to this router for the provided request handler.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.RouteMatcher<Request>Router. addRoute(Router.UriTemplate uriTemplate, CollectionResourceProvider provider)Adds a new route to this router for the provided collection resource provider.RouteMatcher<Request>Router. addRoute(Router.UriTemplate uriTemplate, SingletonResourceProvider provider)Adds a new route to this router for the provided singleton resource provider.protected Pair<RouteMatcher<Request>,RequestHandler>Router. getSelfApiHandler()static RouteMatcher<Request>RouteMatchers. requestResourceApiVersionMatcher(Version version)Creates aRouteMatcherinstance that matches the request resource API version with the provided version.static RouteMatcher<Request>RouteMatchers. requestUriMatcher(RoutingMode mode, String template)Creates aRouteMatcherinstance that matchesRequests with the provided mode and template.protected RouteMatcher<Request>Router. uriMatcher(RoutingMode mode, String pattern)Methods in org.forgerock.json.resource with parameters of type Request Modifier and Type Method Description static RequestRequests. copyOfApiRequest(Request request)Returns a copy of the provided api request.ApiDescriptionAbstractConnectionWrapper. handleApiRequest(Context context, Request request)ApiDescriptionDescribedSyncRequestHandlerAdapter. handleApiRequest(Context context, Request request)ApiDescriptionFilterChain. handleApiRequest(Context context, Request request)ApiDescriptionRouter. handleApiRequest(Context context, Request request)booleanFilterCondition. matches(Context context, Request request)Returnstrueif the conditional filter should be invoked, orfalseif processing should continue directly to the next filter in the filter chain.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.Constructor parameters in org.forgerock.json.resource with type arguments of type Request Constructor Description Router(AbstractRouter<Router,Request,RequestHandler,ApiDescription> router)Creates a new router containing the same routes and default route as the provided router. -
Uses of Request in org.forgerock.selfservice.core
Methods in org.forgerock.selfservice.core that return Request Modifier and Type Method Description RequestProcessContext. getRequest()Gets the original request.
-