Uses of Class
org.apache.juneau.http.part.PartList
Packages that use PartList
Package
Description
HTTP Part Beans
REST Server API
REST Client API
-
Uses of PartList in org.apache.juneau.http
Methods in org.apache.juneau.http that return PartListModifier and TypeMethodDescriptionstatic final PartList
HttpParts.partList()
Instantiates a newPartList
.static PartList
Creates a newPartList
initialized with the specified name/value pairs.static final PartList
HttpParts.partList
(List<NameValuePair> parts) Creates a newPartList
initialized with the specified parts.static final PartList
HttpParts.partList
(NameValuePair... parts) Creates a newPartList
initialized with the specified parts. -
Uses of PartList in org.apache.juneau.http.part
Subclasses of PartList in org.apache.juneau.http.partModifier and TypeClassDescriptionstatic final class
Represents no part list in annotations.Methods in org.apache.juneau.http.part that return PartListModifier and TypeMethodDescriptionAppends the specified part to the end of this list.Appends the specified part to the end of this list using a value supplier.PartList.append
(List<NameValuePair> values) Adds the specified parts to the end of the parts in this list.PartList.append
(NameValuePair value) Adds the specified part to the end of the parts in this list.PartList.append
(NameValuePair... values) Adds the specified parts to the end of the parts in this list.PartList.caseInsensitive
(boolean value) Specifies that the parts in this list should be treated as case-sensitive.PartList.copy()
Makes a copy of this list.static PartList
PartList.create()
Instantiates a new part list.PartList.forEach
(String name, Consumer<NameValuePair> action) Performs an action on all parts in this list with the specified name.PartList.forEach
(Predicate<NameValuePair> filter, Consumer<NameValuePair> action) Performs an action on all the matching parts in this list.PartList.forEachValue
(String name, Consumer<String> action) Performs an action on the values of all matching parts in this list.PartList.forEachValue
(Predicate<NameValuePair> filter, Consumer<String> action) Performs an action on the values for all matching parts in this list.static PartList
PartList.of
(List<NameValuePair> parts) Creates a newPartList
initialized with the specified parts.static PartList
PartList.of
(NameValuePair... parts) Creates a newPartList
initialized with the specified parts.static PartList
Creates a newPartList
initialized with the specified name/value pairs.Appends the specified part to the beginning of this list.Appends the specified part to the beginning of this list using a value supplier.PartList.prepend
(List<NameValuePair> values) Adds the specified parts to the beginning of the parts in this list.PartList.prepend
(NameValuePair value) Adds the specified part to the beginning of the parts in this list.PartList.prepend
(NameValuePair... values) Adds the specified parts to the beginning of the parts in this list.Removes the part with the specified name from this list.Removes the part with the specified name from this list.PartList.remove
(List<NameValuePair> values) Removes the specified parts from this list.PartList.remove
(NameValuePair value) Removes the specified part from this list.PartList.remove
(NameValuePair... values) Removes the specified parts from this list.PartList.resolving()
Allows part values to contain SVL variables.PartList.resolving
(VarResolver varResolver) Allows part values to contain SVL variables.Replaces the first occurrence of the parts with the same name.Replaces the first occurrence of the parts with the same name.PartList.set
(List<NameValuePair> values) Replaces the first occurrence of the parts with the same name.PartList.set
(NameValuePair value) Adds or replaces the part(s) with the same name.PartList.set
(NameValuePair... values) Adds or replaces the part(s) with the same name.PartList.setDefault
(String name, Object value) Replaces the first occurrence of the part with the same name.PartList.setDefault
(String name, Supplier<?> value) Replaces the first occurrence of the headers with the same name.PartList.setDefault
(List<NameValuePair> parts) Adds a collection of default parts.PartList.setDefault
(NameValuePair... parts) Makes a copy of this list of parts and adds a collection of default parts.PartList.setUnmodifiable()
Constructors in org.apache.juneau.http.part with parameters of type PartList -
Uses of PartList in org.apache.juneau.rest
Methods in org.apache.juneau.rest that return PartListModifier and TypeMethodDescriptionprotected PartList
RestOpContext.Builder.createDefaultRequestFormData
(BeanStore beanStore, RestContext.Builder parent, Supplier<?> resource) Instantiates the default request form data.protected PartList
RestOpContext.Builder.createDefaultRequestQueryData
(BeanStore beanStore, RestContext.Builder parent, Supplier<?> resource) Instantiates the default request query data.RestOpContext.Builder.defaultRequestFormData()
Returns the default request form data.RestOpContext.Builder.defaultRequestQueryData()
Returns the default request query data.RestOpContext.getDefaultRequestFormData()
Returns the default form data parameters.RestOpContext.getDefaultRequestQueryData()
Returns the default request query parameters. -
Uses of PartList in org.apache.juneau.rest.client
Methods in org.apache.juneau.rest.client that return PartListModifier and TypeMethodDescriptionprotected PartList
RestClient.Builder.createFormData()
Creates the builder for the form data list.RestClient.createFormData()
Creates a mutable copy of the form data defined on this client.protected PartList
RestClient.Builder.createPathData()
Creates the builder for the path data list.RestClient.createPathData()
Creates a mutable copy of the path data defined on this client.protected PartList
RestClient.Builder.createQueryData()
Creates the builder for the query data list.RestClient.createQueryData()
Creates a mutable copy of the query data defined on this client.final PartList
RestClient.Builder.formData()
Returns the builder for the list of form data parameters that get applied to all requests created by this builder.RestRequest.getFormData()
Returns the form data for the request.RestRequest.getPathData()
Returns the path data for the request.RestRequest.getQueryData()
Returns the query data for the request.final PartList
RestClient.Builder.pathData()
Returns the builder for the list of path data parameters that get applied to all requests created by this builder.final PartList
RestClient.Builder.queryData()
Returns the builder for the list of query parameters that get applied to all requests created by this builder.