Class MetaConfigLoaderBuilder
java.lang.Object
de.captaingoldfish.scim.sdk.client.builder.RequestBuilder<MetaConfiguration>
de.captaingoldfish.scim.sdk.client.builder.MetaConfigLoaderBuilder
this class can be used to load the meta-configuration from the ServiceProvider
- Since:
- 14.10.2023
- Author:
- Pascal Knueppel
-
Constructor Summary
ConstructorsConstructorDescriptionMetaConfigLoaderBuilder(String baseUrl, ScimHttpClient scimHttpClient, MetaConfigRequestDetails metaConfigLoaderDetails) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.client.methods.HttpUriRequestnever calledprotected booleanisExpectedResponseCode(int httpStatus) tells this abstract class if the http status from the server is the expected success statusloads the details from the meta-endpoints and gathers these details in a single objectMethods inherited from class de.captaingoldfish.scim.sdk.client.builder.RequestBuilder
addHeaderToRequest, getBaseUrl, getEndpoint, getRequiredHttpHeaders, getRequiredResponseHeaders, getResource, getResponseEntityType, getScimHttpClient, isResponseParseable, sendRequest, sendRequestWithMultiHeaders, setExpectedResponseHeaders, setResource, setResource, toResponse
-
Constructor Details
-
MetaConfigLoaderBuilder
public MetaConfigLoaderBuilder(String baseUrl, ScimHttpClient scimHttpClient, MetaConfigRequestDetails metaConfigLoaderDetails)
-
-
Method Details
-
isExpectedResponseCode
protected boolean isExpectedResponseCode(int httpStatus) tells this abstract class if the http status from the server is the expected success status- Specified by:
isExpectedResponseCodein classRequestBuilder<MetaConfiguration>- Parameters:
httpStatus- the http status from the server- Returns:
- true if the response status shows success
-
getHttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getHttpUriRequest()never called- Specified by:
getHttpUriRequestin classRequestBuilder<MetaConfiguration>
-
sendRequest
loads the details from the meta-endpoints and gathers these details in a single object- Overrides:
sendRequestin classRequestBuilder<MetaConfiguration>- Returns:
- the
MetaConfigurationfrom the called SCIM provider
-