Class CommonBuilder<T>
java.lang.Object
com.atlassian.httpclient.apache.httpcomponents.CommonBuilder<T>
- All Implemented Interfaces:
com.atlassian.httpclient.api.Common<CommonBuilder<T>>
public class CommonBuilder<T>
extends Object
implements com.atlassian.httpclient.api.Common<CommonBuilder<T>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetContentCharset
(String contentCharset) setContentType
(String contentType) setEntityStream
(InputStream entityStream) setEntityStream
(InputStream entityStream, String charset) setHeaders
(Map<String, String> headers)
-
Constructor Details
-
CommonBuilder
public CommonBuilder()
-
-
Method Details
-
setHeader
- Specified by:
setHeader
in interfacecom.atlassian.httpclient.api.Common<T>
-
setHeaders
- Specified by:
setHeaders
in interfacecom.atlassian.httpclient.api.Common<T>
-
setEntity
- Specified by:
setEntity
in interfacecom.atlassian.httpclient.api.Common<T>
-
setEntityStream
- Specified by:
setEntityStream
in interfacecom.atlassian.httpclient.api.Common<T>
-
setContentCharset
- Specified by:
setContentCharset
in interfacecom.atlassian.httpclient.api.Common<T>
-
setContentType
- Specified by:
setContentType
in interfacecom.atlassian.httpclient.api.Common<T>
-
setEntityStream
- Specified by:
setEntityStream
in interfacecom.atlassian.httpclient.api.Common<T>
-
getEntityStream
-
getHeaders
-