Uses of Interface
org.apache.hc.core5.http.NameValuePair
-
Packages that use NameValuePair Package Description org.apache.hc.core5.http Core HTTP transport component APIs.org.apache.hc.core5.http.io.entity HTTP message entity APIs based on the classic (blocking) I/O model.org.apache.hc.core5.http.io.support Support classes for the classic (blocking) I/O model.org.apache.hc.core5.http.message Core HTTP message components, message element parser and writer APIs and their default implementations.org.apache.hc.core5.http.nio.entity HTTP message entity APIs based on the asynchronous (non-blocking) I/O model.org.apache.hc.core5.http.nio.support Support classes for the asynchronous I/O model.org.apache.hc.core5.http.support org.apache.hc.core5.http2.hpack HTTP/2 HPACK APIs.org.apache.hc.core5.net Core network component APIs and utilities. -
-
Uses of NameValuePair in org.apache.hc.core5.http
Subinterfaces of NameValuePair in org.apache.hc.core5.http Modifier and Type Interface Description interfaceFormattedHeaderAn HTTP header which is already formatted.interfaceHeaderRepresents an HTTP header field consisting of a field name and a field value.Fields in org.apache.hc.core5.http declared as NameValuePair Modifier and Type Field Description private static NameValuePair[]ContentType. EMPTY_NAME_VALUE_PAIR_ARRAYAn empty immutableNameValuePairarray.private NameValuePair[]ContentType. paramsMethods in org.apache.hc.core5.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.Methods in org.apache.hc.core5.http 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.private static ContentTypeContentType. create(java.lang.String mimeType, NameValuePair[] params, boolean strict)ContentTypeContentType. withParameters(NameValuePair... params)Creates a new instance with this MIME type and the given parameters.Constructors in org.apache.hc.core5.http with parameters of type NameValuePair Constructor Description ContentType(java.lang.String mimeType, java.nio.charset.Charset charset, NameValuePair[] params) -
Uses of NameValuePair in org.apache.hc.core5.http.io.entity
Methods in org.apache.hc.core5.http.io.entity that return types with arguments of type NameValuePair Modifier and Type Method Description static java.util.List<NameValuePair>EntityUtils. parse(HttpEntity entity)Returns a list ofNameValuePairsas parsed from anHttpEntity.static java.util.List<NameValuePair>EntityUtils. parse(HttpEntity entity, int maxStreamLength)Returns a list ofNameValuePairsas parsed from anHttpEntity.Method parameters in org.apache.hc.core5.http.io.entity with type arguments of type NameValuePair Modifier and Type Method Description static HttpEntityHttpEntities. createUrlEncoded(java.lang.Iterable<? extends NameValuePair> parameters, java.nio.charset.Charset charset) -
Uses of NameValuePair in org.apache.hc.core5.http.io.support
Methods in org.apache.hc.core5.http.io.support with parameters of type NameValuePair Modifier and Type Method Description ClassicRequestBuilderClassicRequestBuilder. addParameter(NameValuePair nvp)ClassicRequestBuilderClassicRequestBuilder. addParameters(NameValuePair... nvps) -
Uses of NameValuePair in org.apache.hc.core5.http.message
Classes in org.apache.hc.core5.http.message that implement NameValuePair Modifier and Type Class Description classBasicHeaderImmutableHeader.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.Fields in org.apache.hc.core5.http.message declared as NameValuePair Modifier and Type Field Description private static NameValuePair[]BasicHeaderValueParser. EMPTY_NAME_VALUE_ARRAYAn empty immutableNameValuePairarray.private static NameValuePair[]BasicHeaderElement. EMPTY_NAME_VALUE_PAIR_ARRAYprivate NameValuePair[]BasicHeaderElement. parametersMethods in org.apache.hc.core5.http.message that return NameValuePair Modifier and Type Method Description NameValuePairBasicHeaderElement. getParameter(int index)NameValuePairBasicHeaderElement. getParameterByName(java.lang.String name)NameValuePair[]BasicHeaderElement. getParameters()NameValuePairBasicHeaderValueParser. parseNameValuePair(java.lang.CharSequence buffer, ParserCursor cursor)NameValuePairHeaderValueParser. parseNameValuePair(java.lang.CharSequence buffer, ParserCursor cursor)Parses a name=value specification, where the = and value are optional.NameValuePair[]BasicHeaderValueParser. parseParameters(java.lang.CharSequence buffer, ParserCursor cursor)NameValuePair[]HeaderValueParser. parseParameters(java.lang.CharSequence buffer, ParserCursor cursor)Parses a list of name-value pairs.Methods in org.apache.hc.core5.http.message with parameters of type NameValuePair Modifier and Type Method Description voidBasicHeaderValueFormatter. formatNameValuePair(CharArrayBuffer buffer, NameValuePair nvp, boolean quote)voidHeaderValueFormatter. formatNameValuePair(CharArrayBuffer buffer, NameValuePair nvp, boolean quote)Formats one name-value pair, where the value is optional.voidBasicHeaderValueFormatter. formatParameters(CharArrayBuffer buffer, NameValuePair[] nvps, boolean quote)voidHeaderValueFormatter. formatParameters(CharArrayBuffer buffer, NameValuePair[] nvps, boolean quote)Formats the parameters of a header element.Constructors in org.apache.hc.core5.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. -
Uses of NameValuePair in org.apache.hc.core5.http.nio.entity
Method parameters in org.apache.hc.core5.http.nio.entity with type arguments of type NameValuePair Modifier and Type Method Description static AsyncEntityProducerAsyncEntityProducers. createUrlEncoded(java.lang.Iterable<? extends NameValuePair> parameters, java.nio.charset.Charset charset) -
Uses of NameValuePair in org.apache.hc.core5.http.nio.support
Methods in org.apache.hc.core5.http.nio.support with parameters of type NameValuePair Modifier and Type Method Description AsyncRequestBuilderAsyncRequestBuilder. addParameter(NameValuePair nvp)AsyncRequestBuilderAsyncRequestBuilder. addParameters(NameValuePair... nvps) -
Uses of NameValuePair in org.apache.hc.core5.http.support
Fields in org.apache.hc.core5.http.support with type parameters of type NameValuePair Modifier and Type Field Description private java.util.List<NameValuePair>AbstractRequestBuilder. parametersMethods in org.apache.hc.core5.http.support that return types with arguments of type NameValuePair Modifier and Type Method Description java.util.List<NameValuePair>AbstractRequestBuilder. getParameters()Methods in org.apache.hc.core5.http.support with parameters of type NameValuePair Modifier and Type Method Description AbstractRequestBuilder<T>AbstractRequestBuilder. addParameter(NameValuePair nvp)BasicRequestBuilderBasicRequestBuilder. addParameter(NameValuePair nvp)AbstractRequestBuilder<T>AbstractRequestBuilder. addParameters(NameValuePair... nvps)BasicRequestBuilderBasicRequestBuilder. addParameters(NameValuePair... nvps) -
Uses of NameValuePair in org.apache.hc.core5.http2.hpack
Classes in org.apache.hc.core5.http2.hpack that implement NameValuePair Modifier and Type Class Description (package private) classHPackHeaderInternal HPack header representation that also contains binary length of header name and header value. -
Uses of NameValuePair in org.apache.hc.core5.net
Fields in org.apache.hc.core5.net with type parameters of type NameValuePair Modifier and Type Field Description private java.util.List<NameValuePair>URIBuilder. queryParamsMethods in org.apache.hc.core5.net that return NameValuePair Modifier and Type Method Description NameValuePairURIBuilder. getFirstQueryParam(java.lang.String name)Gets the firstNameValuePairfor a given name.Methods in org.apache.hc.core5.net that return types with arguments of type NameValuePair Modifier and Type Method Description java.util.List<NameValuePair>URIBuilder. getQueryParams()Gets the query parameters as a List.static java.util.List<NameValuePair>URLEncodedUtils. parse(java.lang.CharSequence s, java.nio.charset.Charset charset)Deprecated.Returns a list ofNameValuePairs URI query parameters.static java.util.List<NameValuePair>URLEncodedUtils. parse(java.lang.CharSequence s, java.nio.charset.Charset charset, char... separators)Deprecated.Returns a list ofNameValuePairs parameters.static java.util.List<NameValuePair>URLEncodedUtils. parse(java.net.URI uri, java.nio.charset.Charset charset)Deprecated.Returns a list ofNameValuePairs URI query parameters.static java.util.List<NameValuePair>WWWFormCodec. parse(java.lang.CharSequence s, java.nio.charset.Charset charset)Returns a list ofNameValuePairparameters parsed from theapplication/x-www-form-urlencodedcontent.(package private) static java.util.List<NameValuePair>URIBuilder. parseQuery(java.lang.CharSequence s, java.nio.charset.Charset charset, boolean plusAsBlank)Methods in org.apache.hc.core5.net with parameters of type NameValuePair Modifier and Type Method Description URIBuilderURIBuilder. addParameter(NameValuePair nameValuePair)Adds parameter to URI query.URIBuilderURIBuilder. setParameters(NameValuePair... nameValuePairs)Sets URI query parameters.URIBuilderURIBuilder. setSchemeSpecificPart(java.lang.String schemeSpecificPart, NameValuePair... nvps)Sets the URI scheme specific part and append a variable arguments list of NameValuePair instance(s) to this part.Method parameters in org.apache.hc.core5.net with type arguments of type NameValuePair Modifier and Type Method Description URIBuilderURIBuilder. addParameters(java.util.List<NameValuePair> nameValuePairs)Adds URI query parameters.static java.lang.StringURLEncodedUtils. format(java.lang.Iterable<? extends NameValuePair> parameters, char parameterSeparator, java.nio.charset.Charset charset)Deprecated.Returns a String that is suitable for use as anapplication/x-www-form-urlencodedlist of parameters in an HTTP PUT or HTTP POST.static java.lang.StringURLEncodedUtils. format(java.lang.Iterable<? extends NameValuePair> parameters, java.nio.charset.Charset charset)Deprecated.Returns a String that is suitable for use as anapplication/x-www-form-urlencodedlist of parameters in an HTTP PUT or HTTP POST.static java.lang.StringWWWFormCodec. format(java.lang.Iterable<? extends NameValuePair> params, java.nio.charset.Charset charset)Formats the list ofNameValuePairparameters into aapplication/x-www-form-urlencodedcontent string.static voidWWWFormCodec. format(java.lang.StringBuilder buf, java.lang.Iterable<? extends NameValuePair> params, java.nio.charset.Charset charset)Formats the list ofNameValuePairparameters into aapplication/x-www-form-urlencodedcontent.(package private) static voidURIBuilder. formatQuery(java.lang.StringBuilder buf, java.lang.Iterable<? extends NameValuePair> params, java.nio.charset.Charset charset, boolean blankAsPlus)URIBuilderURIBuilder. setParameters(java.util.List<NameValuePair> nameValuePairs)Sets URI query parameters.URIBuilderURIBuilder. setSchemeSpecificPart(java.lang.String schemeSpecificPart, java.util.List<NameValuePair> nvps)Sets the URI scheme specific part and append a list of NameValuePair to this part.
-