public class BodyRequestClientBuilder extends RequestClientBuilder<BodyRequestClientBuilder,BodyRequestBuilder> implements BodyRequestBuilderInterface<BodyRequestClientBuilder>
Modifier and Type | Method and Description |
---|---|
BodyRequestClientBuilder |
data(BodyElement element)
Set http data from warpper object for Post/Put request
|
BodyRequestClientBuilder |
data(byte[] data)
Set http body data for Post/Put request
|
BodyRequestClientBuilder |
data(File file)
Set http data from file for Post/Put request
|
BodyRequestClientBuilder |
data(InputStream in)
Set http data from inputStream for Post/Put request
|
BodyRequestClientBuilder |
data(String body)
Set http data with text.
|
protected ClientBuilder |
findClientBuilder() |
protected HttpRequestBuilder<BodyRequestBuilder> |
findRequsetBuilder() |
protected BodyRequestClientBuilder |
self() |
allowRedirects, auth, auth, auth, auth, charset, charset, compress, connectTimeout, cookie, cookie, cookies, execute, header, headers, intercept, intercept, param, params, proxy, proxy, proxy, socketTimeout, timeout, timeToLive, userAgent, verify
protected BodyRequestClientBuilder self()
self
in class RequestClientBuilder<BodyRequestClientBuilder,BodyRequestBuilder>
protected ClientBuilder findClientBuilder()
findClientBuilder
in class RequestClientBuilder<BodyRequestClientBuilder,BodyRequestBuilder>
protected HttpRequestBuilder<BodyRequestBuilder> findRequsetBuilder()
findRequsetBuilder
in class RequestClientBuilder<BodyRequestClientBuilder,BodyRequestBuilder>
public BodyRequestClientBuilder data(byte[] data)
BodyRequestBuilderInterface
data
in interface BodyRequestBuilderInterface<BodyRequestClientBuilder>
data
- the data to postpublic BodyRequestClientBuilder data(InputStream in)
BodyRequestBuilderInterface
data
in interface BodyRequestBuilderInterface<BodyRequestClientBuilder>
public BodyRequestClientBuilder data(String body)
BodyRequestBuilderInterface
data
in interface BodyRequestBuilderInterface<BodyRequestClientBuilder>
public BodyRequestClientBuilder data(File file)
BodyRequestBuilderInterface
data
in interface BodyRequestBuilderInterface<BodyRequestClientBuilder>
public BodyRequestClientBuilder data(BodyElement element)
BodyRequestBuilderInterface
data
in interface BodyRequestBuilderInterface<BodyRequestClientBuilder>
Copyright © 2006–2018 TinyGroup. All rights reserved.