public interface Preferences
Modifier and Type | Interface and Description |
---|---|
static class |
Preferences.Preference
Generic preference object.
|
static class |
Preferences.Return |
Modifier and Type | Method and Description |
---|---|
URI |
getCallback()
Gets the value of the
url parameter of the preference
odata.callback or null if not set or the URI is not valid. |
Integer |
getMaxPageSize()
Gets the value of the preference
odata.maxpagesize
or null if not set or an invalid value has been set. |
Preferences.Preference |
getPreference(String name)
Gets named preference.
|
Preferences.Return |
getReturn()
Gets the value of the preference
return or null if not set
or the value is not valid. |
Integer |
getWait()
Gets the value of the preference
wait or null if not set
or the value is not valid. |
boolean |
hasAllowEntityReferences()
Whether the preference
odata.allow-entityreferences has been set. |
boolean |
hasContinueOnError()
Whether the preference
odata.continue-on-error has been set. |
boolean |
hasRespondAsync()
Whether the preference
respond-async has been set. |
boolean |
hasTrackChanges()
Whether the preference
odata.track-changes has been set. |
Preferences.Preference getPreference(String name)
name
- name of the preferencePreferences.Preference
or null
if no such preference has been setboolean hasAllowEntityReferences()
odata.allow-entityreferences
has been set.URI getCallback()
url
parameter of the preference
odata.callback
or null
if not set or the URI is not valid.boolean hasContinueOnError()
odata.continue-on-error
has been set.Integer getMaxPageSize()
odata.maxpagesize
or null
if not set or an invalid value has been set.boolean hasTrackChanges()
odata.track-changes
has been set.Preferences.Return getReturn()
return
or null
if not set
or the value is not valid.boolean hasRespondAsync()
respond-async
has been set.Integer getWait()
wait
or null
if not set
or the value is not valid.Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.