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:
setHeaderin interfacecom.atlassian.httpclient.api.Common<T>
-
setHeaders
- Specified by:
setHeadersin interfacecom.atlassian.httpclient.api.Common<T>
-
setEntity
- Specified by:
setEntityin interfacecom.atlassian.httpclient.api.Common<T>
-
setEntityStream
- Specified by:
setEntityStreamin interfacecom.atlassian.httpclient.api.Common<T>
-
setContentCharset
- Specified by:
setContentCharsetin interfacecom.atlassian.httpclient.api.Common<T>
-
setContentType
- Specified by:
setContentTypein interfacecom.atlassian.httpclient.api.Common<T>
-
setEntityStream
- Specified by:
setEntityStreamin interfacecom.atlassian.httpclient.api.Common<T>
-
getEntityStream
-
getHeaders
-