Package org.apache.juneau.http.header
Class NoTrace
java.lang.Object
org.apache.juneau.http.header.BasicHeader
org.apache.juneau.http.header.BasicBooleanHeader
org.apache.juneau.http.header.NoTrace
- All Implemented Interfaces:
Serializable
,Cloneable
,Header
,NameValuePair
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.juneau.http.header.BasicBooleanHeader
asBoolean, assertBoolean, getValue, isTrue, of, of, of, orElse, toBoolean
Methods inherited from class org.apache.juneau.http.header.BasicHeader
assertName, assertStringValue, asString, equals, equalsIgnoreCase, get, getElements, getName, hashCode, isNotEmpty, isPresent, of, of, orElse, toString
-
Field Details
-
TRUE
-
FALSE
-
-
Constructor Details
-
NoTrace
Constructor.- Parameters:
value
- The header value.
Must be parsable byBoolean.parseBoolean(String)
.
Can benull .
-
NoTrace
Constructor.- Parameters:
value
- The header value.
Can benull .
-
NoTrace
Constructor with delayed value.Header value is re-evaluated on each call to
BasicBooleanHeader.getValue()
.- Parameters:
value
- The supplier of the header value.
Can benull .
-
-
Method Details
-
of
Static creator.- Parameters:
value
- The header value.
Must be parsable byBoolean.parseBoolean(String)
.
Can benull .- Returns:
- A new header bean, or
null if the value wasnull .
-
of
Static creator.- Parameters:
value
- The header value.
Can benull .- Returns:
- A new header bean, or
null if the value wasnull .
-
of
Static creator with delayed value.Header value is re-evaluated on each call to
BasicBooleanHeader.getValue()
.- Parameters:
value
- The header value supplier.
Can benull .- Returns:
- A new header bean, or
null if the value wasnull .
-