Class Header
java.lang.Object
org.springframework.cloud.contract.spec.internal.DslProperty
org.springframework.cloud.contract.spec.internal.Header
- All Implemented Interfaces:
Serializable
Represents a header of a request / response or a message.
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHeader(String name, DslProperty dslProperty) Header(String name, MatchingStrategy value) -
Method Summary
Methods inherited from class org.springframework.cloud.contract.spec.internal.DslProperty
getClientValue, getServerValue, isSingleValue
-
Constructor Details
-
Header
-
Header
-
Header
-
-
Method Details
-
build
-
getName
-
setName
-
equals
- Overrides:
equalsin classDslProperty
-
hashCode
public int hashCode()- Overrides:
hashCodein classDslProperty
-
toString
- Overrides:
toStringin classDslProperty
-