Class InputStreamBody
java.lang.Object
com.atlassian.oai.validator.model.InputStreamBody
- All Implemented Interfaces:
Body
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InputStreamBody
-
-
Method Details
-
hasBody
public boolean hasBody() -
toJsonNode
- Specified by:
toJsonNodein interfaceBody- Returns:
- the bodies content as
JsonNode - Throws:
IOException- in case the transformation fails
-
toString
- Specified by:
toStringin interfaceBody- Parameters:
encoding- theCharsetthe bodies content shall be converted to- Returns:
- the bodies content as
Stringconverted with the specified encoding - Throws:
IOException- in case the conversion fails
-