Package org.mockserver.model
Class KeyAndValue
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.model.KeyAndValue
-
- Direct Known Subclasses:
Cookie
public class KeyAndValue extends ObjectWithJsonToString
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description KeyAndValue(String name, String value)
KeyAndValue(NottableString name, NottableString value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
NottableString
getName()
NottableString
getValue()
int
hashCode()
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode, key
-
-
-
-
Constructor Detail
-
KeyAndValue
public KeyAndValue(NottableString name, NottableString value)
-
-
Method Detail
-
getName
public NottableString getName()
-
getValue
public NottableString getValue()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classObjectWithReflectiveEqualsHashCodeToString
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObjectWithReflectiveEqualsHashCodeToString
-
-