Uses of Interface
org.apache.hc.core5.http.NameValuePair
Packages that use NameValuePair
Package
Description
Core HTTP transport component APIs.
HTTP message entity APIs based on the classic (blocking) I/O model.
Support classes for the classic (blocking) I/O model.
Core HTTP message components, message element parser
and writer APIs and their default implementations.
HTTP message entity APIs based on the asynchronous (non-blocking) I/O model.
Support classes for the asynchronous I/O model.
HTTP/2 HPACK APIs.
Core network component APIs and utilities.
-
Uses of NameValuePair in org.apache.hc.core5.http
Subinterfaces of NameValuePair in org.apache.hc.core5.httpModifier and TypeInterfaceDescriptioninterfaceAn HTTP header which is already formatted.interfaceRepresents an HTTP header field consisting of a field name and a field value.Fields in org.apache.hc.core5.http declared as NameValuePairModifier and TypeFieldDescriptionprivate static final NameValuePair[]ContentType.EMPTY_NAME_VALUE_PAIR_ARRAYAn empty immutableNameValuePairarray.private final NameValuePair[]ContentType.paramsMethods in org.apache.hc.core5.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.Methods in org.apache.hc.core5.http with parameters of type NameValuePairModifier and TypeMethodDescriptionstatic ContentTypeContentType.create(String mimeType, NameValuePair... params) Creates a new instance ofContentTypewith the given parameters.private static ContentTypeContentType.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.hc.core5.http with parameters of type NameValuePairModifierConstructorDescription(package private)ContentType(String mimeType, 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 NameValuePairModifier and TypeMethodDescriptionstatic List<NameValuePair> EntityUtils.parse(HttpEntity entity) Returns a list ofNameValuePairsas parsed from anHttpEntity.static 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 NameValuePairModifier and TypeMethodDescriptionstatic HttpEntityHttpEntities.createUrlEncoded(Iterable<? extends NameValuePair> parameters, 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 NameValuePairModifier and TypeMethodDescriptionClassicRequestBuilder.addParameter(NameValuePair nvp) ClassicRequestBuilder.addParameters(NameValuePair... nvps) -
Uses of NameValuePair in org.apache.hc.core5.http.message
Classes in org.apache.hc.core5.http.message that implement NameValuePairModifier and TypeClassDescriptionclassImmutableHeader.classBasic implementation ofNameValuePair.classThis 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 NameValuePairModifier and TypeFieldDescriptionprivate static final NameValuePair[]BasicHeaderValueParser.EMPTY_NAME_VALUE_ARRAYAn empty immutableNameValuePairarray.private static final NameValuePair[]BasicHeaderElement.EMPTY_NAME_VALUE_PAIR_ARRAYprivate final NameValuePair[]BasicHeaderElement.parametersMethods in org.apache.hc.core5.http.message that return NameValuePairModifier and TypeMethodDescriptionBasicHeaderElement.getParameter(int index) BasicHeaderElement.getParameterByName(String name) BasicHeaderElement.getParameters()BasicHeaderValueParser.parseNameValuePair(CharSequence buffer, ParserCursor cursor) HeaderValueParser.parseNameValuePair(CharSequence buffer, ParserCursor cursor) Parses a name=value specification, where the = and value are optional.BasicHeaderValueParser.parseParameters(CharSequence buffer, ParserCursor cursor) HeaderValueParser.parseParameters(CharSequence buffer, ParserCursor cursor) Parses a list of name-value pairs.Methods in org.apache.hc.core5.http.message with parameters of type NameValuePairModifier and TypeMethodDescriptionvoidBasicHeaderValueFormatter.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 NameValuePairModifierConstructorDescriptionBasicHeaderElement(String name, 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 NameValuePairModifier and TypeMethodDescriptionstatic AsyncEntityProducerAsyncEntityProducers.createUrlEncoded(Iterable<? extends NameValuePair> parameters, 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 NameValuePairModifier and TypeMethodDescriptionAsyncRequestBuilder.addParameter(NameValuePair nvp) AsyncRequestBuilder.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 NameValuePairMethods in org.apache.hc.core5.http.support that return types with arguments of type NameValuePairMethods in org.apache.hc.core5.http.support with parameters of type NameValuePairModifier and TypeMethodDescriptionAbstractRequestBuilder.addParameter(NameValuePair nvp) BasicRequestBuilder.addParameter(NameValuePair nvp) AbstractRequestBuilder.addParameters(NameValuePair... nvps) BasicRequestBuilder.addParameters(NameValuePair... nvps) -
Uses of NameValuePair in org.apache.hc.core5.http2.hpack
Classes in org.apache.hc.core5.http2.hpack that implement NameValuePairModifier and TypeClassDescription(package private) final classInternal 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 NameValuePairMethods in org.apache.hc.core5.net that return NameValuePairModifier and TypeMethodDescriptionURIBuilder.getFirstQueryParam(String name) Gets the firstNameValuePairfor a given name.Methods in org.apache.hc.core5.net that return types with arguments of type NameValuePairModifier and TypeMethodDescriptionURIBuilder.getQueryParams()Gets the query parameters as a List.static List<NameValuePair> URLEncodedUtils.parse(CharSequence s, Charset charset) Deprecated.Returns a list ofNameValuePairs URI query parameters.static List<NameValuePair> URLEncodedUtils.parse(CharSequence s, Charset charset, char... separators) Deprecated.Returns a list ofNameValuePairs parameters.static List<NameValuePair> Deprecated.Returns a list ofNameValuePairs URI query parameters.static List<NameValuePair> WWWFormCodec.parse(CharSequence s, Charset charset) Returns a list ofNameValuePairparameters parsed from theapplication/x-www-form-urlencodedcontent.(package private) static List<NameValuePair> URIBuilder.parseQuery(CharSequence s, Charset charset, boolean plusAsBlank) Methods in org.apache.hc.core5.net with parameters of type NameValuePairModifier and TypeMethodDescriptionURIBuilder.addParameter(NameValuePair nameValuePair) Adds parameter to URI query.URIBuilder.setParameters(NameValuePair... nameValuePairs) Sets URI query parameters.URIBuilder.setSchemeSpecificPart(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 NameValuePairModifier and TypeMethodDescriptionURIBuilder.addParameters(List<NameValuePair> nameValuePairs) Adds URI query parameters.static StringURLEncodedUtils.format(Iterable<? extends NameValuePair> parameters, char parameterSeparator, 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 StringURLEncodedUtils.format(Iterable<? extends NameValuePair> parameters, 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 StringWWWFormCodec.format(Iterable<? extends NameValuePair> params, Charset charset) Formats the list ofNameValuePairparameters into aapplication/x-www-form-urlencodedcontent string.static voidWWWFormCodec.format(StringBuilder buf, Iterable<? extends NameValuePair> params, Charset charset) Formats the list ofNameValuePairparameters into aapplication/x-www-form-urlencodedcontent.(package private) static voidURIBuilder.formatQuery(StringBuilder buf, Iterable<? extends NameValuePair> params, Charset charset, boolean blankAsPlus) URIBuilder.setParameters(List<NameValuePair> nameValuePairs) Sets URI query parameters.URIBuilder.setSchemeSpecificPart(String schemeSpecificPart, List<NameValuePair> nvps) Sets the URI scheme specific part and append a list of NameValuePair to this part.