Class UriInfos
java.lang.Object
de.captaingoldfish.scim.sdk.server.utils.UriInfos
author Pascal Knueppel
created at: 08.11.2019 - 22:28
represents the parsed uri infos of a request
created at: 08.11.2019 - 22:28
represents the parsed uri infos of a request
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic UriInfos.UriInfosBuilderbuilder()the base uri to this SCIM endpointcontains the http request headers from the client that must be validatedthe http method that was used for this requestthe get parameters or the uristatic UriInfosgetRequestUrlInfos(ResourceTypeFactory resourceTypeFactory, String requestUrl, HttpMethod httpMethod, Map<String, String> httpHeaders) resolves the request uri to individual information's that are necessary to resolve the requestthe resource endpoint reference e.g.the id of the resource for PUT, DELETE, PATCH and GET requeststhe resource type to which the url pointsbooleanif the given request is a query POST requestvoidsetResourceId(String resourceId) the id of the resource for PUT, DELETE, PATCH and GET requeststoString()
-
Method Details
-
getRequestUrlInfos
public static UriInfos getRequestUrlInfos(ResourceTypeFactory resourceTypeFactory, String requestUrl, HttpMethod httpMethod, Map<String, String> httpHeaders) resolves the request uri to individual information's that are necessary to resolve the request- Parameters:
requestUrl- the fully qualified request urlhttpHeaders- the http request headers- Returns:
- the individual request information's
-
toString
-
builder
-
getResourceEndpoint
the resource endpoint reference e.g. "/Users" or "/Groups" -
isSearchRequest
public boolean isSearchRequest()if the given request is a query POST request -
getBaseUri
the base uri to this SCIM endpoint -
getQueryParameters
the get parameters or the uri -
getResourceType
the resource type to which the url points -
getHttpMethod
the http method that was used for this request -
getResourceId
the id of the resource for PUT, DELETE, PATCH and GET requests -
getHttpHeaders
contains the http request headers from the client that must be validated -
setResourceId
the id of the resource for PUT, DELETE, PATCH and GET requests
-