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 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.