Class Forwarded
java.lang.Object
org.apache.juneau.http.classic.header.BasicHeader
org.apache.juneau.http.classic.header.BasicStringHeader
org.apache.juneau.http.classic.header.Forwarded
- All Implemented Interfaces:
Serializable,Header,NameValuePair
Represents a parsed Forwarded HTTP request header.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.juneau.http.classic.header.BasicStringHeader
assertString, asString, getValue, of, of, ofPair, orElseMethods inherited from class org.apache.juneau.http.classic.header.BasicHeader
assertName, assertStringValue, copy, equals, equalsIgnoreCase, get, getElements, getName, hashCode, isNotEmpty, isPresent, of, of, toString
-
Constructor Details
-
Forwarded
Constructor.- Parameters:
value- The header value.
Can benull to create a header with no value.
-
Forwarded
Constructor with delayed value.Header value is re-evaluated on each call to
BasicStringHeader.getValue().- Parameters:
value- The supplier of the header value.
Can benull to create a header with no value.
-
-
Method Details
-
of
Static creator.- Parameters:
value- The header value.
Can benull .- Returns:
- A new header bean, or
null if the value isnull .
-
of
Static creator with delayed value.Header value is re-evaluated on each call to
BasicStringHeader.getValue().- Parameters:
value- The supplier of the header value.
Can benull .- Returns:
- A new header bean, or
null if the value isnull .
-