Interface Body
- All Known Implementing Classes:
ByteArrayBody,InputStreamBody,StringBody
public interface Body
-
Method Summary
-
Method Details
-
hasBody
boolean hasBody()- Returns:
trueif the bodies content contains at least one sign, otherwisefalse
-
toJsonNode
- Returns:
- the bodies content as
JsonNode - Throws:
IOException- in case the transformation fails
-
toString
- 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
-