Package org.apache.juneau.http
Interface HttpPart
- All Known Implementing Classes:
HttpBooleanPart,HttpCsvArrayPart,HttpDatePart,HttpIntegerPart,HttpLongPart,HttpPartBean,HttpStringPart,HttpUriPart,RequestFormParam,RequestPathParam,RequestQueryParam
public interface HttpPart
A name/value pair representing a single query parameter, form field, or path variable.
Implementations may supply their value eagerly or lazily (via a Supplier).
A null value signals that the part should be omitted from the request.
See Also:
- Since:
- 9.2.1
-
Method Summary
-
Method Details
-
getName
Returns the part name.- Returns:
- The part name. Never
null .
-
getValue
Returns the part value, ornull if the part should be omitted.- Returns:
- The part value, possibly
null .
-