Class ContentTypeHttpRequestParameter

  • All Implemented Interfaces:
    Serializable

    @Immutable
    public final class ContentTypeHttpRequestParameter
    extends HttpRequestParameter
    An HTTP request parameter with a name, value, and content type that can be added to a request.
    Since:
    7.0.3
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • ContentTypeHttpRequestParameter

        public ContentTypeHttpRequestParameter​(String name,
                                               String value,
                                               org.apache.http.entity.ContentType contentType)
        Creates a new immutable HTTP request parameter.
        Parameters:
        name - Name of the HTTP request parameter.
        value - Value of the HTTP request parameter.
        contentType - Content type of the HTTP request parameter.
    • Method Detail

      • getContentType

        public org.apache.http.entity.ContentType getContentType()
        Returns:
        The content type of this parameter.