Class Request.Copier
java.lang.Object
com.soklet.Request.Copier
- Enclosing class:
Request
Builder used to copy instances of
Request via Request.copy().
This class is intended for use by a single thread.
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionbody(byte[] body) contentTooLarge(Boolean contentTooLarge) finish()httpMethod(HttpMethod httpMethod) queryParameters(Map<String, Set<String>> queryParameters)
-
Method Details
-
httpMethod
-
path
-
id
-
queryParameters
-
queryParameters
@Nonnull public Request.Copier queryParameters(@Nonnull Consumer<Map<String, Set<String>>> queryParametersConsumer) -
headers
-
headers
-
body
-
contentTooLarge
-
finish
-