public interface ServiceRequestBuilder
ServiceRequest
Modifier and Type | Method and Description |
---|---|
ServiceRequest |
build()
Builds the ServiceRequest.
|
ServiceRequestBuilder |
withAttributes(Map<String,Object> attributesMap)
Adds the attributes map to the ServiceRequest being built.
|
ServiceRequestBuilder |
withAuthorizationToken(String authorizationToken)
Adds the Authorization Token to the ServiceRequest.
|
ServiceRequestBuilder |
withDCRRequest(DataControllerRequest request)
Adds the request info to the ServiceRequest being built.
|
ServiceRequestBuilder |
withHeaders(Map<String,Object> headerMap)
Adds the header map to the ServiceRequest being built.
|
ServiceRequestBuilder |
withInputs(Map<String,Object> inputMap)
Adds the input map to the ServiceRequest being built.
|
ServiceRequestBuilder |
withSessionMap(Map<String,Object> sessionMap)
Adds the Map attributes to the ServiceRequest.
|
ServiceRequestBuilder withDCRRequest(DataControllerRequest request)
request
- The requestServiceRequestBuilder withInputs(Map<String,Object> inputMap)
inputMap
- The input mapServiceRequestBuilder withHeaders(Map<String,Object> headerMap)
headerMap
- The header mapServiceRequestBuilder withAttributes(Map<String,Object> attributesMap)
attributesMap
- The attributes mapServiceRequestBuilder withAuthorizationToken(String authorizationToken)
authorizationToken
- The Authorization Token.ServiceRequestBuilder withSessionMap(Map<String,Object> sessionMap)
sessionMap
- of key value pairsServiceRequest build()
Copyright © 2019. All rights reserved.