Package com.avoka.tm.http
Class HttpRequest.Param
- java.lang.Object
-
- com.avoka.tm.http.HttpRequest.Param
-
- Enclosing class:
- HttpRequest
public static class HttpRequest.Param extends Object
Provides a multi-part Param.- Since:
- 5.0.1
-
-
Field Summary
Fields Modifier and Type Field Description org.apache.http.entity.ContentTypecontentTypeParam Content Type.StringvalueParam Value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Indicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for the object.StringtoString()
-
-
-
Field Detail
-
value
public final String value
Param Value.
-
contentType
public final org.apache.http.entity.ContentType contentType
Param Content Type.
-
-
Method Detail
-
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
public boolean equals(Object obj)
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 ofEqualsBuilderin order to return 'true'
-
-