Creates DataBindingSource objects from JSON in the request body
Modifiers | Name | Description |
---|---|---|
class |
JsonDataBindingSourceCreator.JsonArrayList |
|
class |
JsonDataBindingSourceCreator.JsonObjectMap |
Type | Name and description |
---|---|
com.google.gson.Gson |
gson |
Type | Name and description |
---|---|
protected DataBindingSource |
createBindingSource(java.io.Reader reader) |
protected DataBindingSourceCreationException |
createBindingSourceCreationException(java.lang.Exception e) |
protected CollectionDataBindingSource |
createCollectionBindingSource(java.io.Reader reader) |
DataBindingSource |
createDataBindingSource(MimeType mimeType, java.lang.Class bindingTargetType, java.lang.Object bindingSource) |
protected java.util.Map |
createJsonObjectMap(com.google.gson.JsonElement jsonElement) Returns a map for the given JsonElement. |
MimeType[] |
getMimeTypes() |
java.lang.Object |
getValueForJsonElement(com.google.gson.JsonElement value, com.google.gson.Gson gson) |
Methods inherited from class | Name |
---|---|
class AbstractRequestBodyDataBindingSourceCreator |
createBindingSource, createBindingSource, createBindingSourceCreationException, createCollectionBindingSource, createCollectionBindingSource, createCollectionDataBindingSource, createDataBindingSource, getTargetType |
class DefaultDataBindingSourceCreator |
createCollectionDataBindingSource, createDataBindingSource, createDataBindingSource, getMimeTypes, getTargetType |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Returns a map for the given JsonElement. Subclasses can override to customize the format of the map
jsonElement
- The JSON element