Class PreferencesApplied
java.lang.Object
org.apache.olingo.server.api.prefer.PreferencesApplied
Provides methods to set values suitable for the Preference-Applied HTTP response header
as described in RFC 7240.
There are named methods for preferences defined in the OData standard.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Builder of OData serializer options. -
Method Summary
Modifier and TypeMethodDescriptionGets the applied preferences.toString()
Returns a string representation that can be used as value of a Preference-Applied HTTP response header.static PreferencesApplied.Builder
with()
Initializes the builder.
-
Method Details
-
getAppliedPreferences
Gets the applied preferences.- Returns:
- a map from preference names to preference values
-
toValueString
Returns a string representation that can be used as value of a Preference-Applied HTTP response header. -
toString
-
with
Initializes the builder.
-