Class BasicHeaderValueImpl
java.lang.Object
de.linusdev.lutils.http.header.value.BasicHeaderValueImpl
- All Implemented Interfaces:
BasicHeaderValue,HeaderValue
- Direct Known Subclasses:
ContentTypes
-
Field Summary
Fields inherited from interface de.linusdev.lutils.http.header.value.BasicHeaderValue
PARSER -
Constructor Summary
ConstructorsConstructorDescriptionBasicHeaderValueImpl(@NotNull String value) BasicHeaderValueImpl(@Nullable List<@NotNull String> values, @Nullable Map<@NotNull String, @NotNull String> parameters) -
Method Summary
Modifier and TypeMethodDescriptionasString()ThisHeaderValueas header-ready stringget the parameters of this header-value.get the values of this header-value
-
Constructor Details
-
BasicHeaderValueImpl
-
BasicHeaderValueImpl
-
-
Method Details
-
getValues
get the values of this header-value- Specified by:
getValuesin interfaceBasicHeaderValue- Returns:
- list of string values
-
getParameters
Description copied from interface:BasicHeaderValueget the parameters of this header-value. Changing this Map also changes thisBasicHeaderValue.- Specified by:
getParametersin interfaceBasicHeaderValue- Returns:
- map of parameters
-
asString
Description copied from interface:HeaderValueThisHeaderValueas header-ready string- Specified by:
asStringin interfaceHeaderValue
-