com.jayway.restassured.internal.http
Class BasicNameValuePairWithNoValueSupport
java.lang.Object
com.jayway.restassured.internal.http.BasicNameValuePairWithNoValueSupport
- All Implemented Interfaces:
- Serializable, Cloneable, org.apache.http.NameValuePair
public class BasicNameValuePairWithNoValueSupport
- extends Object
- implements org.apache.http.NameValuePair, Cloneable, Serializable
Basically a copy of the BasicNameValuePair that allows for no-value parameters.
- See Also:
- Serialized Form
BasicNameValuePairWithNoValueSupport
public BasicNameValuePairWithNoValueSupport(String name,
Object value)
- Default Constructor taking a name and a value. The value may be null.
- Parameters:
name - The name.value - The value.
getName
public String getName()
- Specified by:
getName in interface org.apache.http.NameValuePair
getValue
public String getValue()
- Specified by:
getValue in interface org.apache.http.NameValuePair
hasValue
public boolean hasValue()
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object object)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone in class Object
- Throws:
CloneNotSupportedException
Copyright © 2010-2012. All Rights Reserved.