| Modifier and Type | Method and Description |
|---|---|
JsonObject |
RedirectException.getFlashMessageVariables()
Can be null.
|
| Constructor and Description |
|---|
RedirectException(FlashMessageLevel flashMessageType,
String flashMessageTex,
JsonObject flashMessageVariables)
Redirects to the current URL with
a Flash message.
|
RedirectException(String newUrl,
boolean redirectPermanently,
FlashMessage flashMessage,
FlashMessageLevel flashMessageType,
String flashMessageText,
JsonObject flashMessageVariables) |
RedirectException(String newUrl,
boolean redirectPermanently,
FlashMessageLevel flashMessageType,
String flashMessageTex,
JsonObject flashMessageVariables)
Redirect with a Flash message.
|
RedirectException(String newUrl,
FlashMessageLevel flashMessageType,
String flashMessageTex,
JsonObject flashMessageVariables)
Redirect with a Flash message.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
VariablesRequestContextAddon.getAsJsonObject(String key)
Gets the specified request scoped variable as
JsonObject. |
JsonObject |
RequestRequestContextAddon.getFormBodyAsJsonObject()
The data submitted as a
FORM body
(in general via a POST method),
as an immutable JsonObject. |
JsonObject |
RequestRequestContextAddon.getJsonBody()
The request's body deserialized to an immutable
JsonObject. |
JsonObject |
ResponseRequestContextAddon.getModel()
The
JsonObject which serves as the model for
the response. |
JsonObject |
RequestRequestContextAddon.getXmlBodyAsJsonObject()
The request's body deserialized to an immutable
JsonObject. |
| Modifier and Type | Method and Description |
|---|---|
void |
ResponseRequestContextAddon.redirect(FlashMessageLevel flashMessageType,
String flashMessageText,
JsonObject flashMessageVariables)
Sets a temporarily redirection header (302) to the
current page, with a Flash message to display.
|
void |
ResponseRequestContextAddon.redirect(String newUrl,
boolean permanently,
FlashMessageLevel flashMessageType,
String flashMessageText,
JsonObject flashMessageVariables)
Sets a redirection header, with a Flash message to display.
|
void |
ResponseRequestContextAddon.redirect(String newUrl,
FlashMessageLevel flashMessageType,
String flashMessageText,
JsonObject flashMessageVariables)
Sets a temporarily redirection header (302),
with a Flash message to display.
|
void |
ResponseRequestContextAddon.redirect(String newUrl,
int specific3xxCode,
FlashMessageLevel flashMessageType,
String flashMessageText,
JsonObject flashMessageVariables)
Sets the redirection headers with a specified
3xx status code,
and a Flash message to display. |
void |
ResponseRequestContextAddon.redirect(String newUrl,
JsonObject flashMessageVariables)
Sets a temporarily redirection header (302),
with a Flash variables.
|
void |
ResponseRequestContextAddon.setModel(JsonObject model)
Replaces the current response model completely.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
FlashMessageDefault.getVariables() |
JsonObject |
FlashMessage.getVariables()
Potential variables associated with this Flash
message.
|
| Modifier and Type | Method and Description |
|---|---|
FlashMessage |
FlashMessageFactory.create(FlashMessageLevel messageType,
String text,
JsonObject variables) |
| Constructor and Description |
|---|
FlashMessageDefault(FlashMessageLevel messageType,
String text,
JsonObject variables,
JsonManager jsonManager) |
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends JsonObject> |
SpincastCorePluginModule.getJsonObjectImplClass() |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonObjectDefault
JsonObject implementation. |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
JsonObjectDefault.clear() |
JsonObject |
JsonObjectDefault.clone(boolean mutable) |
JsonObject |
JsonObject.clone(boolean mutable)
Deep copy of the
JsonObject, so any
modification to the original won't affect the
clone, and vice-versa. |
JsonObject |
JsonManager.cloneJsonObject(JsonObject jsonObject,
boolean mutable)
Deep copy of the
JsonObject, so any
modification to the original won't affect the
clone, and vice-versa. |
JsonObject |
ToJsonObjectConvertible.convertToJsonObject()
Converts the object to a
JsonObject. |
JsonObject |
JsonObjectFactory.create()
Creates an empty and mutable JsonObject.
|
JsonObject |
JsonManager.create()
Creates an empty
JsonObject |
JsonObject |
JsonObjectFactory.create(JsonObject objectToClone,
boolean mutable)
Creates an JonObject based on the specified JsonObject.
|
JsonObject |
JsonObjectFactory.create(Map<String,Object> initialMap,
boolean mutable)
Creates an JonObject based on the specified Map.
|
JsonObject |
JsonManager.enumToFriendlyJsonObject(Enum<?> enumValue)
Convert the enum value to a
JsonObject that
has a ".name" property (the name() of the enum)
and a ".label" property (the toString() of the
enum) |
JsonObject |
JsonManager.fromClasspathFile(String path)
Creates a
JsonObject from a classpath
Json file. |
JsonObject |
JsonManager.fromFile(File jsonFile)
Creates a
JsonObject from a Json file. |
JsonObject |
JsonManager.fromFile(String jsonFilePath)
Creates a
JsonObject from the path of
a file, on the file system. |
JsonObject |
JsonManager.fromInputStream(InputStream inputStream)
Creates a
JsonObject from an inputStream. |
JsonObject |
JsonManager.fromMap(Map<String,?> params)
Creates an empty
JsonObject based on the specified Map. |
JsonObject |
JsonManager.fromMap(Map<String,?> params,
boolean parseKeysAsJsonPaths)
Creates a
JsonObject based on the specified Map. |
JsonObject |
JsonManager.fromObject(Object object)
Creates a
JsonObject from a random object.. |
JsonObject |
JsonManager.fromString(String jsonString)
Creates a
JsonObject from a Json
String. |
JsonObject |
JsonArrayDefault.getArrayFirstJsonObject(int index) |
JsonObject |
JsonArray.getArrayFirstJsonObject(int index)
Gets the first element (as JsonObject) of a
JsonArray element. |
JsonObject |
JsonArrayDefault.getArrayFirstJsonObject(int index,
JsonObject defaultValue) |
JsonObject |
JsonArray.getArrayFirstJsonObject(int index,
JsonObject defaultValue)
Gets the first element (as JsonObject) of a
JsonArray element. |
JsonObject |
JsonObjectOrArray.getArrayFirstJsonObject(String jsonPath)
Gets the first value (as JsonObject) of a
JsonArray property
of the object, using the JsonPath to find the array. |
JsonObject |
JsonObjectArrayBase.getArrayFirstJsonObject(String key) |
protected JsonObject |
JsonObjectArrayBase.getArrayFirstJsonObject(String key,
boolean parseJsonPath,
boolean hasdefaultElement,
JsonObject defaultElement) |
JsonObject |
JsonObjectOrArray.getArrayFirstJsonObject(String jsonPath,
JsonObject defaultElement)
Gets the first value (as JsonObject) of a
JsonArray property
of the object, using the JsonPath to find the array. |
JsonObject |
JsonObjectArrayBase.getArrayFirstJsonObject(String key,
JsonObject defaultElement) |
JsonObject |
JsonObjectArrayBase.getArrayFirstJsonObjectNoKeyParsing(String key) |
JsonObject |
JsonObject.getArrayFirstJsonObjectNoKeyParsing(String key)
Gets the first value (as JsonObject) of a
JsonArray element
. |
JsonObject |
JsonObjectArrayBase.getArrayFirstJsonObjectNoKeyParsing(String key,
JsonObject defaultElement) |
JsonObject |
JsonObject.getArrayFirstJsonObjectNoKeyParsing(String key,
JsonObject defaultElement)
Gets the first value (as JsonObject) of a
JsonArray element
. |
JsonObject |
JsonArrayDefault.getJsonObject(int index) |
JsonObject |
JsonArray.getJsonObject(int index)
Gets an element as
JsonObject. |
JsonObject |
JsonArrayDefault.getJsonObject(int index,
JsonObject defaultValue) |
JsonObject |
JsonArray.getJsonObject(int index,
JsonObject defaultValue)
Gets an element as
JsonObject. |
JsonObject |
JsonObjectOrArray.getJsonObject(String jsonPath)
Gets an element as
JsonObject using the
specified JsonPath. |
JsonObject |
JsonObjectArrayBase.getJsonObject(String jsonPath) |
protected JsonObject |
JsonObjectArrayBase.getJsonObject(String jsonPath,
boolean hasdefaultElement,
JsonObject defaultElement) |
protected JsonObject |
JsonObjectArrayBase.getJsonObject(String jsonPath,
boolean hasdefaultElement,
JsonObject defaultElement,
boolean parseJsonPath) |
JsonObject |
JsonObjectOrArray.getJsonObject(String jsonPath,
JsonObject defaultElement)
Gets an element as
JsonObject using the
specified JsonPath. |
JsonObject |
JsonObjectArrayBase.getJsonObject(String jsonPath,
JsonObject defaultElement) |
protected JsonObject |
JsonObjectArrayBase.getJsonObjectFromObject(Object object) |
JsonObject |
JsonObjectArrayBase.getJsonObjectNoKeyParsing(String jsonPath) |
JsonObject |
JsonObject.getJsonObjectNoKeyParsing(String jsonPath)
Gets an element as
JsonObject. |
JsonObject |
JsonObjectArrayBase.getJsonObjectNoKeyParsing(String jsonPath,
JsonObject defaultElement) |
JsonObject |
JsonObject.getJsonObjectNoKeyParsing(String jsonPath,
JsonObject defaultElement)
Gets an element as
JsonObject. |
JsonObject |
JsonArrayDefault.getJsonObjectOrEmpty(int index) |
JsonObject |
JsonArray.getJsonObjectOrEmpty(int index)
Gets an element as
JsonObject. |
JsonObject |
JsonObjectOrArray.getJsonObjectOrEmpty(String jsonPath)
Gets an element as
JsonObject using the
specified JsonPath. |
JsonObject |
JsonObjectArrayBase.getJsonObjectOrEmpty(String jsonPath) |
JsonObject |
JsonObjectOrArray.getJsonObjectOrEmpty(String jsonPath,
boolean addIfDoesntExist)
Gets an element as
JsonObject using the
specified JsonPath. |
JsonObject |
JsonObjectArrayBase.getJsonObjectOrEmpty(String jsonPath,
boolean addIfDoesntExist) |
JsonObject |
JsonObjectArrayBase.getJsonObjectOrEmptyNoKeyParsing(String jsonPath) |
JsonObject |
JsonObject.getJsonObjectOrEmptyNoKeyParsing(String jsonPath)
Gets an element as
JsonObject. |
JsonObject |
JsonObjectDefault.merge(JsonObject jsonObj) |
JsonObject |
JsonObject.merge(JsonObject jsonObj)
Merges the specified
JsonObject properties in the current
object. |
JsonObject |
JsonObjectDefault.merge(JsonObject jsonObj,
boolean clone) |
JsonObject |
JsonObject.merge(JsonObject jsonObj,
boolean clone)
Merges the specified
JsonObject properties in the current
object. |
JsonObject |
JsonObjectDefault.merge(Map<String,?> map) |
JsonObject |
JsonObject.merge(Map<String,?> map)
Merges all the specified Map elements in the JsonObject.
|
JsonObject |
JsonObjectDefault.merge(Map<String,?> map,
boolean clone) |
JsonObject |
JsonObject.merge(Map<String,?> map,
boolean clone)
Merges all the specified Map elements in the JsonObject.
|
JsonObject |
JsonObjectDefault.merge(ToJsonObjectConvertible obj) |
JsonObject |
JsonObject.merge(ToJsonObjectConvertible jsonObj)
Transforms the specifie3d object to
JsonObject
and merges its properties in the current
object. |
protected JsonObject |
JsonObjectDefault.putAsIs(String key,
Object value) |
JsonObject |
JsonObjectDefault.remove(String jsonPath)
Removes a property at
JsonPath
from the object. |
JsonObject |
JsonObjectDefault.removeNoKeyParsing(String key) |
JsonObject |
JsonObject.removeNoKeyParsing(String key)
Removes a element from the object.
|
JsonObject |
JsonObjectDefault.setNoKeyParsing(String jsonPath,
Object value) |
JsonObject |
JsonObject.setNoKeyParsing(String key,
Object element)
Sets an element at the specified key, without parsing this
key as a
JsonPath. |
JsonObject |
JsonObjectDefault.setNoKeyParsing(String jsonPath,
Object value,
boolean clone) |
JsonObject |
JsonObject.setNoKeyParsing(String key,
Object element,
boolean clone)
Sets an element at the specified key, without parsing this
key as a
JsonPath. |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
JsonManager.cloneJsonObject(JsonObject jsonObject,
boolean mutable)
Deep copy of the
JsonObject, so any
modification to the original won't affect the
clone, and vice-versa. |
JsonObject |
JsonObjectFactory.create(JsonObject objectToClone,
boolean mutable)
Creates an JonObject based on the specified JsonObject.
|
JsonObject |
JsonArrayDefault.getArrayFirstJsonObject(int index,
JsonObject defaultValue) |
JsonObject |
JsonArray.getArrayFirstJsonObject(int index,
JsonObject defaultValue)
Gets the first element (as JsonObject) of a
JsonArray element. |
protected JsonObject |
JsonObjectArrayBase.getArrayFirstJsonObject(String key,
boolean parseJsonPath,
boolean hasdefaultElement,
JsonObject defaultElement) |
JsonObject |
JsonObjectOrArray.getArrayFirstJsonObject(String jsonPath,
JsonObject defaultElement)
Gets the first value (as JsonObject) of a
JsonArray property
of the object, using the JsonPath to find the array. |
JsonObject |
JsonObjectArrayBase.getArrayFirstJsonObject(String key,
JsonObject defaultElement) |
JsonObject |
JsonObjectArrayBase.getArrayFirstJsonObjectNoKeyParsing(String key,
JsonObject defaultElement) |
JsonObject |
JsonObject.getArrayFirstJsonObjectNoKeyParsing(String key,
JsonObject defaultElement)
Gets the first value (as JsonObject) of a
JsonArray element
. |
Object |
JsonPathUtilsDefault.getElementAtJsonPath(JsonObject obj,
String jsonPath) |
Object |
JsonPathUtils.getElementAtJsonPath(JsonObject obj,
String jsonPath)
Gets an element from the
JsonObject,
at the specified JsonPath. |
Object |
JsonManager.getElementAtJsonPath(JsonObject obj,
String jsonPath)
Gets an element from the
JsonObject
at the specified JsonPath. |
Object |
JsonPathUtilsDefault.getElementAtJsonPath(JsonObject obj,
String jsonPath,
Object defaultElement) |
Object |
JsonPathUtils.getElementAtJsonPath(JsonObject obj,
String jsonPath,
Object defaultElement)
Gets an element from the
JsonObject,
at the specified JsonPath. |
Object |
JsonManager.getElementAtJsonPath(JsonObject obj,
String jsonPath,
Object defaultElement)
Gets an element from the
JsonObject
at the specified JsonPath. |
JsonObject |
JsonArrayDefault.getJsonObject(int index,
JsonObject defaultValue) |
JsonObject |
JsonArray.getJsonObject(int index,
JsonObject defaultValue)
Gets an element as
JsonObject. |
protected JsonObject |
JsonObjectArrayBase.getJsonObject(String jsonPath,
boolean hasdefaultElement,
JsonObject defaultElement) |
protected JsonObject |
JsonObjectArrayBase.getJsonObject(String jsonPath,
boolean hasdefaultElement,
JsonObject defaultElement,
boolean parseJsonPath) |
JsonObject |
JsonObjectOrArray.getJsonObject(String jsonPath,
JsonObject defaultElement)
Gets an element as
JsonObject using the
specified JsonPath. |
JsonObject |
JsonObjectArrayBase.getJsonObject(String jsonPath,
JsonObject defaultElement) |
JsonObject |
JsonObjectArrayBase.getJsonObjectNoKeyParsing(String jsonPath,
JsonObject defaultElement) |
JsonObject |
JsonObject.getJsonObjectNoKeyParsing(String jsonPath,
JsonObject defaultElement)
Gets an element as
JsonObject. |
boolean |
JsonPathUtilsDefault.isElementExists(JsonObject root,
String jsonPath) |
boolean |
JsonPathUtils.isElementExists(JsonObject obj,
String jsonPath)
Does the object contain an element at
the
JsonPath position (even if
null)? |
boolean |
JsonManager.isElementExists(JsonObject obj,
String jsonPath)
Does the object contain an element at
the specified
JsonPath (even if
null)? |
boolean |
JsonObjectDefault.isEquivalentTo(JsonObject other) |
boolean |
JsonObject.isEquivalentTo(JsonObject other)
Compares the current
JsonObject to the specified one
and returns true if they are equivalent. |
JsonObject |
JsonObjectDefault.merge(JsonObject jsonObj) |
JsonObject |
JsonObject.merge(JsonObject jsonObj)
Merges the specified
JsonObject properties in the current
object. |
JsonObject |
JsonObjectDefault.merge(JsonObject jsonObj,
boolean clone) |
JsonObject |
JsonObject.merge(JsonObject jsonObj,
boolean clone)
Merges the specified
JsonObject properties in the current
object. |
protected Object |
JsonPathUtilsDefault.processJsonPath(JsonObject root,
String jsonPath,
JsonPathUtilsDefault.JsonPathProcessingType jsonPathProcessingType,
Object valueToPut,
boolean hasDefaultValue,
Object defaultElement) |
void |
JsonPathUtilsDefault.removeElementAtJsonPath(JsonObject root,
String jsonPath) |
void |
JsonPathUtils.removeElementAtJsonPath(JsonObject obj,
String jsonPath)
Removes an element at the specified
JsonPath from the
object. |
void |
JsonManager.removeElementAtJsonPath(JsonObject obj,
String jsonPath)
Removes an element at the specified
JsonPath from the
object. |
protected Object |
JsonPathUtilsDefault.selectValueUsingJsonPath(JsonObject obj,
String jsonPath,
boolean hasDefaultValue,
Object defaultElement) |
| Constructor and Description |
|---|
JsonObjectDefault(JsonObject configToMerge,
boolean mutable,
JsonManager jsonManager,
SpincastUtils spincastUtils,
ObjectConverter objectConverter)
Constructor
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Form
Specialized
JsonObject that is also a
ValidationSet to store validations. |
| Modifier and Type | Class and Description |
|---|---|
class |
FormDefault |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
FormDefault.getValidationResultAsJsonObject() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
FormDefault.addMessageFormattedSpecifickey(String key,
List<ValidationMessage> messages,
ValidationMessageFormatType formatType,
StringBuilder textBuilder,
JsonObject jsonObject) |
Form |
FormFactory.createForm(String formName,
JsonObject formData) |
void |
FormDefault.setValidationObject(JsonObject validationObject) |
void |
Form.setValidationObject(JsonObject validationObject)
Sets the
JsonObject to use
to store the validation messages. |
| Constructor and Description |
|---|
FormDefault(String formName,
JsonObject initialFormData,
JsonManager jsonManager,
SpincastUtils spincastUtils,
ObjectConverter objectConverter,
Dictionary dictionary,
XmlManager xmlManager,
SpincastConfig spincastConfig,
Validators validators,
FormFactory formFactory,
ValidationFactory validationFactory) |
| Modifier and Type | Method and Description |
|---|---|
String |
TemplatingRequestContextAddon.evaluate(String content,
JsonObject model)
Evaluates some content using the given parameters.
|
String |
TemplatingEngine.evaluate(String content,
JsonObject jsonObject)
Evaluates the content, using the given parameters.
|
String |
TemplatingRequestContextAddon.evaluate(String content,
JsonObject model,
Locale locale)
Evaluates some content using the given parameters.
|
String |
TemplatingEngine.evaluate(String content,
JsonObject jsonObject,
Locale locale)
Evaluates the content, using the given parameters.
|
String |
TemplatingRequestContextAddon.fromTemplate(String templatePath,
boolean isClasspathPath,
JsonObject model)
Renders a template using the given parameters.
|
String |
TemplatingEngine.fromTemplate(String templatePath,
boolean isClasspathPath,
JsonObject jsonObject)
Evaluates a template using the parameters specified
as a
JsonObject. |
String |
TemplatingRequestContextAddon.fromTemplate(String templatePath,
boolean isClasspathPath,
JsonObject model,
Locale locale)
Renders a template usgin the given parameters.
|
String |
TemplatingEngine.fromTemplate(String templatePath,
boolean isClasspathPath,
JsonObject jsonObject,
Locale locale)
Evaluates a template using the parameters specified
as a
JsonObject. |
String |
TemplatingRequestContextAddon.fromTemplate(String templatePath,
JsonObject model)
Renders a template using the given parameters.
|
String |
TemplatingEngine.fromTemplate(String templatePath,
JsonObject jsonObject)
Evaluates a template using the parameters specified
as a
JsonObject. |
String |
TemplatingRequestContextAddon.fromTemplate(String templatePath,
JsonObject model,
Locale locale)
Renders a template usgin the given parameters.
|
String |
TemplatingEngine.fromTemplate(String templatePath,
JsonObject jsonObject,
Locale locale)
Evaluates a template using the parameters specified
as a
JsonObject. |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ObjectConverterDefault.convertToJsonObject(Object object) |
JsonObject |
ObjectConverter.convertToJsonObject(Object element)
Converts the element to a
JsonObject. |
| Modifier and Type | Class and Description |
|---|---|
class |
ValidationSetSimple |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
ValidationMessageDefault.convertToJsonObject() |
JsonObject |
ValidationMessage.convertToJsonObject()
Converts the message to a
JsonObject object. |
JsonObject |
ValidationSet.getValidationResultAsJsonObject()
The
JsonObject in which the validation messages
are actually stored. |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
XmlManager.fromXml(String xml)
Deserializes a XML to an
JsonObject. |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
HttpResponseDefault.getContentAsJsonObject() |
JsonObject |
HttpResponse.getContentAsJsonObject()
Gets the content as a JsonObject.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
SpincastJsonManager.cloneJsonObject(JsonObject jsonObject,
boolean mutable) |
JsonObject |
SpincastJsonManager.create() |
JsonObject |
SpincastJsonManager.enumToFriendlyJsonObject(Enum<?> enumValue) |
JsonObject |
SpincastJsonManager.fromClasspathFile(String path) |
JsonObject |
SpincastJsonManager.fromFile(File jsonFile) |
JsonObject |
SpincastJsonManager.fromFile(String path) |
JsonObject |
SpincastJsonManager.fromInputStream(InputStream inputStream) |
JsonObject |
SpincastJsonManager.fromMap(Map<String,?> params) |
JsonObject |
SpincastJsonManager.fromMap(Map<String,?> params,
boolean parseKeysAsJsonPaths) |
JsonObject |
SpincastJsonManager.fromObject(Object object) |
JsonObject |
SpincastJsonManager.fromString(String jsonString) |
| Modifier and Type | Method and Description |
|---|---|
protected com.fasterxml.jackson.databind.JsonDeserializer<JsonObject> |
SpincastJsonManager.getJsonObjectDeserializer() |
protected com.fasterxml.jackson.databind.JsonSerializer<JsonObject> |
SpincastJsonManager.getJsonObjectSerializer() |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
SpincastJsonManager.cloneJsonObject(JsonObject jsonObject,
boolean mutable) |
Object |
SpincastJsonManager.getElementAtJsonPath(JsonObject obj,
String jsonPath) |
Object |
SpincastJsonManager.getElementAtJsonPath(JsonObject obj,
String jsonPath,
Object defaultValue) |
boolean |
SpincastJsonManager.isElementExists(JsonObject obj,
String jsonPath) |
void |
SpincastJsonManager.removeElementAtJsonPath(JsonObject obj,
String jsonPath) |
| Modifier and Type | Interface and Description |
|---|---|
protected static interface |
SpincastXmlManager.JsonObjectMixIn |
| Modifier and Type | Method and Description |
|---|---|
protected JsonObject |
SpincastXmlManager.deserializeJsonObject(com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser xmlParser,
com.fasterxml.jackson.databind.DeserializationContext context,
Map.Entry<String,Object> firstProperty) |
JsonObject |
SpincastXmlManager.fromXml(String xml) |
| Modifier and Type | Method and Description |
|---|---|
protected com.fasterxml.jackson.databind.JsonDeserializer<JsonObject> |
SpincastXmlManager.getJsonObjectDeserializer() |
protected com.fasterxml.jackson.databind.JsonSerializer<JsonObject> |
SpincastXmlManager.getJsonObjectSerializer() |
| Modifier and Type | Method and Description |
|---|---|
String |
SpincastPebbleTemplatingEngine.evaluate(String content,
JsonObject jsonObject) |
String |
SpincastPebbleTemplatingEngine.evaluate(String content,
JsonObject jsonObject,
Locale locale) |
String |
SpincastPebbleTemplatingEngine.fromTemplate(String templatePath,
boolean isClasspathPath,
JsonObject jsonObject) |
String |
SpincastPebbleTemplatingEngine.fromTemplate(String templatePath,
boolean isClasspathPath,
JsonObject jsonObject,
Locale locale) |
String |
SpincastPebbleTemplatingEngine.fromTemplate(String templatePath,
JsonObject jsonObject) |
String |
SpincastPebbleTemplatingEngine.fromTemplate(String templatePath,
JsonObject jsonObject,
Locale locale) |
protected String |
SpincastPebbleTemplatingEngine.parse(String htmlOrPath,
JsonObject paramsAsJsonObject,
Map<String,Object> params,
boolean isTemplate,
boolean isClasspathPath,
Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
SpincastRequestRequestContextAddon.getFormBodyAsJsonObject() |
JsonObject |
SpincastRequestRequestContextAddon.getJsonBody() |
JsonObject |
SpincastRequestRequestContextAddon.getXmlBodyAsJsonObject() |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
SpincastResponseRequestContextAddon.getModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
SpincastResponseRequestContextAddon.redirect(FlashMessageLevel flashMessageType,
String flashMessageText,
JsonObject flashMessageVariables) |
void |
SpincastResponseRequestContextAddon.redirect(String newUrl,
boolean permanently,
FlashMessageLevel flashMessageType,
String flashMessageText,
JsonObject flashMessageVariables) |
void |
SpincastResponseRequestContextAddon.redirect(String newUrl,
FlashMessageLevel flashMessageType,
String flashMessageText,
JsonObject flashMessageVariables) |
void |
SpincastResponseRequestContextAddon.redirect(String newUrl,
int specific3xxCode,
FlashMessageLevel flashMessageType,
String flashMessageText,
JsonObject flashMessageVariables) |
void |
SpincastResponseRequestContextAddon.redirect(String newUrl,
JsonObject flashMessageVariables) |
void |
SpincastResponseRequestContextAddon.setModel(JsonObject model) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
SpincastSessionDefault.getAttributes() |
JsonObject |
SpincastSession.getAttributes()
Returns a mutable
JsonObject representing the
attributes of the session. |
| Modifier and Type | Method and Description |
|---|---|
SpincastSession |
SpincastSessionManagerDefault.createSession(String sessionId,
Instant creationDate,
Instant modificationDate,
JsonObject attributes) |
SpincastSession |
SpincastSessionManager.createSession(String sessionId,
Instant creationDate,
Instant modificationDate,
JsonObject attributes)
Creates a session from infos, with existing
attributes if any (
null otherwise) |
SpincastSession |
SpincastSessionFactory.createSession(String sessionId,
Instant creationDate,
Instant modificationDate,
JsonObject attributes)
Creates a session from saved infos.
|
| Constructor and Description |
|---|
SpincastSessionDefault(String sessionId,
Instant creationDate,
Instant modificationDate,
JsonObject attributes,
boolean setAsDirty,
boolean isNew,
JsonManager jsonManager,
SpincastSessionManager spincastSessionManager) |
SpincastSessionDefault(String sessionId,
Instant creationDate,
Instant modificationDate,
JsonObject attributes,
boolean setAsDirty,
JsonManager jsonManager,
SpincastSessionManager spincastSessionManager) |
SpincastSessionDefault(String sessionId,
Instant creationDate,
Instant modificationDate,
JsonObject attributes,
JsonManager jsonManager,
SpincastSessionManager spincastSessionManager) |
| Modifier and Type | Method and Description |
|---|---|
String |
SpincastTemplatingRequestContextAddon.evaluate(String content,
JsonObject model) |
String |
SpincastTemplatingRequestContextAddon.evaluate(String content,
JsonObject model,
Locale locale) |
String |
SpincastTemplatingRequestContextAddon.fromTemplate(String templatePath,
boolean isClasspathPath,
JsonObject model) |
String |
SpincastTemplatingRequestContextAddon.fromTemplate(String templatePath,
boolean isClasspathPath,
JsonObject model,
Locale locale) |
String |
SpincastTemplatingRequestContextAddon.fromTemplate(String templatePath,
JsonObject model) |
String |
SpincastTemplatingRequestContextAddon.fromTemplate(String templatePath,
JsonObject model,
Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
SpincastVariablesRequestContextAddon.getAsJsonObject(String key) |
Copyright © 2019. All rights reserved.