Class PreferencesApplied.Builder
java.lang.Object
org.apache.olingo.server.api.prefer.PreferencesApplied.Builder
- Enclosing class:
- PreferencesApplied
Builder of OData serializer options.
-
Method Summary
Modifier and TypeMethodDescriptionSetsodata.allow-entityreferences.build()Builds the applied preferences.callback()Setsodata.callback.Setsodata.continue-on-error.maxPageSize(Integer maxPageSize) Sets the value of the applied preferenceodata.maxpagesize.preference(String name, String value) Sets an arbitrary preference as applied.Setsodata.respond-async.returnRepresentation(Preferences.Return returnRepresentation) Sets the value of the applied preferencereturn.Setsodata.track-changes.waitPreference(Integer wait) Sets the value of the applied preferencewait.
-
Method Details
-
allowEntityReferences
Setsodata.allow-entityreferences. -
callback
Setsodata.callback. -
continueOnError
Setsodata.continue-on-error. -
maxPageSize
Sets the value of the applied preferenceodata.maxpagesize. -
trackChanges
Setsodata.track-changes. -
returnRepresentation
Sets the value of the applied preferencereturn. -
respondAsync
Setsodata.respond-async. -
waitPreference
Sets the value of the applied preferencewait. -
preference
Sets an arbitrary preference as applied. The preference name is converted to lowercase. The value of this preference may benull. Name and value are not checked for validity.- Parameters:
name- preference namevalue- preference value
-
build
Builds the applied preferences.
-