Package org.mockserver.model
Class FileBody
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.mockserver.model.BodyWithContentType
contentType -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.mockserver.model.BodyWithContentType
getCharset, getContentTypeMethods inherited from class org.mockserver.model.Body
getOptional, getType, withOptionalMethods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
Constructor Details
-
FileBody
-
FileBody
-
-
Method Details
-
file
-
file
-
getFilePath
-
getValue
-
getRawBytes
public byte[] getRawBytes()- Overrides:
getRawBytesin classBody<String>
-
toString
- Overrides:
toStringin classObjectWithJsonToString
-
equals
- Overrides:
equalsin classBodyWithContentType<String>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBodyWithContentType<String>
-