Class GetBuilder<T extends ResourceNode>

    • Constructor Detail

      • GetBuilder

        public GetBuilder​(String fullUrl,
                          Class<T> responseEntityType,
                          ScimHttpClient scimHttpClient)
        if the resource should be retrieved by using the fully qualified url
        Parameters:
        fullUrl - the fully qualified url to the required resource
        responseEntityType - the type of the resource that should be returned
        scimHttpClient - the http client instance
    • Method Detail

      • isExpectedResponseCode

        protected boolean isExpectedResponseCode​(int httpStatus)
        tells this abstract class if the http status from the server is the expected success status
        Specified by:
        isExpectedResponseCode in class RequestBuilder<T extends ResourceNode>
        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()
        Description copied from class: RequestBuilder
        builds the request for the server
        Specified by:
        getHttpUriRequest in class RequestBuilder<T extends ResourceNode>
        Returns:
        a get request to the desired resource