Uses of Interface
org.apache.http.NameValuePair
Packages that use NameValuePair
Package
Description
Core HTTP component APIs and primitives.
Core HTTP entity implementations.
Core HTTP message components, message element parser
and writer APIs and their default implementations.
-
Uses of NameValuePair in org.apache.http
Subinterfaces of NameValuePair in org.apache.httpModifier and TypeInterfaceDescriptioninterface
An HTTP header which is already formatted.interface
Represents an HTTP header field.Methods in org.apache.http that return NameValuePairModifier and TypeMethodDescriptionHeaderElement.getParameter
(int index) Returns parameter with the given index.HeaderElement.getParameterByName
(String name) Returns the first parameter with the given name.HeaderElement.getParameters()
Returns an array of name / value pairs. -
Uses of NameValuePair in org.apache.http.entity
Fields in org.apache.http.entity declared as NameValuePairMethods in org.apache.http.entity with parameters of type NameValuePairModifier and TypeMethodDescriptionstatic ContentType
ContentType.create
(String mimeType, NameValuePair... params) Creates a new instance ofContentType
with the given parameters.private static ContentType
ContentType.create
(String mimeType, NameValuePair[] params, boolean strict) ContentType.withParameters
(NameValuePair... params) Creates a new instance with this MIME type and the given parameters.Constructors in org.apache.http.entity with parameters of type NameValuePairModifierConstructorDescription(package private)
ContentType
(String mimeType, Charset charset, NameValuePair[] params) -
Uses of NameValuePair in org.apache.http.message
Classes in org.apache.http.message that implement NameValuePairModifier and TypeClassDescriptionclass
Implements a basicHeader
.class
Basic implementation ofNameValuePair
.class
This class represents a raw HTTP header whose content is parsed 'on demand' only when the header value needs to be consumed.Fields in org.apache.http.message declared as NameValuePairMethods in org.apache.http.message that return NameValuePairModifier and TypeMethodDescriptionprotected NameValuePair
BasicHeaderValueParser.createNameValuePair
(String name, String value) Creates a name-value pair.BasicHeaderElement.getParameter
(int index) BasicHeaderElement.getParameterByName
(String name) BasicHeaderElement.getParameters()
static NameValuePair
BasicHeaderValueParser.parseNameValuePair
(String value, HeaderValueParser parser) Parses a name-value-pair with the given parser.BasicHeaderValueParser.parseNameValuePair
(CharArrayBuffer buffer, ParserCursor cursor) BasicHeaderValueParser.parseNameValuePair
(CharArrayBuffer buffer, ParserCursor cursor, char[] delimiters) Deprecated.HeaderValueParser.parseNameValuePair
(CharArrayBuffer buffer, ParserCursor cursor) Parses a name=value specification, where the = and value are optional.static NameValuePair[]
BasicHeaderValueParser.parseParameters
(String value, HeaderValueParser parser) Parses parameters with the given parser.BasicHeaderValueParser.parseParameters
(CharArrayBuffer buffer, ParserCursor cursor) HeaderValueParser.parseParameters
(CharArrayBuffer buffer, ParserCursor cursor) Parses a list of name-value pairs.Methods in org.apache.http.message with parameters of type NameValuePairModifier and TypeMethodDescriptionprotected HeaderElement
BasicHeaderValueParser.createHeaderElement
(String name, String value, NameValuePair[] params) Creates a header element.protected int
BasicHeaderValueFormatter.estimateNameValuePairLen
(NameValuePair nvp) Estimates the length of a formatted name-value pair.protected int
BasicHeaderValueFormatter.estimateParametersLen
(NameValuePair[] nvps) Estimates the length of formatted parameters.static String
BasicHeaderValueFormatter.formatNameValuePair
(NameValuePair nvp, boolean quote, HeaderValueFormatter formatter) Formats a name-value pair.BasicHeaderValueFormatter.formatNameValuePair
(CharArrayBuffer charBuffer, NameValuePair nvp, boolean quote) HeaderValueFormatter.formatNameValuePair
(CharArrayBuffer buffer, NameValuePair nvp, boolean quote) Formats one name-value pair, where the value is optional.static String
BasicHeaderValueFormatter.formatParameters
(NameValuePair[] nvps, boolean quote, HeaderValueFormatter formatter) Formats a set of parameters.BasicHeaderValueFormatter.formatParameters
(CharArrayBuffer charBuffer, NameValuePair[] nvps, boolean quote) HeaderValueFormatter.formatParameters
(CharArrayBuffer buffer, NameValuePair[] nvps, boolean quote) Formats the parameters of a header element.Constructors in org.apache.http.message with parameters of type NameValuePairModifierConstructorDescriptionBasicHeaderElement
(String name, String value, NameValuePair[] parameters) Constructor with name, value and parameters.
TokenParser