Package com.avoka.tm.http
Class HttpRequest.Param
java.lang.Object
com.avoka.tm.http.HttpRequest.Param
- Enclosing class:
HttpRequest
Provides a multi-part Param.
- Since:
- 5.0.1
-
Field Summary
Modifier and TypeFieldDescriptionfinal org.apache.http.entity.ContentType
Param Content Type.final String
Param Value. -
Method Summary
-
Field Details
-
value
Param Value. -
contentType
public final org.apache.http.entity.ContentType contentTypeParam Content Type.
-
-
Method Details
-
toString
-
hashCode
public int hashCode()Returns a hash code value for the object. This method is supported for the benefit of hash tables such as those provided byHashMap
. Implementation calculates hash code based on 'value' and 'contentType' fields with the help ofHashCodeBuilder
-
equals
Indicates whether some other object is "equal to" this one. Implementation relies that the object is of same type and compares 'value' and 'contentType.toString()' with the help ofEqualsBuilder
in order to return 'true'
-