Package de.xima.fc.http.params
Interface IContentTypeParameterBuilder<Self extends IContentTypeParameterBuilder<Self>>
-
- Type Parameters:
Self
- Type of the builder returned by the build methods.
- All Superinterfaces:
IHttpBodyBuilder
,IParameterBuilder<Self>
- All Known Subinterfaces:
IMultipartBodyBuilder
public interface IContentTypeParameterBuilder<Self extends IContentTypeParameterBuilder<Self>> extends IParameterBuilder<Self>
A builder for an HTTP request body that can have parameters with different content types, such as a multipart body.- Since:
- 7.0.3
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Self
addParameter(String name, String value, org.apache.http.entity.ContentType contentType)
Adds a parameter to this builder.-
Methods inherited from interface de.xima.fc.http.params.IHttpBodyBuilder
build
-
Methods inherited from interface de.xima.fc.http.params.IParameterBuilder
addParameter, addParameter, addParameters
-
-
-
-
Method Detail
-
addParameter
Self addParameter(String name, String value, org.apache.http.entity.ContentType contentType)
Adds a parameter to this builder.- Parameters:
name
- Name of the parameter to add.value
- Value of the parameter to add.contentType
- Content type of the parameter to add.- Returns:
- This builder for chaining method calls.
-
-