Uses of Interface
org.apache.http.NameValuePair
-
Packages that use NameValuePair Package Description org.apache.http Core HTTP component APIs and primitives.org.apache.http.entity Core HTTP entity implementations.org.apache.http.message 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.http Modifier and Type Interface Description interfaceFormattedHeaderAn HTTP header which is already formatted.interfaceHeaderRepresents an HTTP header field.Methods in org.apache.http that return NameValuePair Modifier and Type Method Description NameValuePairHeaderElement. getParameter(int index)Returns parameter with the given index.NameValuePairHeaderElement. getParameterByName(java.lang.String name)Returns the first parameter with the given name.NameValuePair[]HeaderElement. getParameters()Returns an array of name / value pairs. -
Uses of NameValuePair in org.apache.http.entity
Methods in org.apache.http.entity with parameters of type NameValuePair Modifier and Type Method Description static ContentTypeContentType. create(java.lang.String mimeType, NameValuePair... params)Creates a new instance ofContentTypewith the given parameters.ContentTypeContentType. withParameters(NameValuePair... params)Creates a new instance with this MIME type and the given parameters. -
Uses of NameValuePair in org.apache.http.message
Classes in org.apache.http.message that implement NameValuePair Modifier and Type Class Description classBasicHeaderImplements a basicHeader.classBasicNameValuePairBasic implementation ofNameValuePair.classBufferedHeaderThis class represents a raw HTTP header whose content is parsed 'on demand' only when the header value needs to be consumed.Methods in org.apache.http.message that return NameValuePair Modifier and Type Method Description protected NameValuePairBasicHeaderValueParser. createNameValuePair(java.lang.String name, java.lang.String value)Creates a name-value pair.NameValuePairBasicHeaderElement. getParameter(int index)NameValuePairBasicHeaderElement. getParameterByName(java.lang.String name)NameValuePair[]BasicHeaderElement. getParameters()static NameValuePairBasicHeaderValueParser. parseNameValuePair(java.lang.String value, HeaderValueParser parser)Parses a name-value-pair with the given parser.NameValuePairBasicHeaderValueParser. parseNameValuePair(CharArrayBuffer buffer, ParserCursor cursor)NameValuePairBasicHeaderValueParser. parseNameValuePair(CharArrayBuffer buffer, ParserCursor cursor, char[] delimiters)Deprecated.(4.4) useTokenParserNameValuePairHeaderValueParser. parseNameValuePair(CharArrayBuffer buffer, ParserCursor cursor)Parses a name=value specification, where the = and value are optional.static NameValuePair[]BasicHeaderValueParser. parseParameters(java.lang.String value, HeaderValueParser parser)Parses parameters with the given parser.NameValuePair[]BasicHeaderValueParser. parseParameters(CharArrayBuffer buffer, ParserCursor cursor)NameValuePair[]HeaderValueParser. parseParameters(CharArrayBuffer buffer, ParserCursor cursor)Parses a list of name-value pairs.Methods in org.apache.http.message with parameters of type NameValuePair Modifier and Type Method Description protected HeaderElementBasicHeaderValueParser. createHeaderElement(java.lang.String name, java.lang.String value, NameValuePair[] params)Creates a header element.protected intBasicHeaderValueFormatter. estimateNameValuePairLen(NameValuePair nvp)Estimates the length of a formatted name-value pair.protected intBasicHeaderValueFormatter. estimateParametersLen(NameValuePair[] nvps)Estimates the length of formatted parameters.static java.lang.StringBasicHeaderValueFormatter. formatNameValuePair(NameValuePair nvp, boolean quote, HeaderValueFormatter formatter)Formats a name-value pair.CharArrayBufferBasicHeaderValueFormatter. formatNameValuePair(CharArrayBuffer charBuffer, NameValuePair nvp, boolean quote)CharArrayBufferHeaderValueFormatter. formatNameValuePair(CharArrayBuffer buffer, NameValuePair nvp, boolean quote)Formats one name-value pair, where the value is optional.static java.lang.StringBasicHeaderValueFormatter. formatParameters(NameValuePair[] nvps, boolean quote, HeaderValueFormatter formatter)Formats a set of parameters.CharArrayBufferBasicHeaderValueFormatter. formatParameters(CharArrayBuffer charBuffer, NameValuePair[] nvps, boolean quote)CharArrayBufferHeaderValueFormatter. formatParameters(CharArrayBuffer buffer, NameValuePair[] nvps, boolean quote)Formats the parameters of a header element.Constructors in org.apache.http.message with parameters of type NameValuePair Constructor Description BasicHeaderElement(java.lang.String name, java.lang.String value, NameValuePair[] parameters)Constructor with name, value and parameters.
-