Package org.mockserver.model
Class Body<T>
-
- Direct Known Subclasses:
BodyWithContentType
,JsonPathBody
,JsonSchemaBody
,RegexBody
,XmlSchemaBody
,XPathBody
public abstract class Body<T> extends Not
- Author:
- jamesdbloom
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Body.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Charset
getCharset(Charset defaultIfNotSet)
String
getContentType()
byte[]
getRawBytes()
Body.Type
getType()
abstract T
getValue()
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key
-
-