Class ContentTypeHttpRequestParameter

java.lang.Object
de.xima.fc.http.params.HttpRequestParameter
de.xima.fc.http.params.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:
  • Constructor Details

    • 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 Details

    • getContentType

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