Class RequestOptions.Builder
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.driver.RequestOptions.Builder
 
- 
- Enclosing class:
- RequestOptions
 
 public static final class RequestOptions.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestOptions.BuilderaddAlias(String aliasName, String actualName)The aliases to set on the request.RequestOptions.BuilderaddParameter(String name, Object value)The parameters to pass on the request.RequestOptions.BuilderbatchSize(int batchSize)The per client request override for the client and server configuredresultIterationBatchSize.RequestOptionscreate()RequestOptions.Builderlanguage(String language)Sets the language identifier to be sent on the request.RequestOptions.BuilderoverrideRequestId(UUID overrideRequestId)Overrides the identifier to be sent on the request.RequestOptions.Buildertimeout(long timeout)The per client request override in milliseconds for the server configuredevaluationTimeout.RequestOptions.BuilderuserAgent(String userAgent)Sets the userAgent identifier to be sent on the request.
 
- 
- 
- 
Method Detail- 
addAliaspublic RequestOptions.Builder addAlias(String aliasName, String actualName) The aliases to set on the request.
 - 
addParameterpublic RequestOptions.Builder addParameter(String name, Object value) The parameters to pass on the request.
 - 
overrideRequestIdpublic RequestOptions.Builder overrideRequestId(UUID overrideRequestId) Overrides the identifier to be sent on the request.
 - 
batchSizepublic RequestOptions.Builder batchSize(int batchSize) The per client request override for the client and server configuredresultIterationBatchSize. If this value is not set, then the configuration for theClusteris used unless theRequestMessageis configured completely by the user.
 - 
timeoutpublic RequestOptions.Builder timeout(long timeout) The per client request override in milliseconds for the server configuredevaluationTimeout. If this value is not set, then the configuration for the server is used.
 - 
userAgentpublic RequestOptions.Builder userAgent(String userAgent) Sets the userAgent identifier to be sent on the request.
 - 
languagepublic RequestOptions.Builder language(String language) Sets the language identifier to be sent on the request.
 - 
createpublic RequestOptions create() 
 
- 
 
-