Class Body
- java.lang.Object
-
- org.springframework.cloud.contract.spec.internal.DslProperty
-
- org.springframework.cloud.contract.spec.internal.Body
-
- All Implemented Interfaces:
Serializable
public class Body extends DslProperty
Represents a body of a request / response or a message.- Since:
- 1.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Body(Serializable serializable)Body(Byte[] bodyAsValue)Body(Number bodyAsValue)Body(Object value)Body(String bodyAsValue)Body(List<DslProperty> bodyAsList)Body(Map<String,DslProperty> body)Body(DslProperty bodyAsValue)Body(MatchingStrategy matchingStrategy)
-
Method Summary
-
Methods inherited from class org.springframework.cloud.contract.spec.internal.DslProperty
equals, getClientValue, getServerValue, hashCode, isSingleValue, toString
-
-
-
-
Constructor Detail
-
Body
public Body(Map<String,DslProperty> body)
-
Body
public Body(List<DslProperty> bodyAsList)
-
Body
public Body(Object value)
-
Body
public Body(Byte[] bodyAsValue)
-
Body
public Body(Number bodyAsValue)
-
Body
public Body(String bodyAsValue)
-
Body
public Body(DslProperty bodyAsValue)
-
Body
public Body(Serializable serializable)
-
Body
public Body(MatchingStrategy matchingStrategy)
-
-