Class BulkBuilder.BulkRequestOperationCreator
- java.lang.Object
-
- de.captaingoldfish.scim.sdk.client.builder.BulkBuilder.BulkRequestOperationCreator
-
- Enclosing class:
- BulkBuilder
public static class BulkBuilder.BulkRequestOperationCreator extends Object
an additional build step class that allows to set the values of a bulk operation
-
-
Constructor Summary
Constructors Constructor Description BulkRequestOperationCreator(BulkBuilder bulkBuilder, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BulkBuilder.BulkRequestOperationCreatorbulkId(String bulkId)sets the bulkId for this operation.BulkBuilder.BulkRequestOperationCreatordata(com.fasterxml.jackson.databind.JsonNode data)sets the request body for this operation if any is requiredBulkBuilder.BulkRequestOperationCreatordata(String data)sets the request body for this operation if any is requiredBulkBuilder.BulkRequestOperationCreatormethod(HttpMethod method)sets the http method for this bulk operationBulkBuildernext()ServerResponse<BulkResponse>sendRequest()builds the operation and directly sends the request to the serverServerResponse<BulkResponse>sendRequest(Map<String,String> httpHeaders)builds the operation and directly sends the request to the serverServerResponse<BulkResponse>sendRequestWithMultiHeaders(Map<String,String[]> httpHeaders)builds the operation and directly sends the request to the serverBulkBuilder.BulkRequestOperationCreatorversion(ETag version)sets the etag version for this operation which may be used on update, path and delete requests
-
-
-
Constructor Detail
-
BulkRequestOperationCreator
public BulkRequestOperationCreator(BulkBuilder bulkBuilder, String path)
-
-
Method Detail
-
method
public BulkBuilder.BulkRequestOperationCreator method(HttpMethod method)
sets the http method for this bulk operation
-
bulkId
public BulkBuilder.BulkRequestOperationCreator bulkId(String bulkId)
sets the bulkId for this operation. Required if http method is post and optional in any other cases
-
data
public BulkBuilder.BulkRequestOperationCreator data(String data)
sets the request body for this operation if any is required
-
data
public BulkBuilder.BulkRequestOperationCreator data(com.fasterxml.jackson.databind.JsonNode data)
sets the request body for this operation if any is required
-
version
public BulkBuilder.BulkRequestOperationCreator version(ETag version)
sets the etag version for this operation which may be used on update, path and delete requests
-
next
public BulkBuilder next()
- Returns:
- builds the operation object and returns to the owning top level instance
-
sendRequest
public ServerResponse<BulkResponse> sendRequest()
builds the operation and directly sends the request to the server
-
sendRequest
public ServerResponse<BulkResponse> sendRequest(Map<String,String> httpHeaders)
builds the operation and directly sends the request to the server
-
sendRequestWithMultiHeaders
public ServerResponse<BulkResponse> sendRequestWithMultiHeaders(Map<String,String[]> httpHeaders)
builds the operation and directly sends the request to the server
-
-