Package com.avoka.tm.http
Class HttpRequest.FileParam
- java.lang.Object
-
- com.avoka.tm.http.HttpRequest.FileParam
-
- Enclosing class:
- HttpRequest
public static class HttpRequest.FileParam extends Object
Provides a multi-part FileParam.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Indicates whether some other object is "equal to" this one.int
hashCode()
Returns a hash code value for the object.String
toString()
-
-
-
Field Detail
-
fileData
public final byte[] fileData
File Data.
-
fileName
public final String fileName
File Name.
-
-
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 'fileName' and 'fileData' 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 'fileName' and 'fileData' with the help ofEqualsBuilder
in order to return 'true'
-
-