Package de.xima.fc.http.params
Class ContentTypeHttpRequestParameter
java.lang.Object
de.xima.fc.http.params.HttpRequestParameter
de.xima.fc.http.params.ContentTypeHttpRequestParameter
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionContentTypeHttpRequestParameter
(String name, String value, org.apache.http.entity.ContentType contentType) Creates a new immutable HTTP request parameter. -
Method Summary
Methods inherited from class de.xima.fc.http.params.HttpRequestParameter
equals, getName, getValue, hashCode
-
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.
-