Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X Z 

A

accept(ContentTypeDefaults...) - Method in interface org.spincast.core.routing.RouteBuilder
Sets the accepted Content-Types.
accept(Set<ContentTypeDefaults>) - Method in interface org.spincast.core.routing.RouteBuilder
Sets the accepted Content-Types.
acceptAsString(String...) - Method in interface org.spincast.core.routing.RouteBuilder
Sets the accepted Content-Types.
acceptAsString(Set<String>) - Method in interface org.spincast.core.routing.RouteBuilder
Sets the accepted Content-Types.
add(String, Object) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
Adds a request scoped variable.
add(Map<String, Object>) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
Adds request scoped variables.
add(Object) - Method in interface org.spincast.core.json.JsonArray
Adds an object at the end of the array.
add(int, Object) - Method in interface org.spincast.core.json.JsonArray
Inserts an object at the specified index in the array.
add(Object, boolean) - Method in interface org.spincast.core.json.JsonArray
Adds an object at the end of the array.
add(int, Object, boolean) - Method in interface org.spincast.core.json.JsonArray
Adds an object at the specified index.
add(Object) - Method in class org.spincast.core.json.JsonArrayDefault
 
add(int, Object) - Method in class org.spincast.core.json.JsonArrayDefault
 
add(Object, boolean) - Method in class org.spincast.core.json.JsonArrayDefault
 
add(int, Object, boolean) - Method in class org.spincast.core.json.JsonArrayDefault
 
addAlert(AlertLevel, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Adds an Alert that is, in general, displayed at the top of the page to show the user an Error, a Warning or a confirmation message.
addAll(Collection<?>) - Method in interface org.spincast.core.json.JsonArray
Adds all elements at the end of the array.
addAll(Collection<?>, boolean) - Method in interface org.spincast.core.json.JsonArray
Adds all elements at the end of the array.
addAll(Object[]) - Method in interface org.spincast.core.json.JsonArray
Adds all elements at the end of the array.
addAll(Object[], boolean) - Method in interface org.spincast.core.json.JsonArray
Adds elements at the end of the array.
addAll(JsonArray) - Method in interface org.spincast.core.json.JsonArray
Adds all elements at the end of the array.
addAll(JsonArray, boolean) - Method in interface org.spincast.core.json.JsonArray
Adds elements at the end of the array.
addAll(Collection<?>) - Method in class org.spincast.core.json.JsonArrayDefault
 
addAll(Collection<?>, boolean) - Method in class org.spincast.core.json.JsonArrayDefault
 
addAll(Object[]) - Method in class org.spincast.core.json.JsonArrayDefault
 
addAll(Object[], boolean) - Method in class org.spincast.core.json.JsonArrayDefault
 
addAll(JsonArray) - Method in class org.spincast.core.json.JsonArrayDefault
 
addAll(JsonArray, boolean) - Method in class org.spincast.core.json.JsonArrayDefault
 
addAsIs(Object) - Method in class org.spincast.core.json.JsonArrayDefault
 
addAsIs(Integer, Object) - Method in class org.spincast.core.json.JsonArrayDefault
 
addCookie(Cookie) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Adds a cookie.
addCookie(String, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Adds a cookie using the specified name and value.
addCookie(String, String, int) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Adds a cookie using the specified name, value and number opf minutes to live.
addCookie(String, String, String, String, Date, boolean, boolean, boolean, int) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Adds a cookie, using all available configurations.
addCookies(Object, Map<String, Cookie>) - Method in interface org.spincast.core.server.Server
Adds cookies.
addDefaultGlobalTemplateVariables(R) - Method in interface org.spincast.core.filters.SpincastFilters
Adds some default variables so they are available to any template rendering (in a request scope).
addDefaultGlobalTemplateVariables(R) - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
addDefaultNotFoundRoute() - Method in class org.spincast.core.controllers.SpincastFrontController
Add the default Not Found route.
addDependenciesInCustomRequestScope(R) - Method in class org.spincast.core.controllers.SpincastFrontController
Add dependencies to the custom request scope
addEndpointController(String, WebsocketController<?, ?>) - Method in interface org.spincast.core.websocket.WebsocketEndpointToControllerManager
Adds a link between a WebSocket endpoint and a controller.
addEndpointController(String, WebsocketController<?, ?>) - Method in class org.spincast.core.websocket.WebsocketEndpointToControllerManagerDefault
 
addError(String, String, String) - Method in interface org.spincast.core.validation.ValidationSet
Creates and adds a new Error validation Message.
addError(String, String, String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
addHeaderValue(String, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Adds a value to a response header.
addHeaderValue(String, String) - Method in interface org.spincast.core.filters.CorsFilterClient
Adds an header value.
addHeaderValues(String, List<String>) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Adds a list of values to a response header.
addHttpAuthentication(String, String, String) - Method in interface org.spincast.core.server.Server
Adds a user to an HTTP protected realm.
addMessage(String, ValidationMessage) - Method in interface org.spincast.core.validation.ValidationSet
Adds a new validation Message to this set, using the specified validation key.
addMessage(String, ValidationLevel, String, String) - Method in interface org.spincast.core.validation.ValidationSet
Creates and adds a new validation Message.
addMessage(String, ValidationMessage) - Method in class org.spincast.core.validation.ValidationSetDefault
 
addMessage(String, ValidationLevel, String, String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
addMessageFormattedSpecifickey(String, List<ValidationMessage>, ValidationMessageFormatType, StringBuilder, JsonObject) - Method in class org.spincast.core.validation.ValidationSetDefault
 
addMessageOnSuccess() - Method in interface org.spincast.core.validation.ValidationBuilderCoreBase
If the validation is successful, the validator should add a Success Message.
addMessageOnSuccess(String) - Method in interface org.spincast.core.validation.ValidationBuilderCoreBase
If the validation is successful, the validator should add a Success Message.
addMessageOnSuccess() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
addMessageOnSuccess(String) - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
addMessagesFormattedSpecifickeyHtml(String, StringBuilder, List<ValidationMessage>) - Method in class org.spincast.core.validation.ValidationSetDefault
 
addMessagesFormattedSpecifickeyTextPlain(String, StringBuilder, List<ValidationMessage>) - Method in class org.spincast.core.validation.ValidationSetDefault
 
addRequestContextInCustomRequestScope(R) - Method in class org.spincast.core.controllers.SpincastFrontController
Add the request context objects in the cutom request scope
addRoute(Route<R>) - Method in interface org.spincast.core.routing.Router
Adds a route, directly.
addRouteParamPatternAlias(String, String) - Method in interface org.spincast.core.routing.Router
Adds an alias for a path pattern.
addSecurityHeaders(R) - Method in interface org.spincast.core.filters.SpincastFilters
Adds some recommended security headers.
addSecurityHeaders(R) - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
addStaticResource(StaticResource<R>) - Method in interface org.spincast.core.routing.Router
Adds a static resource route, directly.
addStaticResourceToServe(StaticResource<?>) - Method in interface org.spincast.core.server.Server
Adds a static resource to serve directly by the server.
addSuccess(String, String, String) - Method in interface org.spincast.core.validation.ValidationSet
Creates and adds a new Success validation Message.
addSuccess(String, String, String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
addTemplatingGlobalVariable(String, Object) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Adds a global variable that will be available to any following evaluation by the templating engine.
addTemplatingGlobalVariables(Map<String, Object>) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Adds global variables that will be available to any following evaluation by the templating engine.
addWarning(String, String, String) - Method in interface org.spincast.core.validation.ValidationSet
Creates and adds a new Warning validation Message.
addWarning(String, String, String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
addWebsocketRoute(WebsocketRoute<R, W>) - Method in interface org.spincast.core.routing.Router
Adds a Websocket route, directly.
after(Handler<R>) - Method in interface org.spincast.core.routing.RouteBuilder
Adds an "after" filter which will only be applied to this particular route.
after() - Method in interface org.spincast.core.routing.Router
Creates an "after" filter.
after(String) - Method in interface org.spincast.core.routing.Router
Creates an "after" filter.
afterPlugins(Module) - Method in class org.spincast.core.guice.GuiceTweaker
Ran after the plugins are applied in SpincastBootstrapper.
Alert - Interface in org.spincast.core.response
An Alert is am Error, a Warning or a Confirmation message often displayed at the top of a webpage to inform the user about the result of an action.
AlertDefault - Class in org.spincast.core.response
 
AlertDefault(AlertLevel, String) - Constructor for class org.spincast.core.response.AlertDefault
 
AlertLevel - Enum in org.spincast.core.response
The possible levels of an Alert
ALL() - Method in interface org.spincast.core.routing.RouteBuilder
Adds all HTTP methods as being supported.
ALL(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a route matching any HTTP method.
all(JsonArray) - Method in interface org.spincast.core.validation.ValidationBuilderTarget
Validates all the elements of the specified JsonArray.
all(JsonArray) - Method in class org.spincast.core.validation.ValidationBuilderTargetDefault
 
allRoutingTypes() - Method in interface org.spincast.core.routing.RouteBuilder
This route will be considered for all routing types.
apply(CorsFilterClient) - Method in interface org.spincast.core.filters.CorsFilter
Apply the cors filter and return the result.
apply(CorsFilterClient) - Method in class org.spincast.core.filters.CorsFilterDefault
 
apply(Module) - Method in class org.spincast.core.guice.GuiceTweaker
Ran as a regular plugin.
apply(Module) - Method in class org.spincast.core.guice.SpincastCorePlugin
 
apply(Module) - Method in interface org.spincast.core.guice.SpincastPlugin
Applies the plugin.
arrayItselfAddFailMessage() - Method in interface org.spincast.core.validation.ValidationBuilderArray
If the validation of at least one element failed, add a Fail Validation Message on the array itself.
arrayItselfAddFailMessage(String) - Method in interface org.spincast.core.validation.ValidationBuilderArray
If the validation of at least one element failed, add a Fail Validation Message on the array itself.
arrayItselfAddFailMessage(String, String) - Method in interface org.spincast.core.validation.ValidationBuilderArray
If the validation of at least one element failed, add a Fail Validation Message on the array itself.
arrayItselfAddFailMessage() - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
arrayItselfAddFailMessage(String) - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
arrayItselfAddFailMessage(String, String) - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
arrayItselfAddSuccessMessage() - Method in interface org.spincast.core.validation.ValidationBuilderArray
If all its elements are successfully validated, add a Success Validation Message on the array itself.
arrayItselfAddSuccessMessage(String) - Method in interface org.spincast.core.validation.ValidationBuilderArray
If all its elements are successfully validated, add a Success Validation Message on the array itself.
arrayItselfAddSuccessMessage(String, String) - Method in interface org.spincast.core.validation.ValidationBuilderArray
If all its elements are successfully validated, add a Success Validation Message on the array itself.
arrayItselfAddSuccessMessage() - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
arrayItselfAddSuccessMessage(String) - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
arrayItselfAddSuccessMessage(String, String) - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 

B

before(Handler<R>) - Method in interface org.spincast.core.routing.RouteBuilder
Adds a "before" filter which will only be applied to this particular route.
before() - Method in interface org.spincast.core.routing.Router
Creates a "before" filter.
before(String) - Method in interface org.spincast.core.routing.Router
Creates a "before" filter.
before(Handler<R>) - Method in interface org.spincast.core.websocket.WebsocketRouteBuilder
Adds a before filter.
beforeAndAfter() - Method in interface org.spincast.core.routing.Router
Creates a "before" and an "after" filters.
beforeAndAfter(String) - Method in interface org.spincast.core.routing.Router
Creates a "before" and an "after" filters.
beforePlugins(Module) - Method in class org.spincast.core.guice.GuiceTweaker
Ran before the plugins are applied in SpincastBootstrapper.
bindAlphaAlias(boolean, Router<R, W>) - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
 
bindAlphaNumericAlias(boolean, Router<R, W>) - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
 
bindAlphaNumericPlusAlias(boolean, Router<R, W>) - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
 
bindAlphaPlusAlias(boolean, Router<R, W>) - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
 
bindCookieFactory() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindDefaultPredefinedRouteParamPatternsBinder() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindFlashMessageFactory() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindFlashMessagesHolder() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindFrontController() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindingHierarchyToRemove(Class<?>) - Method in class org.spincast.core.guice.GuiceTweaker
An binding hierarchy to remove from the combined modules.
bindJsonObjectFactory() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindNumericAlias(boolean, Router<R, W>) - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
 
bindNumericPlusAlias(boolean, Router<R, W>) - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
 
bindObjectConverter() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindRequestContextBaseDeps() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindRequestContextFactory() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindRequestContextInRequestScope() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindRequestContextType() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindSpincastFilters() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindSpincastInitValidator() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindSpincastRequestScope() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindSpincastUtilsClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindSSLContextFactory() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindValidationFactory() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindWebsocketContextFactory() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindWebsocketContextType() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindWebsocketEndpointHandlerFactory() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindWebsocketEndpointToControllerManager() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
Bool - Class in org.spincast.core.utils
Boolean object that can't be autoboxed.

C

cache(int) - Method in interface org.spincast.core.exchange.CacheHeadersRequestContextAddon
The number of seconds the client should cache this resource before requesting it again.
cache(int, boolean) - Method in interface org.spincast.core.exchange.CacheHeadersRequestContextAddon
The number of seconds the client should cache this resource before requesting it again.
cache(int, boolean, Integer) - Method in interface org.spincast.core.exchange.CacheHeadersRequestContextAddon
The number of seconds the client should cache this resource before requesting it again.
cache(R) - Method in interface org.spincast.core.filters.SpincastFilters
 
cache(R, int) - Method in interface org.spincast.core.filters.SpincastFilters
 
cache(R, int, boolean) - Method in interface org.spincast.core.filters.SpincastFilters
 
cache(R, int, boolean, Integer) - Method in interface org.spincast.core.filters.SpincastFilters
 
cache(R) - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
cache(R, int) - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
cache(R, int, boolean) - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
cache(R, int, boolean, Integer) - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
cache() - Method in interface org.spincast.core.routing.RouteBuilder
Adds cache headers.
cache(int) - Method in interface org.spincast.core.routing.RouteBuilder
Adds public cache headers.
cache(int, boolean) - Method in interface org.spincast.core.routing.RouteBuilder
Adds cache headers.
cache(int, boolean, Integer) - Method in interface org.spincast.core.routing.RouteBuilder
Adds cache headers.
cache(int) - Method in interface org.spincast.core.routing.StaticResourceBuilder
Adds public cache headers.
cache(int, boolean) - Method in interface org.spincast.core.routing.StaticResourceBuilder
Adds cache headers.
cache(int, boolean, Integer) - Method in interface org.spincast.core.routing.StaticResourceBuilder
Adds cache headers.
cacheHeaders() - Method in interface org.spincast.core.exchange.RequestContext
Cache headers related methods.
cacheHeaders() - Method in class org.spincast.core.exchange.RequestContextBase
 
CacheHeadersRequestContextAddon<R extends RequestContext<?>> - Interface in org.spincast.core.exchange
Request context add-on to work with cache headers.
callRouteHandlers(R, RoutingResult<R>) - Method in class org.spincast.core.controllers.SpincastFrontController
Call the handlers, in order they are specified.
CantCompareException - Exception in org.spincast.core.exceptions
Exception thrown when an element from an JsonObject or from an JsonArray can't be compared to another.
CantCompareException(String, String, Object) - Constructor for exception org.spincast.core.exceptions.CantCompareException
Constructor
CantConvertException - Exception in org.spincast.core.exceptions
Exception thrown when an element from a JsonObject or from a JsonArray can't be converted to the requested type.
CantConvertException(String, String, Object) - Constructor for exception org.spincast.core.exceptions.CantConvertException
Constructor
classpath(String) - Method in interface org.spincast.core.routing.StaticResourceBuilder
The path to the resource, on the classpath.
clear() - Method in class org.spincast.core.json.JsonArrayDefault
 
clear() - Method in class org.spincast.core.json.JsonObjectDefault
 
clear() - Method in interface org.spincast.core.json.JsonObjectOrArray
Clears all elements.
clone(boolean) - Method in interface org.spincast.core.json.JsonArray
Deep copy of the JsonArray, so any modification to the original won't affect the clone, and vice-versa.
clone(boolean) - Method in class org.spincast.core.json.JsonArrayDefault
 
clone(Object) - Method in interface org.spincast.core.json.JsonManager
Tries to clone an object to a JsonObject or a JsonArray, if the object is not of a primitive type (or BigDecimal).
clone(Object, boolean) - Method in interface org.spincast.core.json.JsonManager
Tries to clone an object to a JsonObject or a JsonArray, if the object is not of a primitive type (or BigDecimal).
clone(boolean) - Method in interface org.spincast.core.json.JsonObject
Deep copy of the JsonObject, so any modification to the original won't affect the clone, and vice-versa.
clone() - Method in class org.spincast.core.json.JsonObjectArrayBase
 
clone(boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
Clone the object.
clone(boolean) - Method in class org.spincast.core.json.JsonObjectDefault
 
clone(boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
Clone the object.
cloneJsonArray(JsonArray, boolean) - Method in interface org.spincast.core.json.JsonManager
Deep copy of the JsonArray, so any modification to the original won't affect the clone, and vice-versa.
cloneJsonObject(JsonObject, boolean) - Method in interface org.spincast.core.json.JsonManager
Deep copy of the JsonObject, so any modification to the original won't affect the clone, and vice-versa.
closeConnection() - Method in interface org.spincast.core.websocket.WebsocketPeerManager
Closes the connection with the peer.
closeConnectionWithCurrentPeer() - Method in interface org.spincast.core.websocket.WebsocketContext
Closes the connection with the current peer.
closeConnectionWithCurrentPeer() - Method in class org.spincast.core.websocket.WebsocketContextBase
 
closeEndpoint() - Method in interface org.spincast.core.websocket.WebsocketEndpointManager
Closes the entire WebSocket endpoint.
closeEndpoint(boolean) - Method in interface org.spincast.core.websocket.WebsocketEndpointManager
Closes the entire WebSocket endpoint.
closeEndpoint(int, String) - Method in interface org.spincast.core.websocket.WebsocketEndpointManager
Closes the entire WebSocket endpoint.
closePeer(String) - Method in interface org.spincast.core.websocket.WebsocketEndpointManager
Closes a specific peer connection on the endpoint.
closePeer(String, int, String) - Method in interface org.spincast.core.websocket.WebsocketEndpointManager
Closes a specific peer connection on the endpoint.
code(String) - Method in interface org.spincast.core.validation.ValidationBuilderCoreBase
Modifies the default validation code.
code(String) - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
compareTo(Object, Object) - Method in interface org.spincast.core.utils.ObjectConverter
Compare two elements.
compareTo(Object, Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
configure() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
ContentTypeDefaults - Enum in org.spincast.core.utils
Some often used Content-Types.
convert(Class<T>) - Method in interface org.spincast.core.json.JsonObject
Converts the JsonObject to an instance of the specified T type.
convert(Class<T>) - Method in class org.spincast.core.json.JsonObjectDefault
 
convertBase64StringToByteArray(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Converts the element to a BigDecimal.
convertBase64StringToByteArray(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
convertByteArrayToBase64String(byte[]) - Method in interface org.spincast.core.utils.ObjectConverter
Converts the element to a Base64 String.
convertByteArrayToBase64String(byte[]) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
convertTo(Object, Class<T>) - Method in interface org.spincast.core.utils.ObjectConverter
Tries to convert the element to the specified targetType.
convertTo(Object, Class<T>) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
convertToBigDecimal(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Converts the element to a BigDecimal.
convertToBigDecimal(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
convertToBoolean(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Converts the element to a JsonArray.
convertToBoolean(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
convertToDateFromJsonDateFormat(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Converts the element to a Date.
convertToDateFromJsonDateFormat(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
convertToDouble(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Converts the element to a Double.
convertToDouble(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
convertToFloat(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Converts the element to a Float.
convertToFloat(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
convertToInteger(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Converts the element to a Integer.
convertToInteger(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
convertToJsonArray() - Method in interface org.spincast.core.json.ToJsonArrayConvertible
Converts the object to a JsonArray.
convertToJsonArray(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Converts the element to a JsonArray.
convertToJsonArray(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
convertToJsonDate(Date) - Method in interface org.spincast.core.json.JsonManager
Converts a Date to a Json date format.
convertToJsonDateFormat(Date) - Method in interface org.spincast.core.utils.ObjectConverter
Converts the date to a String representaiton compatible with the Json specification.
convertToJsonDateFormat(Date) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
convertToJsonObject() - Method in interface org.spincast.core.json.ToJsonObjectConvertible
Converts the object to a JsonObject.
convertToJsonObject(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Converts the element to a JsonObject.
convertToJsonObject(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
convertToJsonObject() - Method in interface org.spincast.core.validation.ValidationMessage
Converts the message to a JsonObject object.
convertToJsonObject() - Method in class org.spincast.core.validation.ValidationMessageDefault
 
convertToJsonObject() - Method in interface org.spincast.core.validation.ValidationSet
Converts the set to a JsonObject object.
convertToJsonObject() - Method in class org.spincast.core.validation.ValidationSetDefault
 
convertToLong(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Converts the element to a Long.
convertToLong(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
convertToNativeType(Object) - Method in interface org.spincast.core.json.JsonManager
Convert a random object to a valid native JsonObject type, if it's not already.
convertToPlainList() - Method in interface org.spincast.core.json.JsonArray
Converts the JsonArray to a plain List<Object>.
convertToPlainList() - Method in class org.spincast.core.json.JsonArrayDefault
 
convertToPlainMap() - Method in interface org.spincast.core.json.JsonObject
Converts the JsonObject to a plain Map.
convertToPlainMap() - Method in class org.spincast.core.json.JsonObjectDefault
 
convertToString(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Converts the element to a JsonObject.
convertToString(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
convertToStringList() - Method in interface org.spincast.core.json.JsonArray
Converts the JsonArray to a List<String>.
convertToStringList() - Method in class org.spincast.core.json.JsonArrayDefault
 
Cookie - Interface in org.spincast.core.cookies
An HTTP cookie.
CookieDefault - Class in org.spincast.core.cookies
 
CookieDefault(String, SpincastConfig) - Constructor for class org.spincast.core.cookies.CookieDefault
Constructor
CookieDefault(String, String, SpincastConfig) - Constructor for class org.spincast.core.cookies.CookieDefault
Constructor
CookieDefault(String, String, String, String, Date, boolean, boolean, boolean, int, SpincastConfig) - Constructor for class org.spincast.core.cookies.CookieDefault
Constructor
CookieFactory - Interface in org.spincast.core.cookies
Factory to create cookies.
cors(R) - Method in interface org.spincast.core.filters.SpincastFilters
Cross-Origin Resource Sharing (Cors) handling.
cors(R, Set<String>) - Method in interface org.spincast.core.filters.SpincastFilters
Cross-Origin Resource Sharing (Cors) handling.
cors(R, Set<String>, Set<String>) - Method in interface org.spincast.core.filters.SpincastFilters
Cross-Origin Resource Sharing (Cors) handling.
cors(R, Set<String>, Set<String>, Set<String>) - Method in interface org.spincast.core.filters.SpincastFilters
Cross-Origin Resource Sharing (Cors) handling.
cors(R, Set<String>, Set<String>, Set<String>, boolean) - Method in interface org.spincast.core.filters.SpincastFilters
Cross-Origin Resource Sharing (Cors) handling.
cors(R, Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>) - Method in interface org.spincast.core.filters.SpincastFilters
Cross-Origin Resource Sharing (Cors) handling.
cors(R, Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>, int) - Method in interface org.spincast.core.filters.SpincastFilters
Cross-Origin Resource Sharing (Cors) handling.
cors(R) - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
cors(R, Set<String>) - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
cors(R, Set<String>, Set<String>) - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
cors(R, Set<String>, Set<String>, Set<String>) - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
cors(R, Set<String>, Set<String>, Set<String>, boolean) - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
cors(R, Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>) - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
cors(R, Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>, int) - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
cors() - Method in interface org.spincast.core.routing.Router
Enables Cross-Origin Resource Sharing (Cors) on all matching requests (except the static resources, for whom cors has to be activated directly!)
cors(Set<String>) - Method in interface org.spincast.core.routing.Router
Enables Cross-Origin Resource Sharing (Cors) on matching requests (except the static resources, for whom cors has to be activated directly!)
cors(Set<String>, Set<String>) - Method in interface org.spincast.core.routing.Router
Enables Cross-Origin Resource Sharing (Cors) on matching requests (except the static resources, for whom cors has to be activated directly!)
cors(Set<String>, Set<String>, Set<String>) - Method in interface org.spincast.core.routing.Router
Enables Cross-Origin Resource Sharing (Cors) on matching requests (except the static resources, for whom cors has to be activated directly!)
cors(Set<String>, Set<String>, Set<String>, boolean) - Method in interface org.spincast.core.routing.Router
Enables Cross-Origin Resource Sharing (Cors) on matching requests (except the static resources, for whom cors has to be activated directly!)
cors(Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>) - Method in interface org.spincast.core.routing.Router
Enables Cross-Origin Resource Sharing (Cors) on matching requests (except the static resources, for whom cors has to be activated directly!)
cors(Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>, int) - Method in interface org.spincast.core.routing.Router
Enables Cross-Origin Resource Sharing (Cors) on matching requests (except the static resources, for whom cors has to be activated directly!)
cors(String) - Method in interface org.spincast.core.routing.Router
Enables Cross-Origin Resource Sharing (Cors) on all requests matching the specified path (except the static resources, for whom cors has to be activated directly!)
cors(String, Set<String>) - Method in interface org.spincast.core.routing.Router
Enables Cross-Origin Resource Sharing (Cors) on requests matching the specified path (except the static resources, for whom cors has to be activated directly!)
cors(String, Set<String>, Set<String>) - Method in interface org.spincast.core.routing.Router
Enables Cross-Origin Resource Sharing (Cors) on requests matching the specified path (except the static resources, for whom cors has to be activated directly!)
cors(String, Set<String>, Set<String>, Set<String>) - Method in interface org.spincast.core.routing.Router
Enables Cross-Origin Resource Sharing (Cors) on requests matching the specified path (except the static resources, for whom cors has to be activated directly!)
cors(String, Set<String>, Set<String>, Set<String>, boolean) - Method in interface org.spincast.core.routing.Router
Enables Cross-Origin Resource Sharing (Cors) on requests matching the specified path (except the static resources, for whom cors has to be activated directly!)
cors(String, Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>) - Method in interface org.spincast.core.routing.Router
Enables Cross-Origin Resource Sharing (Cors) on requests matching the specified path (except the static resources, for whom cors has to be activated directly!)
cors(String, Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>, int) - Method in interface org.spincast.core.routing.Router
Enables Cross-Origin Resource Sharing (Cors) on requests matching the specified path (except the static resources, for whom cors has to be activated directly!)
cors() - Method in interface org.spincast.core.routing.StaticResourceBuilder
Enables Cross-Origin Resource Sharing (Cors)
cors(Set<String>) - Method in interface org.spincast.core.routing.StaticResourceBuilder
Enables Cross-Origin Resource Sharing (Cors)
cors(Set<String>, Set<String>) - Method in interface org.spincast.core.routing.StaticResourceBuilder
Enables Cross-Origin Resource Sharing (Cors)
cors(Set<String>, Set<String>, Set<String>) - Method in interface org.spincast.core.routing.StaticResourceBuilder
Enables Cross-Origin Resource Sharing (Cors)
cors(Set<String>, Set<String>, Set<String>, boolean) - Method in interface org.spincast.core.routing.StaticResourceBuilder
Enables Cross-Origin Resource Sharing (Cors)
cors(Set<String>, Set<String>, Set<String>, boolean, int) - Method in interface org.spincast.core.routing.StaticResourceBuilder
Enables Cross-Origin Resource Sharing (Cors)
corsAddAllowCookies(CorsFilterClient) - Method in class org.spincast.core.filters.CorsFilterDefault
 
corsAddAllowMethods(CorsFilterClient, Set<HttpMethod>) - Method in class org.spincast.core.filters.CorsFilterDefault
 
corsAddAllowOrigin(CorsFilterClient) - Method in class org.spincast.core.filters.CorsFilterDefault
 
corsAddExtraHeadersAllowedToBeRead(CorsFilterClient, Set<String>) - Method in class org.spincast.core.filters.CorsFilterDefault
 
corsAddExtraHeadersAllowedToBeSent(CorsFilterClient, Set<String>) - Method in class org.spincast.core.filters.CorsFilterDefault
 
corsAddMaxAge(CorsFilterClient, int) - Method in class org.spincast.core.filters.CorsFilterDefault
 
corsCore(CorsFilterClient, Set<String>, boolean) - Method in class org.spincast.core.filters.CorsFilterDefault
 
CorsFilter - Interface in org.spincast.core.filters
Filter to validate if a request contains valid cors headers and, if so, add the required headers as a response.
CorsFilterClient - Interface in org.spincast.core.filters
Interface for a client of the Cors filter.
CorsFilterDefault - Class in org.spincast.core.filters
Cors filter implementation.
CorsFilterDefault() - Constructor for class org.spincast.core.filters.CorsFilterDefault
 
CorsFilterResponse - Enum in org.spincast.core.filters
A response from the cors filter.
create() - Method in interface org.spincast.core.json.JsonManager
Creates an empty JsonObject
create() - Method in interface org.spincast.core.json.JsonObjectFactory
Creates an empty and mutable JsonObject.
create(Map<String, Object>, boolean) - Method in interface org.spincast.core.json.JsonObjectFactory
Creates an JonObject based on the specified Map.
create(JsonObject, boolean) - Method in interface org.spincast.core.json.JsonObjectFactory
Creates an JonObject based on the specified JsonObject.
create(String) - Method in interface org.spincast.core.routing.ETagFactory
Creates a strong ETag, using a specific tag.
create(String, boolean) - Method in interface org.spincast.core.routing.ETagFactory
Creates a strong or weak ETag, using a specific tag.
create(String, boolean, boolean) - Method in interface org.spincast.core.routing.ETagFactory
Creates a strong or weak ETag, using a specific tag.
create(Router<R, W>, String) - Method in interface org.spincast.core.routing.RedirectRuleBuilderFactory
 
create(Handler<R>) - Method in interface org.spincast.core.routing.RouteBuilder
Creates and returns the route without adding it to the router.
create() - Method in interface org.spincast.core.routing.RouteBuilderFactory
Creates a route builder without using a router.
create(Router<R, W>) - Method in interface org.spincast.core.routing.RouteBuilderFactory
Creates a route builder using the specified router.
create() - Method in interface org.spincast.core.routing.StaticResourceBuilder
Creates and returns the static resource without adding it to the router.
create(boolean) - Method in interface org.spincast.core.routing.StaticResourceBuilderFactory
Creates a static resources builder by specifying if the resource to build is a file or a directory, but without using a router.
create(Router<R, W>, boolean) - Method in interface org.spincast.core.routing.StaticResourceBuilderFactory
Creates a static resources builder by specifying if the resource to build is a file or a directory.
create(StaticResourceType, String, String, Handler<R>, StaticResourceCorsConfig, StaticResourceCacheConfig, boolean) - Method in interface org.spincast.core.routing.StaticResourceFactory
 
create(FlashMessageLevel, String) - Method in interface org.spincast.core.session.FlashMessageFactory
 
create(FlashMessageLevel, String, JsonObject) - Method in interface org.spincast.core.session.FlashMessageFactory
 
create(String, String, WebsocketPeerManager) - Method in interface org.spincast.core.websocket.WebsocketContextFactory
 
create(String, WebsocketController<R, W>) - Method in interface org.spincast.core.websocket.WebsocketEndpointHandlerFactory
 
create(WebsocketController<R, W>) - Method in interface org.spincast.core.websocket.WebsocketRouteBuilder
Creates and returns the WebSocket route without adding it to the router.
create() - Method in interface org.spincast.core.websocket.WebsocketRouteBuilderFactory
Creates a route builder without using a router.
create(Router<R, W>) - Method in interface org.spincast.core.websocket.WebsocketRouteBuilderFactory
Creates a WebSocket route builder using the specified router.
createArray() - Method in interface org.spincast.core.json.JsonManager
Creates an empty JsonArray.
createArray() - Method in interface org.spincast.core.json.JsonObjectFactory
Creates an empty and mutable JsonArray.
createArray(List<Object>, boolean) - Method in interface org.spincast.core.json.JsonObjectFactory
Creates a JsonArray based on the List.
createControllerKey(WebsocketController<?, ?>) - Method in class org.spincast.core.websocket.WebsocketEndpointToControllerManagerDefault
 
createCookie(String) - Method in interface org.spincast.core.cookies.CookieFactory
Creates a cookie using the given name (null value).
createCookie(String, String) - Method in interface org.spincast.core.cookies.CookieFactory
Creates a cookie using the given name and value.
createCookie(String, String, String, String, Date, boolean, boolean, boolean, int) - Method in interface org.spincast.core.cookies.CookieFactory
Creates a cookie using all available configurations.
createCookie(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Creates a cookie using the given name (null value).
createCorsFilterClient(R, Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>, int) - Method in class org.spincast.core.filters.SpincastFiltersDefault
Creates a client for the cors filter.
createdGuiceInjector(Injector) - Method in class org.spincast.core.guice.GuiceTweaker
 
createdGuiceInjector(Injector) - Method in interface org.spincast.core.guice.SpincastPlugin
Once all the plugins have been applied, this method is called with the resulting Guice injector.
createdGuiceInjector(Injector) - Method in class org.spincast.core.guice.SpincastPluginBase
 
createForwardedRequestContext(R, String) - Method in class org.spincast.core.controllers.SpincastFrontController
 
createHttpAuthenticationRealm(String, String) - Method in interface org.spincast.core.server.Server
Creates HTTP authentication protection (realm) for the specified path prefix.
createInterceptorModule(Class<T>, Class<? extends T>) - Static method in class org.spincast.core.guice.GuiceModuleUtils
Creates a module that is going to intercept the calls to all methods defined in an object implementing toIntercept and will call those of implementationClass instead, if available.
createJsonArrayValidationBuilderKey(ValidationSet, JsonArray, SimpleValidator) - Method in interface org.spincast.core.validation.ValidationFactory
Creates a JsonArrayValidationBuilderKey.
createJsonArrayValidationSet(JsonArray) - Method in interface org.spincast.core.validation.ValidationFactory
Creates a validation set which is binded to the specified JsonArray.
createJsonObjectValidationBuilderKey(ValidationSet, JsonObjectOrArray, SimpleValidator) - Method in interface org.spincast.core.validation.ValidationFactory
Creates a JsonObjectValidationBuilderKey.
createJsonObjectValidationSet(JsonObject) - Method in interface org.spincast.core.validation.ValidationFactory
Creates a validation set which is binded to the specified JsonObject.
createMessage(ValidationLevel, String, String) - Method in interface org.spincast.core.validation.ValidationFactory
Creates a validation message.
createPlaceholder(String) - Method in interface org.spincast.core.templating.TemplatingEngine
Creates a placeholder using the current templating engine implementation.
createPlaceholder(String) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Creates a placeholder using the current templating engine implementation.
createRequestContext(Object) - Method in interface org.spincast.core.exchange.RequestContextFactory
 
createSSLContext(String, String, String, String) - Method in interface org.spincast.core.utils.ssl.SSLContextFactory
 
createSSLContext(String, String, String, String) - Method in class org.spincast.core.utils.ssl.SSLContextFactoryDefault
 
createSSLContext(KeyManager[], TrustManager[]) - Method in class org.spincast.core.utils.ssl.SSLContextFactoryDefault
 
createValidationBuilderArray(ValidationSet, SimpleValidator, String, JsonArray) - Method in interface org.spincast.core.validation.ValidationFactory
Creates a ValidationBuilderArray.
createValidationBuilderArray(ValidationSet, SimpleValidator, String, JsonArray, boolean) - Method in interface org.spincast.core.validation.ValidationFactory
Creates a ValidationBuilderArray.
createValidationBuilderCore(ValidationSet, SimpleValidator, String, Object) - Method in interface org.spincast.core.validation.ValidationFactory
Creates a ValidationBuilderCore.
createValidationBuilderKey(ValidationSet, SimpleValidator) - Method in interface org.spincast.core.validation.ValidationFactory
Creates a ValidationBuilderKey.
createValidationBuilderTarget(ValidationSet, SimpleValidator, String) - Method in interface org.spincast.core.validation.ValidationFactory
Creates a ValidationBuilderTarget.
createValidationSet() - Method in interface org.spincast.core.validation.ValidationFactory
Creates a new, empty, validation set.
createValidationSet(String, List<ValidationMessage>) - Method in interface org.spincast.core.validation.ValidationFactory
Creates a validation set and add the existing Validation Messages using the validationKey key.
createValidationSet(String, ValidationMessage) - Method in interface org.spincast.core.validation.ValidationFactory
Creates a validation set and add the existing Validation Message using the validationKey key.
createValidationSet() - Method in interface org.spincast.core.validation.ValidationSet
Creates a new, empty, validation set.
createValidationSet() - Method in class org.spincast.core.validation.ValidationSetDefault
 
createWebsocketEndpointHandler(String, WebsocketController<R, W>) - Method in class org.spincast.core.websocket.WebsocketRouteHandler
 
createWebsocketPeerManager(String) - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
Creates a peer specific manager from the endpoint manager.
createWebsocketRouteHandler(WebsocketRoute<R, W>) - Method in interface org.spincast.core.websocket.WebsocketRouteHandlerFactory
 
customExceptionHandling(Throwable, R, RoutingResult<R>) - Method in class org.spincast.core.controllers.SpincastFrontController
Custom exception handling.
CustomStatusCodeException - Interface in org.spincast.core.exceptions
An exception on which it is possible to specify the response status code to send to the user.
CustomStatusCodeExceptionDefault - Exception in org.spincast.core.exceptions
 
CustomStatusCodeExceptionDefault() - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
 
CustomStatusCodeExceptionDefault(String) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
 
CustomStatusCodeExceptionDefault(String, int) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
 
CustomStatusCodeExceptionDefault(boolean) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
 
CustomStatusCodeExceptionDefault(String, boolean) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
 
CustomStatusCodeExceptionDefault(String, int, boolean) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
 

D

DEFAULT_GLOBAL_TEMPLATING_VAR_KEY_ALERTS - Static variable in class org.spincast.core.config.SpincastConstants.TemplatingGlobalVariables
 
DEFAULT_GLOBAL_TEMPLATING_VAR_KEY_CACHE_BUSTER - Static variable in class org.spincast.core.config.SpincastConstants.TemplatingGlobalVariables
 
DEFAULT_GLOBAL_TEMPLATING_VAR_KEY_COOKIES - Static variable in class org.spincast.core.config.SpincastConstants.TemplatingGlobalVariables
 
DEFAULT_GLOBAL_TEMPLATING_VAR_KEY_FULL_URL - Static variable in class org.spincast.core.config.SpincastConstants.TemplatingGlobalVariables
 
DEFAULT_GLOBAL_TEMPLATING_VAR_KEY_IS_HTTPS - Static variable in class org.spincast.core.config.SpincastConstants.TemplatingGlobalVariables
 
DEFAULT_GLOBAL_TEMPLATING_VAR_KEY_LANG_ABREV - Static variable in class org.spincast.core.config.SpincastConstants.TemplatingGlobalVariables
 
DEFAULT_GLOBAL_TEMPLATING_VAR_KEY_PATH_PARAMS - Static variable in class org.spincast.core.config.SpincastConstants.TemplatingGlobalVariables
 
DEFAULT_GLOBAL_TEMPLATING_VAR_KEY_QUERYSTRING_PARAMS - Static variable in class org.spincast.core.config.SpincastConstants.TemplatingGlobalVariables
 
DEFAULT_GLOBAL_TEMPLATING_VAR_KEY_REQUEST_SCOPED_VARIABLES - Static variable in class org.spincast.core.config.SpincastConstants.TemplatingGlobalVariables
 
DEFAULT_GLOBAL_TEMPLATING_VAR_KEY_ROUTE_ID - Static variable in class org.spincast.core.config.SpincastConstants.TemplatingGlobalVariables
 
DEFAULT_GLOBAL_TEMPLATING_VAR_KEY_SPINCAST_CURRENT_VERSION - Static variable in class org.spincast.core.config.SpincastConstants.TemplatingGlobalVariables
 
DEFAULT_GLOBAL_TEMPLATING_VAR_KEY_SPINCAST_CURRENT_VERSION_IS_SNAPSHOT - Static variable in class org.spincast.core.config.SpincastConstants.TemplatingGlobalVariables
 
DEFAULT_GLOBAL_TEMPLATING_VAR_ROOT_SPINCAST_MAP - Static variable in class org.spincast.core.config.SpincastConstants.TemplatingGlobalVariables
 
DEFAULT_RESPONSE_MODEL_VAR_ALERTS - Static variable in class org.spincast.core.config.SpincastConstants.ResponseModelVariables
 
DEFAULT_ROUTE_PATH - Static variable in interface org.spincast.core.routing.Router
The default path used when Spincast creates routes by itself.
defaultElementValidator - Variable in class org.spincast.core.json.JsonObjectArrayBase
 
defaultExceptionHandling(Object, Throwable) - Method in class org.spincast.core.controllers.SpincastFrontController
Default exception handling.
defaultPrivateExceptionHandling(Object, Throwable) - Method in class org.spincast.core.controllers.SpincastFrontController
Default exception handling for private exceptions
defaultPublicExceptionHandling(Object, PublicException) - Method in class org.spincast.core.controllers.SpincastFrontController
Default exception handling for exceptions with public information.
DefaultRequestContext - Interface in org.spincast.core.exchange
The unparamaterized interface for the default request context.
DefaultRequestContextDefault - Class in org.spincast.core.exchange
The default implementation of the request context.
DefaultRequestContextDefault(Object, RequestContextBaseDeps<DefaultRequestContext>) - Constructor for class org.spincast.core.exchange.DefaultRequestContextDefault
 
DefaultRouteParamAliasesBinder<R extends RequestContext<?>,W extends WebsocketContext<?>> - Class in org.spincast.core.routing
Component that binds some default route parameter aliases.
DefaultRouteParamAliasesBinder() - Constructor for class org.spincast.core.routing.DefaultRouteParamAliasesBinder
 
DefaultWebsocketContext - Interface in org.spincast.core.websocket
The unparamaterized interface for the default WebSocket context.
DefaultWebsocketContextDefault - Class in org.spincast.core.websocket
The default WebSocket context to pass to a WebSocket controller when an event arrives (a message is received from the peer, for example).
DefaultWebsocketContextDefault(String, String, WebsocketPeerManager, WebsocketContextBaseDeps<DefaultWebsocketContext>) - Constructor for class org.spincast.core.websocket.DefaultWebsocketContextDefault
 
DefaultWebsocketRoute - Interface in org.spincast.core.websocket
Default WebSocket route.
DELETE() - Method in interface org.spincast.core.routing.RouteBuilder
Adds DELETE as a supported HTTP method.
DELETE(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a DELETE route.
deleteAllCookies() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Deletes all cookies! Not only the new cookies that have been added to the response, but also the cookies that have been received in the request!
deleteAllTemplatingGlobalVariables() - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Deletes all global templating variables.
deleteCookie(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Deletes a cookie.
deleteTemplatingGlobalVariable(String) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Deletes a global templating variable.
deserializeHeaderValue(String) - Method in interface org.spincast.core.routing.ETagFactory
Creates an ETag object from an already formatted ETag header.
dir(String) - Method in interface org.spincast.core.routing.Router
Start the creation of a static resource directory.
disableBindCurrentClass() - Method in class org.spincast.core.guice.GuiceTweaker
 

E

element - Variable in class org.spincast.core.json.JsonObjectArrayBase.JsonPathCachingItem
 
element(Object) - Method in interface org.spincast.core.validation.ValidationBuilderTarget
The element to validate.
element(Object) - Method in class org.spincast.core.validation.ValidationBuilderTargetDefault
 
ElementTransformer - Interface in org.spincast.core.json
Transforms an element.
end() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Flushes everything and closes the response.
end(Object) - Method in interface org.spincast.core.server.Server
Ends the exchange.
enter() - Method in class org.spincast.core.guice.SpincastRequestScope
 
eTag(String) - Method in interface org.spincast.core.exchange.CacheHeadersRequestContextAddon
Specifies the current ETag (strong) of the resource.
eTag(String, boolean) - Method in interface org.spincast.core.exchange.CacheHeadersRequestContextAddon
Specifies the current strong or weak ETag of the resource.
eTag(String, boolean, boolean) - Method in interface org.spincast.core.exchange.CacheHeadersRequestContextAddon
Specifies the current strong or weak ETag of the resource.
ETag - Interface in org.spincast.core.routing
Represents an HTTP ETag.
ETagFactory - Interface in org.spincast.core.routing
Factory for ETags
evaluate(String, Map<String, Object>) - Method in interface org.spincast.core.templating.TemplatingEngine
Evaluates the content, using the given parameters.
evaluate(String, Map<String, Object>, Locale) - Method in interface org.spincast.core.templating.TemplatingEngine
Evaluates the content, using the given parameters.
evaluate(String, JsonObject) - Method in interface org.spincast.core.templating.TemplatingEngine
Evaluates the content, using the given parameters.
evaluate(String, JsonObject, Locale) - Method in interface org.spincast.core.templating.TemplatingEngine
Evaluates the content, using the given parameters.
evaluate(String, Map<String, Object>) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Evaluates some content using the given parameters.
evaluate(String, Map<String, Object>, Locale) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Evaluates some content using the given parameters.
evaluate(String, JsonObject) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Evaluates some content using the given parameters.
evaluate(String, JsonObject, Locale) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Evaluates some content using the given parameters.
exactBindingToRemove(Key<?>) - Method in class org.spincast.core.guice.GuiceTweaker
An exact binding to remove from the combined modules.
EXCEPTION - Static variable in class org.spincast.core.config.SpincastConstants.RequestScopedVariables
If an "Exception" route is run, this variable will contain the exception that occured.
exception() - Method in interface org.spincast.core.routing.RouteBuilder
This route will be considered during an Exception routing process.
exception(Handler<R>) - Method in interface org.spincast.core.routing.Router
Creates a route considered during an "Exception" routing process.
exception(String, Handler<R>) - Method in interface org.spincast.core.routing.Router
Creates a route considered during an "Exception" routing process.
exception_default_message() - Method in interface org.spincast.core.config.SpincastDictionary
The message to display if the default Exception route is used.
exchange() - Method in interface org.spincast.core.exchange.RequestContext
The underlying exchange object, as given by the HTTP server.
exchange() - Method in class org.spincast.core.exchange.RequestContextBase
 
exists - Variable in class org.spincast.core.json.JsonObjectArrayBase.JsonPathCachingItem
 
exit() - Method in class org.spincast.core.guice.SpincastRequestScope
 

F

failMessageText(String) - Method in interface org.spincast.core.validation.ValidationBuilderCoreBase
Instead of the default one, use the specified text for the validation Message in case of a failure.
failMessageText(String) - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
FALSE - Static variable in class org.spincast.core.utils.Bool
 
file(String) - Method in interface org.spincast.core.routing.Router
Start the creation of a static resource file.
findRouteMatch(R) - Method in class org.spincast.core.controllers.SpincastFrontController
Find the route handlers to call.
FlashMessage - Interface in org.spincast.core.session
A Flash message.
FlashMessageDefault - Class in org.spincast.core.session
 
FlashMessageDefault(FlashMessageLevel, String, JsonManager) - Constructor for class org.spincast.core.session.FlashMessageDefault
 
FlashMessageDefault(FlashMessageLevel, String, JsonObject, JsonManager) - Constructor for class org.spincast.core.session.FlashMessageDefault
 
FlashMessageFactory - Interface in org.spincast.core.session
Factory to create Flash Messages.
FlashMessageLevel - Enum in org.spincast.core.session
The potential levels of a Flash message.
FlashMessagesHolder - Interface in org.spincast.core.session
Currently used to save the Flash Messages between the time a page sets one, and the time the next page displays it.
FlashMessagesHolderDefault - Class in org.spincast.core.session
TODO Use a Session?
FlashMessagesHolderDefault() - Constructor for class org.spincast.core.session.FlashMessagesHolderDefault
 
flush() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Flushes the current response.
flush(boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Flushes the current response.
flushBytes(Object, byte[], boolean) - Method in interface org.spincast.core.server.Server
Flushes some bytes to the response.
forceRequestSizeValidation(Object) - Method in interface org.spincast.core.server.Server
Is the request size valid?
FORWARD_ROUTE_EXCEPTION_MESSAGE - Static variable in class org.spincast.core.config.SpincastConstants.RequestScopedVariables
If a request is forwaded, this is going to be the forwarding message (taken from the ForwardRouteException exception) The associated value is of type: String.
FORWARD_ROUTE_URL - Static variable in class org.spincast.core.config.SpincastConstants.RequestScopedVariables
When a route is forwarded, this is the new URL.
ForwardRouteException - Exception in org.spincast.core.exceptions
Exception that will forward the request to another route.
ForwardRouteException(String) - Constructor for exception org.spincast.core.exceptions.ForwardRouteException
 
ForwardRouteException(String, boolean) - Constructor for exception org.spincast.core.exceptions.ForwardRouteException
 
ForwardRouteException(String, String) - Constructor for exception org.spincast.core.exceptions.ForwardRouteException
 
ForwardRouteException(String, String, boolean) - Constructor for exception org.spincast.core.exceptions.ForwardRouteException
 
found() - Method in interface org.spincast.core.routing.RouteBuilder
This route will be considered during a Found routing process.
from(boolean) - Static method in class org.spincast.core.utils.Bool
 
fromClasspathFile(String) - Method in interface org.spincast.core.json.JsonManager
Creates a JsonObject from a classpath Json file.
fromFile(File) - Method in interface org.spincast.core.json.JsonManager
Creates a JsonObject from a Json file.
fromFile(String) - Method in interface org.spincast.core.json.JsonManager
Creates a JsonObject from the path of a file, on the file system.
fromInputStream(InputStream) - Method in interface org.spincast.core.json.JsonManager
Creates a JsonObject from an inputStream.
fromInputStream(InputStream, Class<T>) - Method in interface org.spincast.core.json.JsonManager
Creates an instance of the specified T type from a Json inputStream.
fromInputStreamArray(InputStream) - Method in interface org.spincast.core.json.JsonManager
Creates a JsonArray from an inputStream.
fromInputStreamToMap(InputStream) - Method in interface org.spincast.core.json.JsonManager
Creates a Map<String, Object> from a Json inputStream.
fromListArray(List<?>) - Method in interface org.spincast.core.json.JsonManager
Creates a JsonArray from a List of elements.
fromMap(Map<String, ?>) - Method in interface org.spincast.core.json.JsonManager
Creates an empty JsonObject based on the specified Map.
fromMap(Map<String, ?>, boolean) - Method in interface org.spincast.core.json.JsonManager
Creates an empty JsonObject based on the specified Map.
fromString(String) - Method in interface org.spincast.core.json.JsonManager
Creates a JsonObject from a Json String.
fromString(String, Class<T>) - Method in interface org.spincast.core.json.JsonManager
Creates an instance of the specified T type from a Json String.
fromString(String) - Static method in enum org.spincast.core.utils.ContentTypeDefaults
 
fromStringArray(String) - Method in interface org.spincast.core.json.JsonManager
Creates a JsonArray from a Json String.
fromStringToMap(String) - Method in interface org.spincast.core.json.JsonManager
Creates a Map<String, Object> from a Json String.
fromStringValue(String) - Static method in enum org.spincast.core.routing.HttpMethod
Returns a HttpMethod from its String representation, or null if not found.
fromTemplate(String, Map<String, Object>) - Method in interface org.spincast.core.templating.TemplatingEngine
Evaluates a template using the given parameters.
fromTemplate(String, Map<String, Object>, Locale) - Method in interface org.spincast.core.templating.TemplatingEngine
Evaluates a template using the given parameters.
fromTemplate(String, JsonObject) - Method in interface org.spincast.core.templating.TemplatingEngine
Evaluates a template using the parameters specified as a JsonObject.
fromTemplate(String, JsonObject, Locale) - Method in interface org.spincast.core.templating.TemplatingEngine
Evaluates a template using the parameters specified as a JsonObject.
fromTemplate(String, boolean, Map<String, Object>) - Method in interface org.spincast.core.templating.TemplatingEngine
Evaluates a template using the given parameters.
fromTemplate(String, boolean, Map<String, Object>, Locale) - Method in interface org.spincast.core.templating.TemplatingEngine
Evaluates a template using the given parameters.
fromTemplate(String, boolean, JsonObject) - Method in interface org.spincast.core.templating.TemplatingEngine
Evaluates a template using the parameters specified as a JsonObject.
fromTemplate(String, boolean, JsonObject, Locale) - Method in interface org.spincast.core.templating.TemplatingEngine
Evaluates a template using the parameters specified as a JsonObject.
fromTemplate(String, Map<String, Object>) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Renders a template using the given parameters.
fromTemplate(String, Map<String, Object>, Locale) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Renders a template usgin the given parameters.
fromTemplate(String, boolean, Map<String, Object>) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Renders a template using the given parameters.
fromTemplate(String, boolean, Map<String, Object>, Locale) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Renders a template usgin the given parameters.
fromTemplate(String, JsonObject) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Renders a template using the given parameters.
fromTemplate(String, JsonObject, Locale) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Renders a template usgin the given parameters.
fromTemplate(String, boolean, JsonObject) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Renders a template using the given parameters.
fromTemplate(String, boolean, JsonObject, Locale) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Renders a template usgin the given parameters.
fromXml(String) - Method in interface org.spincast.core.xml.XmlManager
Deserializes a XML to an JsonObject.
fromXml(String, Class<T>) - Method in interface org.spincast.core.xml.XmlManager
Deserializes a XML to the given Class.
fromXmlInputStream(InputStream, Class<T>) - Method in interface org.spincast.core.xml.XmlManager
Deserializes a XML inputstream to the given Type.
fromXmlToJsonArray(String) - Method in interface org.spincast.core.xml.XmlManager
Deserializes a XML to an JsonArray.
fromXmlToType(String, Type) - Method in interface org.spincast.core.xml.XmlManager
Deserializes a XML to the given Type.
FrontController - Interface in org.spincast.core.controllers
The front controller is called by the HTTP server when a request for something else than a static resource arrives.

G

generatePeerId(R, String) - Method in class org.spincast.core.websocket.WebsocketRouteHandler
Generate a peer id when none is specified by the controller.
geNumericAliasKey() - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
Numeric alias
geNumericPlusAliasKey() - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
Numeric + "_" and "-" alias
get(Class<T>) - Method in interface org.spincast.core.exchange.RequestContext
Shortcut to get an instance from Guice.
get(Key<T>) - Method in interface org.spincast.core.exchange.RequestContext
Shortcut to get an instance from Guice.
get(Class<T>) - Method in class org.spincast.core.exchange.RequestContextBase
 
get(Key<T>) - Method in class org.spincast.core.exchange.RequestContextBase
 
get(String) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
Gets the specified request scoped variable.
get(String, Class<T>) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
Gets the specified request scoped variable as the specified class.
get(String, Key<T>) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
Gets the specified request scoped variable as the specified Key.
get(JsonArray, boolean, T) - Method in interface org.spincast.core.json.JsonObjectDefault.IFirstElementGetter
 
GET() - Method in interface org.spincast.core.routing.RouteBuilder
Addss GET as a supported HTTP method.
GET(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a GET route.
get(Class<T>) - Method in interface org.spincast.core.websocket.WebsocketContext
Shortcut to get an instance from Guice.
get(Key<T>) - Method in interface org.spincast.core.websocket.WebsocketContext
Shortcut to get an instance from Guice.
get(Class<T>) - Method in class org.spincast.core.websocket.WebsocketContextBase
 
get(Key<T>) - Method in class org.spincast.core.websocket.WebsocketContextBase
 
getAcceptedContentTypes() - Method in interface org.spincast.core.routing.Route
The Content-Types this route accepts (names all lowercased).
getActualType() - Method in exception org.spincast.core.exceptions.CantCompareException
 
getActualType() - Method in exception org.spincast.core.exceptions.CantConvertException
 
getAfterFilters() - Method in interface org.spincast.core.routing.Route
The "after" filters, if any.
getAlertType() - Method in interface org.spincast.core.response.Alert
The type of the Alert message.
getAlertType() - Method in class org.spincast.core.response.AlertDefault
 
getAll() - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
Gets all the request scoped variables.
getAllContentTypesVariations() - Static method in enum org.spincast.core.utils.ContentTypeDefaults
 
getAllMethods(Class<?>) - Static method in class org.spincast.core.utils.SpincastStatics
Gets *all* the methods of a clazz, for all visibilities and for all the parents hierarchy.
getAllMethodsInstance(Class<?>) - Method in class org.spincast.core.utils.SpincastStatics
 
getAllowedMethods() - Method in interface org.spincast.core.filters.CorsFilterClient
The allowed HTTP methods, for the cors request.
getAllowedOrigins() - Method in interface org.spincast.core.filters.CorsFilterClient
The allowed origins, for the cors request.
getAllowedOrigins() - Method in interface org.spincast.core.routing.StaticResourceCorsConfig
The allowed origins.
getAlphaAliasKey() - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
Alpha alias
getAlphaNumericAliasKey() - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
Alphanumeric alias
getAlphaNumericPlusAliasKey() - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
Alphanumeric + "_" and "-" alias
getAlphaPlusAliasKey() - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
Alpha + "_" and "-" alias
getAppJarDirectory() - Method in interface org.spincast.core.utils.SpincastUtils
If the project is running from an executable .jar file, this will return the directory containing this .jar file.
getAppJarDirectory() - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
getAppRootDirectoryNoJar() - Method in interface org.spincast.core.utils.SpincastUtils
If the project is not running from an executable .jar file, this will return the root directory of the project on the file system.
getAppRootDirectoryNoJar() - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
getArrayFirst(int, boolean, T, JsonObjectDefault.IFirstElementGetter<T>) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirst(String, boolean, boolean, T, JsonObjectDefault.IFirstElementGetter<T>) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBigDecimal(int) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as BigDecimal) of a JsonArray element.
getArrayFirstBigDecimal(int, BigDecimal) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as BigDecimal) of a JsonArray element.
getArrayFirstBigDecimal(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstBigDecimal(int, BigDecimal) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstBigDecimal(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBigDecimal(String, BigDecimal) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBigDecimal(String, boolean, boolean, BigDecimal) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBigDecimal(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as BigDecimal) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstBigDecimal(String, BigDecimal) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as BigDecimal) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstBigDecimalNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as BigDecimal) of a JsonArray element .
getArrayFirstBigDecimalNoKeyParsing(String, BigDecimal) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as BigDecimal) of a JsonArray element .
getArrayFirstBigDecimalNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBigDecimalNoKeyParsing(String, BigDecimal) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBoolean(int) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as Boolean) of a JsonArray element.
getArrayFirstBoolean(int, Boolean) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as Boolean) of a JsonArray element.
getArrayFirstBoolean(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstBoolean(int, Boolean) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstBoolean(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBoolean(String, Boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBoolean(String, boolean, boolean, Boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBoolean(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as Boolean) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstBoolean(String, Boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as Boolean) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstBooleanNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as Boolean) of a JsonArray element .
getArrayFirstBooleanNoKeyParsing(String, Boolean) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as Boolean) of a JsonArray element .
getArrayFirstBooleanNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBooleanNoKeyParsing(String, Boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBytesFromBase64String(int) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as byte[]) of a JsonArray element.
getArrayFirstBytesFromBase64String(int, byte[]) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as byte[]) of a JsonArray element.
getArrayFirstBytesFromBase64String(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstBytesFromBase64String(int, byte[]) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstBytesFromBase64String(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBytesFromBase64String(String, byte[]) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBytesFromBase64String(String, boolean, boolean, byte[]) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBytesFromBase64String(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as byte[]) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstBytesFromBase64String(String, byte[]) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as byte[]) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstBytesFromBase64StringNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as byte[]) of a JsonArray element .
getArrayFirstBytesFromBase64StringNoKeyParsing(String, byte[]) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as byte[]) of a JsonArray element .
getArrayFirstBytesFromBase64StringNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstBytesFromBase64StringNoKeyParsing(String, byte[]) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstDate(int) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as Date) of a JsonArray element.
getArrayFirstDate(int, Date) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as Date) of a JsonArray element.
getArrayFirstDate(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstDate(int, Date) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstDate(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstDate(String, Date) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstDate(String, boolean, boolean, Date) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstDate(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as Date) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstDate(String, Date) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as Date) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstDateNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as Date) of a JsonArray element .
getArrayFirstDateNoKeyParsing(String, Date) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as Date) of a JsonArray element.
getArrayFirstDateNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstDateNoKeyParsing(String, Date) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstDouble(int) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as Double) of a JsonArray element.
getArrayFirstDouble(int, Double) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as Double) of a JsonArray element.
getArrayFirstDouble(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstDouble(int, Double) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstDouble(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstDouble(String, Double) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstDouble(String, boolean, boolean, Double) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstDouble(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as Double) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstDouble(String, Double) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as Double) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstDoubleNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as Double) of a JsonArray element .
getArrayFirstDoubleNoKeyParsing(String, Double) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as Double) of a JsonArray element .
getArrayFirstDoubleNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstDoubleNoKeyParsing(String, Double) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstFloat(int) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as Float) of a JsonArray element.
getArrayFirstFloat(int, Float) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as Float) of a JsonArray element.
getArrayFirstFloat(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstFloat(int, Float) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstFloat(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstFloat(String, Float) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstFloat(String, boolean, boolean, Float) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstFloat(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as Float) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstFloat(String, Float) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as Float) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstFloatNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as Float) of a JsonArray element .
getArrayFirstFloatNoKeyParsing(String, Float) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as Float) of a JsonArray element .
getArrayFirstFloatNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstFloatNoKeyParsing(String, Float) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstInteger(int) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as Integer) of a JsonArray element.
getArrayFirstInteger(int, Integer) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as Integer) of a JsonArray element.
getArrayFirstInteger(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstInteger(int, Integer) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstInteger(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstInteger(String, Integer) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstInteger(String, boolean, boolean, Integer) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstInteger(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as Integer) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstInteger(String, Integer) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as Integer) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstIntegerNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as Integer) of a JsonArray element .
getArrayFirstIntegerNoKeyParsing(String, Integer) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as Integer) of a JsonArray element .
getArrayFirstIntegerNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstIntegerNoKeyParsing(String, Integer) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstJsonArray(int) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as JsonArray) of a JsonArray element.
getArrayFirstJsonArray(int, JsonArray) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as JsonArray) of a JsonArray element.
getArrayFirstJsonArray(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstJsonArray(int, JsonArray) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstJsonArray(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstJsonArray(String, JsonArray) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstJsonArray(String, boolean, boolean, JsonArray) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstJsonArray(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as JsonArray) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstJsonArray(String, JsonArray) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as JsonArray) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstJsonArrayNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as JsonArray) of a JsonArray element .
getArrayFirstJsonArrayNoKeyParsing(String, JsonArray) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as JsonArray) of a JsonArray element .
getArrayFirstJsonArrayNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstJsonArrayNoKeyParsing(String, JsonArray) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstJsonObject(int) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as JsonObject) of a JsonArray element.
getArrayFirstJsonObject(int, JsonObject) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as JsonObject) of a JsonArray element.
getArrayFirstJsonObject(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstJsonObject(int, JsonObject) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstJsonObject(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstJsonObject(String, JsonObject) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstJsonObject(String, boolean, boolean, JsonObject) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstJsonObject(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as JsonObject) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstJsonObject(String, JsonObject) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as JsonObject) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstJsonObjectNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as JsonObject) of a JsonArray element .
getArrayFirstJsonObjectNoKeyParsing(String, JsonObject) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as JsonObject) of a JsonArray element .
getArrayFirstJsonObjectNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstJsonObjectNoKeyParsing(String, JsonObject) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstLong(int) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as Long) of a JsonArray element.
getArrayFirstLong(int, Long) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as Long) of a JsonArray element.
getArrayFirstLong(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstLong(int, Long) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstLong(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstLong(String, Long) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstLong(String, boolean, boolean, Long) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstLong(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as Long) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstLong(String, Long) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as Long) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstLongNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as Long) of a JsonArray element .
getArrayFirstLongNoKeyParsing(String, Long) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as Long) of a JsonArray element .
getArrayFirstLongNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstLongNoKeyParsing(String, Long) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstString(int) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as String) of a JsonArray element.
getArrayFirstString(int, String) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as String) of a JsonArray element.
getArrayFirstString(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstString(int, String) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstString(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstString(String, String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstString(String, boolean, boolean, String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstString(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as String) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstString(String, String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as String) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstStringNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as String) of a JsonArray element .
getArrayFirstStringNoKeyParsing(String, String) - Method in interface org.spincast.core.json.JsonObject
Gets the first value (as String) of a JsonArray element .
getArrayFirstStringNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstStringNoKeyParsing(String, String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayItselfAddFailMessageValidationKey() - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
getArrayItselfAddSuccessMessageValidationKey() - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
getArrayItselfCustomErrorMessageText() - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
getArrayItselfCustomFailMessageText() - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
getArrayItselfCustomSuccessMessageText() - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
getArrayItselfDefaultErrorMessageText() - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
getArrayItselfDefaultSuccessMessageText() - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
getArrayItselfDefaultSuccessMessageText() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getArrayItselfDefaultValidationCode() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getArrayItselfDefaultValidationKey(String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getArrayItselfDefaultWarningMessageText() - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
getAsJsonObject(String) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
Gets the specified request scoped variable as JsonObject.
getAsString(String) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
Gets the specified request scoped variable as a String.
getBeforeFilters() - Method in interface org.spincast.core.routing.Route
The "before" filters, if any.
getBeforeFilters() - Method in interface org.spincast.core.websocket.WebsocketRoute
The "before" filters, if any.
getBigDecimal(int) - Method in interface org.spincast.core.json.JsonArray
Gets an element as BigDecimal.
getBigDecimal(int, BigDecimal) - Method in interface org.spincast.core.json.JsonArray
Gets an element as BigDecimal.
getBigDecimal(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getBigDecimal(int, BigDecimal) - Method in class org.spincast.core.json.JsonArrayDefault
 
getBigDecimal(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBigDecimal(String, BigDecimal) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBigDecimal(String, boolean, BigDecimal, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBigDecimal(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as BigDecimal using the specified JsonPath.
getBigDecimal(String, BigDecimal) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as BigDecimal using the specified JsonPath.
getBigDecimalElement(String, boolean, BigDecimal) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBigDecimalFromObject(Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBigDecimalNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets an element as BigDecimal.
getBigDecimalNoKeyParsing(String, BigDecimal) - Method in interface org.spincast.core.json.JsonObject
Gets an element as BigDecimal.
getBigDecimalNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBigDecimalNoKeyParsing(String, BigDecimal) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBindingsHierarchiesToRemove() - Method in class org.spincast.core.guice.GuiceTweaker
 
getBindingTarget(Key<T>) - Method in class org.spincast.core.guice.GuiceModuleUtils
Returns the target of the binding with the specified key.
getBindingTarget(Class<T>) - Method in class org.spincast.core.guice.GuiceModuleUtils
Returns the target of the binding with the specified class/interface.
getBlankValidatorInfo() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getBodyAsByteArray() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The bytes of the request's body.
getBodyAsInputStream() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The raw InputStream of the request's body.
getBodyAsString() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The request's body as a String, using the UTF-8 encoding.
getBodyAsString(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The request's body as a String, using the specified encoding.
getBoolean(int) - Method in interface org.spincast.core.json.JsonArray
Gets an element as Boolean.
getBoolean(int, Boolean) - Method in interface org.spincast.core.json.JsonArray
Gets an element as Boolean.
getBoolean(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getBoolean(int, Boolean) - Method in class org.spincast.core.json.JsonArrayDefault
 
getBoolean(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBoolean(String, Boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBoolean(String, boolean, Boolean, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBoolean(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as Boolean using the specified JsonPath.
getBoolean(String, Boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as Boolean using the specified JsonPath.
getBoolean() - Method in class org.spincast.core.utils.Bool
 
getBooleanElement(String, boolean, Boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBooleanFromObject(Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBooleanNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets an element as Boolean.
getBooleanNoKeyParsing(String, Boolean) - Method in interface org.spincast.core.json.JsonObject
Gets an element as Boolean.
getBooleanNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBooleanNoKeyParsing(String, Boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBoundClasses(Class<? extends T>, Key<?>) - Method in class org.spincast.core.guice.GuiceModuleUtils
 
getBoundClassesExtending(Class<? extends T>) - Method in class org.spincast.core.guice.GuiceModuleUtils
Returns the bound classes that extend or implement the specified parentType.
getBytesFromBase64String(int) - Method in interface org.spincast.core.json.JsonArray
Gets a byte array, from a base 64 encoded element.
getBytesFromBase64String(int, byte[]) - Method in interface org.spincast.core.json.JsonArray
Gets a byte array, from a base 64 encoded element.
getBytesFromBase64String(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getBytesFromBase64String(int, byte[]) - Method in class org.spincast.core.json.JsonArrayDefault
 
getBytesFromBase64String(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBytesFromBase64String(String, byte[]) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBytesFromBase64String(String, boolean, byte[], boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBytesFromBase64String(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets a byte array, from a base 64 encoded element using the specified JsonPath.
getBytesFromBase64String(String, byte[]) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets a byte array, from a base 64 encoded element using the specified JsonPath.
getBytesFromBase64StringElement(String, boolean, byte[]) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBytesFromBase64StringNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets a byte array, from a base 64 encoded element.
getBytesFromBase64StringNoKeyParsing(String, byte[]) - Method in interface org.spincast.core.json.JsonObject
Gets a byte array, from a base 64 encoded element.
getBytesFromBase64StringNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBytesFromBase64StringNoKeyParsing(String, byte[]) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getBytesFromBase64StringValueFromObject(Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getCache() - Method in class org.spincast.core.session.FlashMessagesHolderDefault
 
getCacheBusterCode() - Method in interface org.spincast.core.utils.SpincastUtils
The cache buster to use.
getCacheBusterCode() - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
getCacheCdnSecondsByDefault() - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
getCacheConfig() - Method in interface org.spincast.core.routing.StaticResource
The cache configurations for the static resource.
getCacheExpirationInSeconds() - Method in class org.spincast.core.session.FlashMessagesHolderDefault
 
getCacheHeadersRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBase
 
getCacheHeadersRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
 
getCacheSeconds() - Method in interface org.spincast.core.routing.StaticResourceCacheConfig
The number of seconds to use when sending caching headers.
getCacheSecondsByDefault() - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
getCacheSecondsCdn() - Method in interface org.spincast.core.routing.StaticResourceCacheConfig
The number of seconds to use to cache by CDNs.
getCanBeConvertedToValidator(Class<?>) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
getCanBeConvertedToValidators() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
getCanBeConvertedToValidators() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
getCharactersCharsetName() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
The charset to use to convert characters to bytes.
getCode() - Method in interface org.spincast.core.validation.SimpleValidator
The validation code.
getCode() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
getCode() - Method in interface org.spincast.core.validation.ValidationMessage
The validation code.
getCode() - Method in class org.spincast.core.validation.ValidationMessageDefault
 
getContentType() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The Content-Type of the request, if any.
getContentType() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
The current Content-Type sent or to be send.
getContentTypeBestMatch() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Finds the best Content-Type to use for a response using the "Accept" header of the request.
getContentTypeBestMatch(Object) - Method in interface org.spincast.core.server.Server
Gets the best Content-Type to use for the current request.
getContentTypesToSkipGziping() - Method in interface org.spincast.core.config.SpincastConfig
Even if gziping of the response is enabled, those Content-Types still won't be gzipped.
getController() - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
 
getCookie(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Gets the value of a request cookie by name.
getCookieAdded(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Gets a cookie already added to the response, by its name.
getCookieImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getCookieNameFlashMessage() - Method in interface org.spincast.core.config.SpincastConfig
Name of the Cookie to to use save a Flash Message id.
getCookieNameLocale() - Method in interface org.spincast.core.config.SpincastConfig
Name of the Cookie to use to save the user Locale.
getCookies() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Gets the the request cookies values as a Map, using the names of the cookies as the keys.
getCookies(Object) - Method in interface org.spincast.core.server.Server
Gets the request cookies values.
getCookiesAdded() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Gets the cookies already added to the response as a Map, using their names as the keys.
getCookiesValidatorCookieName() - Method in interface org.spincast.core.config.SpincastConfig
Name of the Cookie to use to validate if cookies are enabled.
getCorsConfig() - Method in interface org.spincast.core.routing.StaticResource
The cors configurations for the static resource.
getCorsDefaultAllowedMethods() - Method in class org.spincast.core.filters.SpincastFiltersDefault
The HTTP methods allowed by default.
getCorsDefaultAllowedOrigins() - Method in class org.spincast.core.filters.SpincastFiltersDefault
The origins allowed, by default.
getCorsDefaultExtraHeadersAllowedToBeRead() - Method in class org.spincast.core.filters.SpincastFiltersDefault
The extra headers allowed to be read, by default,
getCorsDefaultExtraHeadersAllowedToBeSent() - Method in class org.spincast.core.filters.SpincastFiltersDefault
The extra headers allowed to be sent, by default,
getCorsDefaultIsCookiesAllowed() - Method in class org.spincast.core.filters.SpincastFiltersDefault
Are cookies allowed by default?
getCorsDefaultMaxAgeInSeconds() - Method in class org.spincast.core.filters.SpincastFiltersDefault
If <= 0, the "Access-Control-Max-Age" header won't be sent.
getCorsFilter() - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
getCorsFilterClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getCssClassForErrorkey() - Method in class org.spincast.core.validation.ValidationSetDefault
The css class to use for a key's <li> element.
getCssClassForErrorMessage() - Method in class org.spincast.core.validation.ValidationSetDefault
The css class to use for an error message's <li> element.
getCssClassForSuccessMessage() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getCssClassForWarningMessage() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getCurrentManagingControllerKey() - Method in exception org.spincast.core.websocket.exceptions.WebsocketEndpointAlreadyManagedByAnotherControllerException
 
getCurrentRouteHandlerMatch() - Method in interface org.spincast.core.routing.RoutingRequestContextAddon
The current route handler being run (may be a filter) and its associated information.
getCurrentVersionFromPom() - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
getDate(int) - Method in interface org.spincast.core.json.JsonArray
Gets a UTC timezoned date from a ISO 8601 date element.
getDate(int, Date) - Method in interface org.spincast.core.json.JsonArray
Gets a UTC timezoned date from a ISO 8601 date element.
getDate(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getDate(int, Date) - Method in class org.spincast.core.json.JsonArrayDefault
 
getDate(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getDate(String, Date) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getDate(String, boolean, Date, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getDate(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets a UTC timezoned date from a ISO 8601 date element using the specified JsonPath.
getDate(String, Date) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets a UTC timezoned date from a ISO 8601 date element using the specified JsonPath.
getDateElement(String, boolean, Date) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getDateFromIfModifiedSinceHeader() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Return the value of the If-Modified-Since header as a Date or null if it doesn't exist.
getDateFromIfUnmodifiedSinceHeader() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Return the value of the If-Unmodified-Since header as a Date or null if it doesn't exist.
getDateFromObject(Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getDateNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets a UTC timezoned date from a ISO 8601 date element.
getDateNoKeyParsing(String, Date) - Method in interface org.spincast.core.json.JsonObject
Gets a UTC timezoned date from a ISO 8601 date element.
getDateNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getDateNoKeyParsing(String, Date) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getdefaultElementValidator() - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getDefaultErrorMessageText(String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getDefaultExceptionHandlingCharset() - Method in class org.spincast.core.controllers.SpincastFrontController
Charset used by the default exception handling.
getDefaultHeadersAllowedToBeSent() - Method in class org.spincast.core.filters.CorsFilterDefault
 
getDefaultLocale() - Method in interface org.spincast.core.config.SpincastConfig
The default Locale to use if no other Locale can be found as a "best match", for the current request.
getDefaultNotFoundHandler() - Method in class org.spincast.core.controllers.SpincastFrontController
Create the default Not Found handler
getDefaultNotFoundHandlerNotFoundMessage() - Method in class org.spincast.core.controllers.SpincastFrontController
The message to send for the default Not Found handler.
getDefaultRouteCacheFilterSecondsNbr() - Method in interface org.spincast.core.config.SpincastConfig
When using the .cache() method on a route builder, this is the default number of seconds to use.
getDefaultRouteCacheFilterSecondsNbrCdns() - Method in interface org.spincast.core.config.SpincastConfig
When using the .cache() method on a route builder, this is the default number of seconds to use by the CDNs.
getDefaultStaticResourceCacheConfig(boolean) - Method in interface org.spincast.core.config.SpincastConfig
The default cache configurations for the static resource.
getDefaultTemplateVariablesFilterPosition() - Method in interface org.spincast.core.config.SpincastConfig
If addGlobalTemplateVariablesAdderFilter returns true, then this is the position at which the filter will be added.
getDomain() - Method in interface org.spincast.core.cookies.Cookie
Gets the cookie domain.
getDomain() - Method in class org.spincast.core.cookies.CookieDefault
 
getDouble(int) - Method in interface org.spincast.core.json.JsonArray
Gets an element as Double.
getDouble(int, Double) - Method in interface org.spincast.core.json.JsonArray
Gets an element as Double.
getDouble(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getDouble(int, Double) - Method in class org.spincast.core.json.JsonArrayDefault
 
getDouble(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getDouble(String, Double) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getDouble(String, boolean, Double, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getDouble(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as Double using the specified JsonPath.
getDouble(String, Double) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as Double using the specified JsonPath.
getDoubleElement(String, boolean, Double) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getDoubleFromObject(Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getDoubleNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets an element as Double.
getDoubleNoKeyParsing(String, Double) - Method in interface org.spincast.core.json.JsonObject
Gets an element as Double.
getDoubleNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getDoubleNoKeyParsing(String, Double) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getElement(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getElement(String, boolean, Object, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
Gets the element at this key/jsonPath/index.
getElementAtJsonPath(JsonObject, String) - Method in interface org.spincast.core.json.JsonManager
Gets an element from the JsonObject at the specified JsonPath.
getElementAtJsonPath(JsonObject, String, Object) - Method in interface org.spincast.core.json.JsonManager
Gets an element from the JsonObject at the specified JsonPath.
getElementAtJsonPath(JsonArray, String) - Method in interface org.spincast.core.json.JsonManager
Gets an element from the JsonArray at the specified JsonPath.
getElementAtJsonPath(JsonArray, String, Object) - Method in interface org.spincast.core.json.JsonManager
Gets an element from the JsonArray at the specified JsonPath.
getElementAtJsonPath(JsonObject, String) - Method in interface org.spincast.core.json.JsonPathUtils
Gets an element from the JsonObject, at the specified JsonPath.
getElementAtJsonPath(JsonObject, String, Object) - Method in interface org.spincast.core.json.JsonPathUtils
Gets an element from the JsonObject, at the specified JsonPath.
getElementAtJsonPath(JsonArray, String) - Method in interface org.spincast.core.json.JsonPathUtils
Gets an element from the JsonArray, at the specified JsonPath.
getElementAtJsonPath(JsonArray, String, Object) - Method in interface org.spincast.core.json.JsonPathUtils
Gets an element from the JsonArray, at the specified JsonPath.
getElementAtJsonPath(JsonObject, String) - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
getElementAtJsonPath(JsonObject, String, Object) - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
getElementAtJsonPath(JsonArray, String) - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
getElementAtJsonPath(JsonArray, String, Object) - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
getElementNoKeyParsing(String, boolean, Object) - Method in class org.spincast.core.json.JsonArrayDefault
 
getElementNoKeyParsing(String, boolean, Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
Gets the element at this key/index, without key parsing.
getElementNoKeyParsing(String, boolean, Object) - Method in class org.spincast.core.json.JsonObjectDefault
 
getElements() - Method in class org.spincast.core.guice.GuiceModuleUtils
 
getElements() - Method in class org.spincast.core.json.JsonArrayDefault
 
getElementToValidate() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
getEmailValidatorInfo() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getEndpointCreationLock(String) - Method in class org.spincast.core.websocket.WebsocketRouteHandler
 
getEndpointId() - Method in interface org.spincast.core.websocket.WebsocketConnectionConfig
The endpoint id to use.
getEndpointId() - Method in interface org.spincast.core.websocket.WebsocketContext
The id of the endpoint
getEndpointId() - Method in class org.spincast.core.websocket.WebsocketContextBase
 
getEndpointId() - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
 
getEndpointId() - Method in interface org.spincast.core.websocket.WebsocketEndpointManager
The endpoint id
getEndpointManager() - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
 
getEndpointToControllerMap() - Method in class org.spincast.core.websocket.WebsocketEndpointToControllerManagerDefault
 
getEnvironmentName() - Method in interface org.spincast.core.config.SpincastConfig
Returns the name of the environment.
getEquivalentOrGreaterValidator(Object) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getEquivalentOrLessValidator(Object) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getEquivalentValidator(Object) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getErrorMessageText() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
getEtagsFromIfMatchHeader() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Returns the ETags from the If-Match header, if any.
getEtagsFromIfNoneMatchHeader() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Returns the ETags from the If-None-Match header, if any.
getExactBindingsToRemove() - Method in class org.spincast.core.guice.GuiceTweaker
 
getExpires() - Method in interface org.spincast.core.cookies.Cookie
Gets the date the cookie will expire at.
getExpires() - Method in class org.spincast.core.cookies.CookieDefault
 
getExtraHeadersAllowedToBeRead() - Method in interface org.spincast.core.filters.CorsFilterClient
The extra headers allowed to be read, for the cors request.
getExtraHeadersAllowedToBeRead() - Method in interface org.spincast.core.routing.StaticResourceCorsConfig
The extra headers a browser will be allowed to read.
getExtraHeadersAllowedToBeSent() - Method in interface org.spincast.core.filters.CorsFilterClient
The extra headers allowed to be sent, for the cors request.
getExtraHeadersAllowedToBeSent() - Method in interface org.spincast.core.routing.StaticResourceCorsConfig
The extra headers a browser will be allowed to send.
getExtraPlugins() - Method in class org.spincast.core.guice.GuiceTweaker
 
getFailLevel() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
getFailMessage(Object) - Method in interface org.spincast.core.validation.SimpleValidator
The fail message to use.
getFilterIdsToSkip() - Method in interface org.spincast.core.routing.Route
The ids of the filters that should be skipped for this route.
getFilterIdsToSkip() - Method in interface org.spincast.core.websocket.WebsocketRoute
The ids of the filters that should be skipped for this route.
getFlashMessage() - Method in exception org.spincast.core.exceptions.RedirectException
Can be null.
getFlashMessage() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Gets the Flash message, if any.
getFlashMessage(String, boolean) - Method in interface org.spincast.core.session.FlashMessagesHolder
Gets a Flash Message from its id.
getFlashMessage(String, boolean) - Method in class org.spincast.core.session.FlashMessagesHolderDefault
 
getFlashMessageImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getFlashMessagesHolderImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getFlashMessageText() - Method in exception org.spincast.core.exceptions.RedirectException
Can be null.
getFlashMessageType() - Method in exception org.spincast.core.exceptions.RedirectException
Can be null.
getFlashMessageVariables() - Method in exception org.spincast.core.exceptions.RedirectException
Can be null.
getFlashType() - Method in interface org.spincast.core.session.FlashMessage
The type of the Flash message.
getFlashType() - Method in class org.spincast.core.session.FlashMessageDefault
 
getFloat(int) - Method in interface org.spincast.core.json.JsonArray
Gets an element as Float.
getFloat(int, Float) - Method in interface org.spincast.core.json.JsonArray
Gets an element as Float.
getFloat(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getFloat(int, Float) - Method in class org.spincast.core.json.JsonArrayDefault
 
getFloat(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getFloat(String, Float) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getFloat(String, boolean, Float, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getFloat(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as Float using the specified JsonPath.
getFloat(String, Float) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as Float using the specified JsonPath.
getFloatElement(String, boolean, Float) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getFloatFromObject(Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getFloatNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets an element as Float.
getFloatNoKeyParsing(String, Float) - Method in interface org.spincast.core.json.JsonObject
Gets an element as Float.
getFloatNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getFloatNoKeyParsing(String, Float) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getFormData() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The data submitted from a FORM via a POST method, as an immutable JsonObject.
getFormData(Object) - Method in interface org.spincast.core.server.Server
The form data, if any.
getFormDataRaw() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The raw datas submitted from a FORM via a POST method, as a Map.
getFrontControllerKey() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getFullUrl() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Returns the current full URL, including the queryString, if any.
getFullUrl(boolean) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Returns the current full URL, including the queryString, if any.
getFullUrl() - Method in interface org.spincast.core.filters.CorsFilterClient
Gets the full URL of the request.
getFullUrlOriginal() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
If the request has been forwarded, this is going to return the original URL, not the current, forwarded, one.
getFullUrlOriginal(boolean) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
If the request has been forwarded, this is going to return the original URL, not the current, forwarded, one.
getFullUrlOriginal(Object) - Method in interface org.spincast.core.server.Server
The full encoded URL of the original, non proxied, request, including the queryString.
getFullUrlOriginal(Object, boolean) - Method in interface org.spincast.core.server.Server
The full encoded URL of the original, non proxied, request, including the queryString.
getFullUrlProxied() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
If a reverse proxy has been used, this URL will contain the scheme, host and port as forwarded by the reserve proxy, not as seen by the user.
getFullUrlProxied(boolean) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
If a reverse proxy has been used, this URL will contain the scheme, host and port as forwarded by the reserve proxy, not as seen by the user.
getFullUrlProxied(Object) - Method in interface org.spincast.core.server.Server
The full encoded URL of the potentially proxied request, including the queryString.
getFullUrlProxied(Object, boolean) - Method in interface org.spincast.core.server.Server
The full encoded URL of the potentially proxied request, including the queryString.
getGenerator() - Method in interface org.spincast.core.routing.StaticResource
The generator to call to generate this resource if it doesn't exist yet.
getGlobalAfterFiltersRoutes() - Method in interface org.spincast.core.routing.Router
Gets the global "after" filters.
getGlobalBeforeFiltersRoutes() - Method in interface org.spincast.core.routing.Router
Gets the global "before" filters.
getGreaterValidator(Object) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getGzipOption() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
The currently set gzip options.
getHandler() - Method in interface org.spincast.core.routing.RouteHandlerMatch
The route handler.
getHeader(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Returns the values of the specified header from the current request or an empty list if not found.
getHeader(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
The values of a specific response header.
getHeaderFirst(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The first value of the specified header from the current request.
getHeaderFirst(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
The first value of a specific header.
getHeaderFirst(String) - Method in interface org.spincast.core.filters.CorsFilterClient
Gets the first value of an header.
getHeaders() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Returns all headers of the current request.
getHeaders() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
The currently set response headers.
getHeaderValue() - Method in interface org.spincast.core.routing.ETag
Gets the HTTP header value to use for this ETag.
getHttpAuthenticationRealms() - Method in interface org.spincast.core.server.Server
Returns the existing HTTP authentication realms, the key being the realm's name and the value being the prefix path associated to this realm.
getHttpMethod() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Gets the request's HTTP method.
getHttpMethod() - Method in interface org.spincast.core.filters.CorsFilterClient
Gets the request's HTTP method.
getHttpMethod(Object) - Method in interface org.spincast.core.server.Server
Gets the HTTP method associated with the request.
getHttpMethods() - Method in interface org.spincast.core.routing.Route
The HTTP methods this route applies to.
getHttpServerPort() - Method in interface org.spincast.core.config.SpincastConfig
The HTTP (unsecure) port on which the server will listen on.
getHttpsKeyStoreKeyPass() - Method in interface org.spincast.core.config.SpincastConfig
The "keypass" of the KeyStore, for SSL.
getHttpsKeyStorePath() - Method in interface org.spincast.core.config.SpincastConfig
The path to the KeyStore, for SSL.
getHttpsKeyStoreStorePass() - Method in interface org.spincast.core.config.SpincastConfig
The "storepass" of the KeyStore, for SSL.
getHttpsKeyStoreType() - Method in interface org.spincast.core.config.SpincastConfig
The type of the KeyStore, for SSL.
getHttpsServerPort() - Method in interface org.spincast.core.config.SpincastConfig
The HTTPS (secure) port on which the server will listen on.
getId() - Method in class org.spincast.core.guice.GuiceTweaker
 
getId() - Method in class org.spincast.core.guice.SpincastCorePlugin
 
getId() - Method in interface org.spincast.core.guice.SpincastPlugin
The id of the plugin.
getId() - Method in interface org.spincast.core.routing.Route
The route id.
getId() - Method in interface org.spincast.core.websocket.WebsocketRoute
The WebSocket route id.
getInjector() - Method in class org.spincast.core.guice.GuiceTweaker
 
getInjectorProvider() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
 
getInjectorProvider() - Method in class org.spincast.core.websocket.WebsocketContextBaseDeps
 
getInstance() - Static method in class org.spincast.core.utils.SpincastStatics
 
getInstanceFromGuiceCache() - Method in class org.spincast.core.exchange.RequestContextBase
 
getInstanceFromGuiceCache() - Method in class org.spincast.core.websocket.WebsocketContextBase
 
getInteger(int) - Method in interface org.spincast.core.json.JsonArray
Gets an element as Integer.
getInteger(int, Integer) - Method in interface org.spincast.core.json.JsonArray
Gets an element as Integer.
getInteger(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getInteger(int, Integer) - Method in class org.spincast.core.json.JsonArrayDefault
 
getInteger(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getInteger(String, Integer) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getInteger(String, boolean, Integer, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getInteger(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as Integer using the specified JsonPath.
getInteger(String, Integer) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as Integer using the specified JsonPath.
getIntegerElement(String, boolean, Integer) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getIntegerFromObject(Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getIntegerNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets an element as Integer.
getIntegerNoKeyParsing(String, Integer) - Method in interface org.spincast.core.json.JsonObject
Gets an element as Integer.
getIntegerNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getIntegerNoKeyParsing(String, Integer) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getInternalErrorHtmlContent(String) - Method in class org.spincast.core.controllers.SpincastFrontController
 
getInternalErrorJsonContent(String) - Method in class org.spincast.core.controllers.SpincastFrontController
 
getInternalErrorTextContent(String) - Method in class org.spincast.core.controllers.SpincastFrontController
 
getInternalErrorXmlContent(String) - Method in class org.spincast.core.controllers.SpincastFrontController
 
getInvalidTargetType() - Method in exception org.spincast.core.exceptions.CantCompareException
 
getInvalidTargetType() - Method in exception org.spincast.core.exceptions.CantConvertException
 
getIso8601DateParser1() - Static method in class org.spincast.core.utils.SpincastStatics
 
getIso8601DateParser2() - Static method in class org.spincast.core.utils.SpincastStatics
 
getIso8601DateParser3() - Static method in class org.spincast.core.utils.SpincastStatics
 
getIso8601DateParser4() - Static method in class org.spincast.core.utils.SpincastStatics
 
getIso8601DateParser5() - Static method in class org.spincast.core.utils.SpincastStatics
 
getIso8601DateParser6() - Static method in class org.spincast.core.utils.SpincastStatics
 
getIso8601DateParserDefault() - Static method in class org.spincast.core.utils.SpincastStatics
 
getIsOfTypeByteArrayValidator(boolean) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
getIsOfTypeValidator(Class<?>) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
getIsOfTypeValidators() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
getIsOfTypeValidators() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
getJsonArray(int) - Method in interface org.spincast.core.json.JsonArray
Gets an element as JsonArray.
getJsonArray(int, JsonArray) - Method in interface org.spincast.core.json.JsonArray
Gets an element as JsonArray.
getJsonArray(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getJsonArray(int, JsonArray) - Method in class org.spincast.core.json.JsonArrayDefault
 
getJsonArray(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonArray(String, JsonArray) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonArray(String, boolean, JsonArray, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonArray(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as JsonArray using the specified JsonPath.
getJsonArray(String, JsonArray) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as JsonArray using the specified JsonPath.
getJsonArrayFromObject(Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonArrayImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getJsonArrayNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets an element as JsonArray.
getJsonArrayNoKeyParsing(String, JsonArray) - Method in interface org.spincast.core.json.JsonObject
Gets an element as JsonArray.
getJsonArrayNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonArrayNoKeyParsing(String, JsonArray) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonArrayOrEmpty(int) - Method in interface org.spincast.core.json.JsonArray
Gets an element as JsonArray.
getJsonArrayOrEmpty(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getJsonArrayOrEmpty(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonArrayOrEmpty(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as JsonArray using the specified JsonPath.
getJsonArrayOrEmptyNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets an element as JsonArray.
getJsonArrayOrEmptyNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonArrayValidationBuilderKeyImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getJsonArrayValidationSetImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getJsonBody() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The request's body deserialized to an immutable JsonObject.
getJsonBody(Class<T>) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The request's body deserialized to the specified class.
getJsonBodyAsMap() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The request's body deserialized to a Map<String, Object>.
getJsonManager() - Method in class org.spincast.core.controllers.SpincastFrontController
 
getJsonManager() - Method in class org.spincast.core.exchange.RequestContextBase
 
getJsonManager() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
 
getJsonManager() - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonManager() - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
getJsonManager() - Method in class org.spincast.core.session.FlashMessageDefault
 
getJsonManager() - Method in class org.spincast.core.utils.ObjectConverterDefault
 
getJsonManager() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
getJsonManager() - Method in class org.spincast.core.validation.ValidationMessageDefault
 
getJsonManager() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getJsonManager() - Method in class org.spincast.core.websocket.WebsocketContextBaseDeps
 
getJsonObject(int) - Method in interface org.spincast.core.json.JsonArray
Gets an element as JsonObject.
getJsonObject(int, JsonObject) - Method in interface org.spincast.core.json.JsonArray
Gets an element as JsonObject.
getJsonObject(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getJsonObject(int, JsonObject) - Method in class org.spincast.core.json.JsonArrayDefault
 
getJsonObject(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonObject(String, JsonObject) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonObject(String, boolean, JsonObject) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonObject(String, boolean, JsonObject, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonObject(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as JsonObject using the specified JsonPath.
getJsonObject(String, JsonObject) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as JsonObject using the specified JsonPath.
getJsonObjectFromObject(Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonObjectImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getJsonObjectNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets an element as JsonObject.
getJsonObjectNoKeyParsing(String, JsonObject) - Method in interface org.spincast.core.json.JsonObject
Gets an element as JsonObject.
getJsonObjectNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonObjectNoKeyParsing(String, JsonObject) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonObjectOrEmpty(int) - Method in interface org.spincast.core.json.JsonArray
Gets an element as JsonObject.
getJsonObjectOrEmpty(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getJsonObjectOrEmpty(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonObjectOrEmpty(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as JsonObject using the specified JsonPath.
getJsonObjectOrEmptyNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets an element as JsonObject.
getJsonObjectOrEmptyNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getJsonObjectValidationBuilderKeyImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getJsonObjectValidationSetImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getJsonPathArrayIndexMax() - Method in interface org.spincast.core.config.SpincastConfig
Gets the maximum index of an element of an array, when parsing a JsonPath.
getJsonPathArrayIndexMax() - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
getJsonPathCachingMap() - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getKeyManagers(String, String, String, String) - Method in class org.spincast.core.utils.ssl.SSLContextFactoryDefault
 
getKeyMaxLengthWhenConvertingMapToJsonObject() - Method in interface org.spincast.core.config.SpincastConfig
Gets the maximum length of a key in a Map that can be parsed as JsonPaths using the create method.
getKeyMaxLengthWhenConvertingMapToJsonObject() - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
getKeyStore(String, String, String) - Method in class org.spincast.core.utils.ssl.SSLContextFactoryDefault
 
getKeyStoreInputStream(String) - Method in class org.spincast.core.utils.ssl.SSLContextFactoryDefault
 
getLengthValidator(int) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getLessValidator(Object) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getLocaleBestMatch() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Find the best Locale to use for a response using the "Accept-Language" header of the request.
getLocaleBestMatchFromAcceptLanguageHeader(String) - Method in interface org.spincast.core.utils.SpincastUtils
Gets the best Locale to use given a "Accept-Language" HTTP header.
getLocaleBestMatchFromAcceptLanguageHeader(String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
getLocaleResolver() - Method in class org.spincast.core.exchange.RequestContextBase
 
getLocaleResolver() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
 
getLocaleResolver() - Method in class org.spincast.core.websocket.WebsocketContextBase
 
getLocaleResolver() - Method in class org.spincast.core.websocket.WebsocketContextBaseDeps
 
getLocaleToUse() - Method in interface org.spincast.core.exchange.RequestContext
The best Locale to use, as resolved by the LocaleResolver.
getLocaleToUse() - Method in class org.spincast.core.exchange.RequestContextBase
 
getLocaleToUse() - Method in interface org.spincast.core.locale.LocaleResolver
The best Locale to use.
getLocaleToUse() - Method in interface org.spincast.core.websocket.WebsocketContext
The best Locale to use, as resolved by the LocaleResolver during the initial HTTP request.
getLocaleToUse() - Method in class org.spincast.core.websocket.WebsocketContextBase
 
getLong(int) - Method in interface org.spincast.core.json.JsonArray
Gets an element as Long.
getLong(int, Long) - Method in interface org.spincast.core.json.JsonArray
Gets an element as Long.
getLong(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getLong(int, Long) - Method in class org.spincast.core.json.JsonArrayDefault
 
getLong(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getLong(String, Long) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getLong(String, boolean, Long, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getLong(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as Long using the specified JsonPath.
getLong(String, Long) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as Long using the specified JsonPath.
getLongElement(String, boolean, Long) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getLongFromObject(Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getLongNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets an element as Long.
getLongNoKeyParsing(String, Long) - Method in interface org.spincast.core.json.JsonObject
Gets an element as Long.
getLongNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getLongNoKeyParsing(String, Long) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getMainHandler() - Method in interface org.spincast.core.routing.Route
The main handler.
getMainRouteHandlerMatch() - Method in interface org.spincast.core.routing.RoutingResult
The main route handler and its information, from the routing result.
getMainRoutes() - Method in interface org.spincast.core.routing.Router
Gets the main routes.
getMainVariation() - Method in enum org.spincast.core.utils.ContentTypeDefaults
 
getMainVariationWithUtf8Charset() - Method in enum org.spincast.core.utils.ContentTypeDefaults
 
getMap() - Method in class org.spincast.core.json.JsonObjectDefault
 
getMaxAgeInSeconds() - Method in interface org.spincast.core.filters.CorsFilterClient
The max age to cache a cors preflight response.
getMaxAgeInSeconds() - Method in interface org.spincast.core.routing.StaticResourceCorsConfig
The max Age a preflight request can be cached.
getMaxCacheItems() - Method in class org.spincast.core.session.FlashMessagesHolderDefault
 
getMaxLengthValidator(int) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getMaxNumberOfKeysWhenConvertingMapToJsonObject() - Method in interface org.spincast.core.config.SpincastConfig
Gets the maximum number of keys in a Map that can be parsed as JsonPaths to create a JsonObject.
getMaxSizeValidator(int, boolean) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getMessages() - Method in interface org.spincast.core.validation.ValidationSet
Gets the validation keys and their associated messages.
getMessages(String) - Method in interface org.spincast.core.validation.ValidationSet
Gets the validation messages for the specified key.
getMessages() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getMessages(String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getMessagesFormatted(String, ValidationMessageFormatType) - Method in interface org.spincast.core.validation.ValidationSet
Quick way to get a formatted version of the validation messages for the specified key.
getMessagesFormatted(ValidationMessageFormatType) - Method in interface org.spincast.core.validation.ValidationSet
Quick way to get a formatted version of all validation messages.
getMessagesFormatted(ValidationMessageFormatType) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getMessagesFormatted(String, ValidationMessageFormatType) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getMimeTypeFromExtension(String) - Method in interface org.spincast.core.utils.SpincastUtils
Gets the mime type from the extension.
getMimeTypeFromExtension(String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
getMimeTypeFromMultipleSources(String, String, String) - Method in interface org.spincast.core.utils.SpincastUtils
Gets the mime type using multiple sources of information.
getMimeTypeFromMultipleSources(String, String, String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
getMimeTypeFromPath(String) - Method in interface org.spincast.core.utils.SpincastUtils
Gets the mime type from a path, using its extension.
getMimeTypeFromPath(String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
getMinLengthValidator(int) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getMinSizeValidator(int, boolean) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getModel() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
The JsonObject which serves as the model for the response.
getModule() - Method in class org.spincast.core.guice.GuiceModuleUtils
 
getName() - Method in interface org.spincast.core.cookies.Cookie
Gets the cookie name.
getName() - Method in class org.spincast.core.cookies.CookieDefault
 
getNewControllerKey() - Method in exception org.spincast.core.websocket.exceptions.WebsocketEndpointAlreadyManagedByAnotherControllerException
 
getNewRoute() - Method in exception org.spincast.core.exceptions.ForwardRouteException
The new route to forward to.
getNewUrl() - Method in exception org.spincast.core.exceptions.RedirectException
The new route to redirect to.
getNotArrayDefaultErrorMessageText() - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
getNotBlankValidatorInfo() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getNotEquivalentValidator(Object) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getNotFoundHtmlContent(String) - Method in class org.spincast.core.controllers.SpincastFrontController
 
getNotFoundJsonContent(String) - Method in class org.spincast.core.controllers.SpincastFrontController
 
getNotFoundPlainTextContent(String) - Method in class org.spincast.core.controllers.SpincastFrontController
 
getNotFoundXmlContent(String) - Method in class org.spincast.core.controllers.SpincastFrontController
 
getNotNullValidatorInfo() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getNotPatternValidator(String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getNullValidatorInfo() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getObject(int) - Method in interface org.spincast.core.json.JsonArray
Gets an element, untyped.
getObject(int, Object) - Method in interface org.spincast.core.json.JsonArray
Gets an element, untyped.
getObject(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getObject(int, Object) - Method in class org.spincast.core.json.JsonArrayDefault
 
getObject(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getObject(String, Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getObject(String, boolean, Object, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getObject(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an untyped Object using the specified JsonPath.
getObject(String, Object) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an untyped Object using the specified JsonPath.
getObjectConverter() - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getObjectConverter() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getObjectConverterImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getObjectNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets an untyped Object.
getObjectNoKeyParsing(String, Object) - Method in interface org.spincast.core.json.JsonObject
Gets an untyped Object.
getObjectNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getObjectNoKeyParsing(String, Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getOverridingModules() - Method in class org.spincast.core.guice.GuiceTweaker
 
getPath() - Method in interface org.spincast.core.cookies.Cookie
Gets the cookie path.
getPath() - Method in class org.spincast.core.cookies.CookieDefault
 
getPath() - Method in interface org.spincast.core.routing.Route
The route path.
getPath() - Method in interface org.spincast.core.websocket.WebsocketRoute
The WebSocket route path.
getPathParam(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
A specific value parsed from a dynamic parameter of the route path.
getPathParams() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The values parsed from the dynamic parameters of the route path.
getPathParams() - Method in interface org.spincast.core.routing.RouteHandlerMatch
The values parsed from the URL, given the dynamic parameters of the route's path, if any.
getPatternValidator(String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getPeerContextesMap() - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
 
getPeerId() - Method in interface org.spincast.core.websocket.WebsocketConnectionConfig
The id to attribute to the connecting peer.
getPeerId() - Method in interface org.spincast.core.websocket.WebsocketContext
The id of the peer.
getPeerId() - Method in class org.spincast.core.websocket.WebsocketContextBase
 
getPeersIds() - Method in interface org.spincast.core.websocket.WebsocketEndpointManager
The connected peers' ids.
getPluginModule() - Method in class org.spincast.core.guice.SpincastCorePlugin
 
getPluginsToDisable() - Method in class org.spincast.core.guice.GuiceTweaker
 
getPluginsToDisable() - Method in interface org.spincast.core.guice.SpincastPlugin
If required, the ids of plugins that shouldn't be installed.
getPluginsToDisable() - Method in class org.spincast.core.guice.SpincastPluginBase
 
getPosition() - Method in interface org.spincast.core.routing.RouteHandlerMatch
The position the handler should be run at.
getPosition() - Method in interface org.spincast.core.routing.RoutingRequestContextAddon
The current route handler position.
getPositions() - Method in interface org.spincast.core.routing.Route
The positions at which this route should be run during a routing process.
getPublicServerHost() - Method in interface org.spincast.core.config.SpincastConfig
The public host
getPublicServerPort() - Method in interface org.spincast.core.config.SpincastConfig
The public port
getPublicServerScheme() - Method in interface org.spincast.core.config.SpincastConfig
The public scheme
getPublicUrlBase() - Method in interface org.spincast.core.config.SpincastConfig
The application can't know by itself on which scheme/host/port it is served publicly.
getQueryParamFlashMessageId() - Method in interface org.spincast.core.config.SpincastConfig
The name of the queryString parameter to use for a Flash Message id, when cookies are not available.
getQueryString(boolean) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The queryString of the request.
getQueryStringParam(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
A specific parameter taken from the queryString of the request.
getQueryStringParamFirst(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The first (and often only) value of a specific parameter taken from the queryString of the request.
getQueryStringParams() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The parameters taken from the queryString of the request.
getQueryStringParams(Object) - Method in interface org.spincast.core.server.Server
Gets the queryString parameters.
getRawInputStream(Object) - Method in interface org.spincast.core.server.Server
The raw InputStream of the current request.
getRequestContextFactory() - Method in class org.spincast.core.controllers.SpincastFrontController
 
getRequestContextImplementationClass() - Method in class org.spincast.core.guice.GuiceTweaker
 
getRequestContextImplementationClass() - Method in class org.spincast.core.guice.SpincastGuiceModuleBase
 
getRequestContextImplementationClass() - Method in class org.spincast.core.guice.SpincastPluginBase
 
getRequestContextInterface() - Method in class org.spincast.core.guice.SpincastGuiceModuleBase
 
getRequestContextType() - Method in class org.spincast.core.controllers.SpincastFrontController
 
getRequestHeaders(Object) - Method in interface org.spincast.core.server.Server
The headers from the request.
getRequestPath() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The path of the request (no querystring).
getRequestPath(boolean) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The path of the request (no querystring).
getRequestRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBase
 
getRequestRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
 
getRequestScheme(Object) - Method in interface org.spincast.core.server.Server
Gets the request scheme, "http" for example.
getResourcePath() - Method in interface org.spincast.core.routing.StaticResource
The path of the resource on the classpath or on the file system.
getResponseContentTypeToUse(Object) - Method in class org.spincast.core.controllers.SpincastFrontController
 
getResponseHeaders(Object) - Method in interface org.spincast.core.server.Server
Gets the response headers.
getResponseRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBase
 
getResponseRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
 
getRoute(String) - Method in interface org.spincast.core.routing.Router
Gets a route using its routeId.
getRouteForwardingMaxNumber() - Method in interface org.spincast.core.config.SpincastConfig
The maximum number of time a request can be forwarded to another route.
getRouteHandlerMatches() - Method in interface org.spincast.core.routing.RoutingResult
The handlers matching the route (a main handler + filters, if any), in order they have to be called.
getRouteParamPatternAliases() - Method in interface org.spincast.core.routing.Router
The path patterns' aliases.
getRouter() - Method in class org.spincast.core.controllers.SpincastFrontController
 
getRoutingRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBase
 
getRoutingRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
 
getRoutingResult() - Method in interface org.spincast.core.routing.RoutingRequestContextAddon
The routing result for the current request, as returned by the router.
getRoutingTypes() - Method in interface org.spincast.core.routing.Route
The routing types the route should be considered for.
getScopedObjectMap(Key<T>) - Method in class org.spincast.core.guice.SpincastRequestScope
 
getSeedErrorProvider(Key) - Static method in class org.spincast.core.guice.SpincastRequestScope
Returns a provider that always throws exception complaining that the object in question must be seeded before it can be injected.
getServer() - Method in class org.spincast.core.controllers.SpincastFrontController
 
getServer() - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
getServer() - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
 
getServer() - Method in class org.spincast.core.websocket.WebsocketRouteHandler
 
getServerEndpointHandlers() - Method in class org.spincast.core.websocket.WebsocketRouteHandler
 
getServerHost() - Method in interface org.spincast.core.config.SpincastConfig
The host/IP on which the server will listen to.
getServerMaxRequestBodyBytes() - Method in interface org.spincast.core.config.SpincastConfig
Maximum number of bytes a request's body can have.
getSetItselfValidationKey() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getSimpleValidator() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
getSize(Object, boolean) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getSizeValidator(int, boolean) - Method in class org.spincast.core.validation.ValidationSetDefault
 
getSourceRoute() - Method in interface org.spincast.core.routing.RouteHandlerMatch
The route associated with this match.
getSpincastConfig() - Method in class org.spincast.core.config.SpincastInitValidator
 
getSpincastConfig() - Method in class org.spincast.core.controllers.SpincastFrontController
 
getSpincastConfig() - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
getSpincastConfig() - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
getSpincastConfig() - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
getSpincastCurrentVersion() - Method in interface org.spincast.core.utils.SpincastUtils
Gets the current Spincast version.
getSpincastCurrentVersion() - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
getSpincastDictionary() - Method in class org.spincast.core.controllers.SpincastFrontController
 
getSpincastDictionary() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
getSpincastDictionary() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getSpincastFiltersKey() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getSpincastModelRootVariableName() - Method in interface org.spincast.core.config.SpincastConfig
Name of the root variables reserved for Spincast in the response's model.
getSpincastRequestScope() - Method in class org.spincast.core.controllers.SpincastFrontController
 
getSpincastReservedMap() - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Gets the Map reserved for Spincast usage to put some global templating variables.
getSpincastUtils() - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
getSpincastUtils() - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getSpincastUtilsKey() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getSpincastWritableDir() - Method in interface org.spincast.core.config.SpincastConfig
A directory where temporary generated files can be written by Spincast.
getSSLContextFactoryClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getStackTrace(Throwable) - Static method in class org.spincast.core.utils.SpincastStatics
Gets the stack trace of an Exception.
getStackTraceInstance(Throwable) - Method in class org.spincast.core.utils.SpincastStatics
 
getStaticResourceServed(String) - Method in interface org.spincast.core.server.Server
Gets a static resource served directly by the server, using its path.
getStaticResourcesServed() - Method in interface org.spincast.core.server.Server
Gets all static resource served directly by the server.
getStaticResourceType() - Method in interface org.spincast.core.routing.StaticResource
The type of static resource.
getStatusCode() - Method in interface org.spincast.core.exceptions.CustomStatusCodeException
The status code to use for the response.
getStatusCode() - Method in exception org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
 
getStatusCode() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
The current status code sent or to be send.
getString(int) - Method in interface org.spincast.core.json.JsonArray
Gets an element as String.
getString(int, String) - Method in interface org.spincast.core.json.JsonArray
Gets an element as String.
getString(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getString(int, String) - Method in class org.spincast.core.json.JsonArrayDefault
 
getString(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getString(String, String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getString(String, boolean, String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getString(String, boolean, String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getString(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as String using the specified JsonPath.
getString(String, String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an element as String using the specified JsonPath.
getStringFromObject(Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getStringNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets an element as String.
getStringNoKeyParsing(String, String) - Method in interface org.spincast.core.json.JsonObject
Gets an element as String.
getStringNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getStringNoKeyParsing(String, String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getSuccessMessage(Object) - Method in interface org.spincast.core.validation.SimpleValidator
The success message to use.
getSuccessMessageText() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
getTag() - Method in interface org.spincast.core.routing.ETag
Gets the tag text.
getTemplatingEngine() - Method in class org.spincast.core.websocket.WebsocketContextBaseDeps
 
getTemplatingGlobalVariable(String) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Gets a global templating variable.
getTemplatingGlobalVariables() - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
The global templating variables.
getTemplatingRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBase
 
getTemplatingRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
 
getText() - Method in interface org.spincast.core.response.Alert
The text of the Alert message.
getText() - Method in class org.spincast.core.response.AlertDefault
 
getText() - Method in interface org.spincast.core.session.FlashMessage
The text of the Flash message.
getText() - Method in class org.spincast.core.session.FlashMessageDefault
 
getText() - Method in interface org.spincast.core.validation.ValidationMessage
The text of the message.
getText() - Method in class org.spincast.core.validation.ValidationMessageDefault
 
getTrimTransformer() - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getTrustManagers() - Method in class org.spincast.core.utils.ssl.SSLContextFactoryDefault
 
getUnsentBytes() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Gets the current unsent bytes (AKA the buffer).
getUnsentCharacters() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Gets the current unsent characters (AKA the buffer), using the UTF-8 encoding.
getUnsentCharacters(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Gets the current unsent characters (AKA the buffer), using the specified encoding.
getUploadedFileFirst(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The first (and often only) uploaded file of the specified name.
getUploadedFiles() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The uploaded files, with their names as the keys.
getUploadedFiles(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The uploaded files of the specified name.
getUploadedFiles(Object) - Method in interface org.spincast.core.server.Server
The uploaded files, if any.
getUrlPath() - Method in interface org.spincast.core.routing.StaticResource
The URL to reach this static resource.
getValidatedObject() - Method in class org.spincast.core.validation.JsonArrayValidationBuilderKeyDefault
 
getValidatedObject() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
getValidatedObject() - Method in class org.spincast.core.validation.JsonObjectValidationBuilderKeyDefault
 
getValidatedObject() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
getValidationBFactory() - Method in class org.spincast.core.validation.ValidatorBase
 
getValidationBuilderArrayImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getValidationBuilderCoreImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getValidationBuilderKeyImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getValidationBuilderTargetImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getValidationFactory() - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getValidationFactory() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
getValidationFactory() - Method in class org.spincast.core.validation.ValidationBuilderKeyDefault
 
getValidationFactory() - Method in class org.spincast.core.validation.ValidationBuilderTargetDefault
 
getValidationFactory() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getValidationKey() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
getValidationKey() - Method in class org.spincast.core.validation.ValidationBuilderTargetDefault
 
getValidationLevel() - Method in interface org.spincast.core.validation.ValidationMessage
The validation level of thr message : ERROR, WARNING or SUCCESS.
getValidationLevel() - Method in class org.spincast.core.validation.ValidationMessageDefault
 
getValidationMessageImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getValidationResultBuilderImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getValidationSet() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
getValidationSet() - Method in class org.spincast.core.validation.ValidationBuilderKeyDefault
 
getValidationSet() - Method in class org.spincast.core.validation.ValidationBuilderTargetDefault
 
getValidator() - Method in class org.spincast.core.validation.ValidationBuilderKeyDefault
 
getValidator() - Method in class org.spincast.core.validation.ValidationBuilderTargetDefault
 
getValue() - Method in interface org.spincast.core.cookies.Cookie
Gets the cookie value.
getValue() - Method in class org.spincast.core.cookies.CookieDefault
 
getValue() - Method in exception org.spincast.core.exceptions.CantCompareException
 
getValue() - Method in exception org.spincast.core.exceptions.CantConvertException
 
getVariables() - Method in interface org.spincast.core.session.FlashMessage
Potential variables associated with this Flash message.
getVariables() - Method in class org.spincast.core.session.FlashMessageDefault
 
getVariablesRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBase
 
getVariablesRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
 
getVariations() - Method in enum org.spincast.core.utils.ContentTypeDefaults
 
getVersion() - Method in interface org.spincast.core.cookies.Cookie
Gets the cookie version.
getVersion() - Method in class org.spincast.core.cookies.CookieDefault
 
getWebsocketContextFactory() - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
 
getWebsocketContextImplementationClass() - Method in class org.spincast.core.guice.GuiceTweaker
 
getWebsocketContextImplementationClass() - Method in class org.spincast.core.guice.SpincastGuiceModuleBase
 
getWebsocketContextImplementationClass() - Method in class org.spincast.core.guice.SpincastPluginBase
 
getWebsocketContextInterface() - Method in class org.spincast.core.guice.SpincastGuiceModuleBase
 
getWebsocketController() - Method in interface org.spincast.core.websocket.WebsocketRoute
The WebSocket controller to use.
getWebsocketEndpointHandlerKey() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getWebsocketEndpointManager(String) - Method in interface org.spincast.core.server.Server
Returns the manager for a Websockets endpoint.
getWebsocketEndpointManagers() - Method in interface org.spincast.core.server.Server
Returns the managers of the existing Websockets endpoints.
getWebsocketEndpointToControllerKeysMapClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getWebsocketEndpointToControllerManager() - Method in class org.spincast.core.websocket.WebsocketRouteHandler
 
getWebsocketPeerContext(String) - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
 
getWebsocketRoute() - Method in class org.spincast.core.websocket.WebsocketRouteHandler
 
getWebsocketServerEndpointHandlerFactory() - Method in class org.spincast.core.websocket.WebsocketRouteHandler
 
getXmlBody(Class<T>) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The request's body deserialized to the specified class.
getXmlBodyAsJsonObject() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The request's body deserialized to an immutable JsonObject.
getXmlBodyAsMap() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The request's body deserialized to a Map<String, Object>.
getXmlManager() - Method in class org.spincast.core.controllers.SpincastFrontController
 
getXmlManager() - Method in class org.spincast.core.exchange.RequestContextBase
 
getXmlManager() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
 
getXmlManager() - Method in class org.spincast.core.validation.ValidationSetDefault
 
getXmlManager() - Method in class org.spincast.core.websocket.WebsocketContextBaseDeps
 
guice() - Method in interface org.spincast.core.exchange.RequestContext
Easy access to the Guice context.
guice() - Method in class org.spincast.core.exchange.RequestContextBase
 
guice() - Method in interface org.spincast.core.websocket.WebsocketContext
Easy access to the Guice context.
guice() - Method in class org.spincast.core.websocket.WebsocketContextBase
 
GuiceModuleUtils - Class in org.spincast.core.guice
Utilities to inspect/manipulate Guice modules.
GuiceModuleUtils(Module) - Constructor for class org.spincast.core.guice.GuiceModuleUtils
 
GuiceModuleUtils(Set<Module>) - Constructor for class org.spincast.core.guice.GuiceModuleUtils
 
GuiceModuleUtils(Module...) - Constructor for class org.spincast.core.guice.GuiceModuleUtils
 
GuiceTweaker - Class in org.spincast.core.guice
Spincast plugin made available through a ThreadLocal.
GuiceTweaker() - Constructor for class org.spincast.core.guice.GuiceTweaker
 
GzipOption - Enum in org.spincast.core.utils
Control how gzip should be applied on a route.

H

handle(Object) - Method in interface org.spincast.core.controllers.FrontController
 
handle(Object) - Method in class org.spincast.core.controllers.SpincastFrontController
Front controller's handle() method, called by the HTTP server.
handle(R) - Method in interface org.spincast.core.routing.Handler
Receives a request context object and handles it.
handle(R) - Method in class org.spincast.core.websocket.WebsocketRouteHandler
The handle() method for WebSocket handshaking, called by the front controller once the potential "before" filters have been ran.
Handler<R extends RequestContext<?>> - Interface in org.spincast.core.routing
A route handler.
hasMessages() - Method in interface org.spincast.core.validation.ValidationSet
Does this validation set contain any validation Messages?
hasMessages(String) - Method in interface org.spincast.core.validation.ValidationSet
Does the the element at the specified key contains validation Messages?
hasMessages() - Method in class org.spincast.core.validation.ValidationSetDefault
 
hasMessages(String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
HEAD() - Method in interface org.spincast.core.routing.RouteBuilder
Adds HEAD as a supported HTTP method.
HEAD(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a HEAD route.
html() - Method in interface org.spincast.core.routing.RouteBuilder
Adds application/html as an accepted Content-Type.
httpAuth(String, String) - Method in interface org.spincast.core.routing.Router
Creates HTTP authentication protection (realm) for the specified path prefix.
HttpMethod - Enum in org.spincast.core.routing
Enum for the HTTP methods.

I

id(String) - Method in interface org.spincast.core.routing.RouteBuilder
An id that can be used to identify the route.
id(String) - Method in interface org.spincast.core.websocket.WebsocketRouteBuilder
The WebSocket route id.
index(int) - Method in interface org.spincast.core.validation.JsonArrayValidationBuilderKey
Validates the element at the specified index.
index(int) - Method in class org.spincast.core.validation.JsonArrayValidationBuilderKeyDefault
 
indexAll(int) - Method in interface org.spincast.core.validation.JsonArrayValidationBuilderKey
An JsonArray is expected at the given index and each of its elements will be validated.
indexAll(int) - Method in class org.spincast.core.validation.JsonArrayValidationBuilderKeyDefault
 
init() - Method in class org.spincast.core.config.SpincastInitValidator
Init
init(SpincastConfig, Router<R, W>) - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
Init : binds the aliases.
install(Module) - Method in class org.spincast.core.guice.SpincastGuiceModuleBase
 
IS_EXCEPTION_HANDLING - Static variable in class org.spincast.core.config.SpincastConstants.RequestScopedVariables
If an "Exception" route is run, this variable will be set to true.
IS_NOT_FOUND_ROUTE - Static variable in class org.spincast.core.config.SpincastConstants.RequestScopedVariables
If a "Not Found" route is run, this variable will be set and its value will be true.
isAddDefaultTemplateVariablesFilter() - Method in interface org.spincast.core.config.SpincastConfig
Should the GlobalTemplateVariablesAdderFilter be automatically added to all routes?
isAddMessageOnSuccess() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
isAllowCookies() - Method in interface org.spincast.core.filters.CorsFilterClient
Are cookies allowed in the cors request?
isAllowCookies() - Method in interface org.spincast.core.routing.StaticResourceCorsConfig
Are cookies allowed?
isArrayItselfAddFailMessage() - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
isArrayItselfAddSuccessMessage() - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
isAtLeastOneEquivalentElementInCommon(Collection<?>, Collection<?>) - Method in interface org.spincast.core.utils.ObjectConverter
Do the two Collections have at least one equivalent element in common?
isAtLeastOneEquivalentElementInCommon(Collection<?>, Collection<?>) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isBase64StringOrNull(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Returns true if the element is a valid base 64 String, or is null.
isBase64StringOrNull(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isCachePrivate() - Method in interface org.spincast.core.routing.StaticResourceCacheConfig
Should private be used when sending caching headers? more info...
isCachePrivateByDefault() - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
isCanBeConvertedTo(Class<?>, Object) - Method in interface org.spincast.core.utils.ObjectConverter
Can the element be converted to the specified referenceType?
isCanBeConvertedTo(Class<?>, Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isCanBeConvertedToBigDecimal(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null, of type BigDecimal, or can be converted and retrieved as one.
isCanBeConvertedToBigDecimal(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isCanBeConvertedToBigDecimal(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToBigDecimal(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToBigDecimal(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null, of type BigDecimal, or can be converted and retrieved as one.
isCanBeConvertedToBigDecimal(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Can the element be converted to a BigDecimal?
isCanBeConvertedToBigDecimal(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isCanBeConvertedToBigDecimalNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null, of type BigDecimal, or can be converted and retrieved as one.
isCanBeConvertedToBigDecimalNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToBoolean(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null, of type Boolean, or can be converted and retrieved as one.
isCanBeConvertedToBoolean(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isCanBeConvertedToBoolean(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToBoolean(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToBoolean(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null, of type Boolean, or can be converted and retrieved as one.
isCanBeConvertedToBoolean(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Can the element be converted to a Boolean?
isCanBeConvertedToBoolean(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isCanBeConvertedToBooleanNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null, of type Boolean, or can be converted and retrieved as one.
isCanBeConvertedToBooleanNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToByteArray(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null, of type base 64 String representing a byte array, or can be converted and retrieved as one.
isCanBeConvertedToByteArray(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isCanBeConvertedToByteArray(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToByteArray(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToByteArray(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null, of type base 64 String representing a byte array, or can be converted and retrieved as one.
isCanBeConvertedToByteArray(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Can the element be converted to a byte[]?
isCanBeConvertedToByteArray(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isCanBeConvertedToByteArrayNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null, of type base 64 String representing a byte array, or can be converted and retrieved as one.
isCanBeConvertedToByteArrayNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToDate(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null, of type Date, or can be converted and retrieved as one.
isCanBeConvertedToDate(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isCanBeConvertedToDate(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToDate(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToDate(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null, of type Date, or can be converted and retrieved as one.
isCanBeConvertedToDateFromJsonDateFormat(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Can the element be converted to a Date? The source element must follow the Json date format.
isCanBeConvertedToDateFromJsonDateFormat(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isCanBeConvertedToDateNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null, of type Date, or can be converted and retrieved as one.
isCanBeConvertedToDateNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToDouble(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null, of type Double, or can be converted and retrieved as one.
isCanBeConvertedToDouble(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isCanBeConvertedToDouble(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToDouble(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToDouble(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null, of type Double, or can be converted and retrieved as one.
isCanBeConvertedToDouble(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Can the element be converted to a Double?
isCanBeConvertedToDouble(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isCanBeConvertedToDoubleNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null, of type Double, or can be converted and retrieved as one.
isCanBeConvertedToDoubleNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToFloat(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null, of type Float, or can be converted and retrieved as one.
isCanBeConvertedToFloat(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isCanBeConvertedToFloat(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToFloat(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToFloat(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null, of type Float, or can be converted and retrieved as one.
isCanBeConvertedToFloat(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Can the element be converted to a Float?
isCanBeConvertedToFloat(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isCanBeConvertedToFloatNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null, of type Float, or can be converted and retrieved as one.
isCanBeConvertedToFloatNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToInteger(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null, of type Integer, or can be converted and retrieved as one.
isCanBeConvertedToInteger(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isCanBeConvertedToInteger(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToInteger(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToInteger(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null, of type Integer, or can be converted and retrieved as one.
isCanBeConvertedToInteger(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Can the element be converted to a Integer?
isCanBeConvertedToInteger(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isCanBeConvertedToIntegerNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specifiedkey (not parsed as a JsonPath) exists and is currently null, of type Integer, or can be converted and retrieved as one.
isCanBeConvertedToIntegerNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToJsonArray(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null, of type JsonArray, or can be converted and retrieved as one.
isCanBeConvertedToJsonArray(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isCanBeConvertedToJsonArray(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToJsonArray(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToJsonArray(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null, of type JsonArray, or can be converted and retrieved as one.
isCanBeConvertedToJsonArray(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Can the element be converted to a JsonArray?
isCanBeConvertedToJsonArray(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isCanBeConvertedToJsonArrayNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null, of type JsonArray, or can be converted and retrieved as one.
isCanBeConvertedToJsonArrayNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToJsonObject(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null, of type JsonObject, or can be converted and retrieved as one.
isCanBeConvertedToJsonObject(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isCanBeConvertedToJsonObject(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToJsonObject(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToJsonObject(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null, of type JsonObject, or can be converted and retrieved as one.
isCanBeConvertedToJsonObject(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Can the element be converted to a JsonObject?
isCanBeConvertedToJsonObject(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isCanBeConvertedToJsonObjectNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null, of type JsonObject, or can be converted and retrieved as one.
isCanBeConvertedToJsonObjectNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToLong(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null, of type Long, or can be converted and retrieved as one.
isCanBeConvertedToLong(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isCanBeConvertedToLong(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToLong(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToLong(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null, of type Long, or can be converted and retrieved as one.
isCanBeConvertedToLong(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Can the element be converted to a Long?
isCanBeConvertedToLong(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isCanBeConvertedToLongNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null, of type Long, or can be converted and retrieved as one.
isCanBeConvertedToLongNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToString(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null, of type String, or can be converted and retrieved as one.
isCanBeConvertedToString(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isCanBeConvertedToString(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToString(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeConvertedToString(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null, of type String, or can be converted and retrieved as one.
isCanBeConvertedToString(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Can the element be converted to a String?
isCanBeConvertedToString(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isCanBeConvertedToStringNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null, of type String, or can be converted and retrieved as one.
isCanBeConvertedToStringNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isCanBeGenerated() - Method in interface org.spincast.core.routing.StaticResource
Can this resource be generated?
isClasspath() - Method in interface org.spincast.core.routing.StaticResource
Is the resource on the classpath?
isClosed() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Is the response closed? If so, nothing more can be sent...
isClosed() - Method in interface org.spincast.core.websocket.WebsocketEndpointManager
Is this endpoint closed?
isClosing() - Method in interface org.spincast.core.websocket.WebsocketEndpointManager
Is this endpoint closing?
isContentTypeToSkipGziping(String) - Method in interface org.spincast.core.utils.SpincastUtils
Should the specified Content-Type be gzipped?
isContentTypeToSkipGziping(String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
isCookiesEnabledValidated() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Did we validate that the current user has cookies enabled?
isCorsOriginValid(CorsFilterClient, Set<String>) - Method in class org.spincast.core.filters.CorsFilterDefault
 
isCorsRequestedHeadersToBeSentValid(CorsFilterClient, Set<String>) - Method in class org.spincast.core.filters.CorsFilterDefault
 
isCorsRequestMethodHeaderValid(CorsFilterClient, Set<HttpMethod>) - Method in class org.spincast.core.filters.CorsFilterDefault
 
isDebugEnabled() - Method in interface org.spincast.core.config.SpincastConfig
Let this to true on development environment, where errors can be publicly displayed, where cache can be disabled, etc.
isDefaultRouteCacheFilterPrivate() - Method in interface org.spincast.core.config.SpincastConfig
When using the .cache() method on a route builder, is the cache private by default?
isDirResource() - Method in interface org.spincast.core.routing.StaticResource
Is the resource a directory?
isDisableBindCurrentClass() - Method in class org.spincast.core.guice.GuiceTweaker
 
isDiscard() - Method in interface org.spincast.core.cookies.Cookie
Is this cookie to be discarded?
isDiscard() - Method in class org.spincast.core.cookies.CookieDefault
 
isElementExists(int) - Method in interface org.spincast.core.json.JsonArray
Is there an element at the specified index? This returns true even if the element is null.
isElementExists(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isElementExists(JsonObject, String) - Method in interface org.spincast.core.json.JsonManager
Does the object contain an element at the specified JsonPath (even if null)?
isElementExists(JsonArray, String) - Method in interface org.spincast.core.json.JsonManager
Does the array contain an element at the specified JsonPath (even if null)?
isElementExists(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isElementExists(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Does the object contain an element at the JsonPath position (even if null)?
isElementExists(JsonObject, String) - Method in interface org.spincast.core.json.JsonPathUtils
Does the object contain an element at the JsonPath position (even if null)?
isElementExists(JsonArray, String) - Method in interface org.spincast.core.json.JsonPathUtils
Does the array contain an element at the JsonPath position (even if null)?
isElementExists(JsonObject, String) - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
isElementExists(JsonArray, String) - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
isElementExistsNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Does the JsonObject contain an element at the specified key? The key is considered as is, without being parsed as a JsonPath.
isElementExistsNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectDefault
 
isElementWasNotAnArray() - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
isEnableCookiesValidator() - Method in interface org.spincast.core.config.SpincastConfig
If true, Spincast will always try to set a cookie to validate if cookies are enabled on the client.
isEquivalent(Object, Object) - Method in interface org.spincast.core.utils.ObjectConverter
Are the two elements equivalent?
isEquivalent(Object, Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
 
isEquivalentTo(JsonArray) - Method in interface org.spincast.core.json.JsonArray
Compares the current JsonArray to the specified one and returns true if they are equivalent.
isEquivalentTo(JsonArray) - Method in class org.spincast.core.json.JsonArrayDefault
 
isEquivalentTo(JsonObject) - Method in interface org.spincast.core.json.JsonObject
Compares the current JsonObject to the specified one and returns true if they are equivalent.
isEquivalentTo(JsonObject) - Method in class org.spincast.core.json.JsonObjectDefault
 
isError() - Method in interface org.spincast.core.validation.ValidationMessage
Returns true if the message level is ERROR.
isError() - Method in class org.spincast.core.validation.ValidationMessageDefault
 
isError() - Method in interface org.spincast.core.validation.ValidationSet
Returns true if the validation set contains at least one ERROR message.
isError(String) - Method in interface org.spincast.core.validation.ValidationSet
Returns true if the validation set for the element at the specified key contains at least one ERROR message.
isError() - Method in class org.spincast.core.validation.ValidationSetDefault
 
isError(String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
isExceptionRoute() - Method in interface org.spincast.core.routing.RoutingRequestContextAddon
Are we currently on an "Exception" routing type?
isExpired() - Method in interface org.spincast.core.cookies.Cookie
Is this cookie expired?
isExpired() - Method in class org.spincast.core.cookies.CookieDefault
 
isFileResource() - Method in interface org.spincast.core.routing.StaticResource
Is the resource a file?
isFileSytem() - Method in interface org.spincast.core.routing.StaticResource
Is the resource on the file system?
isFlashMessageExists() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Is there a Flash message?
isForwarded() - Method in interface org.spincast.core.routing.RoutingRequestContextAddon
Is the current route forwarded?
isHeadersSent() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Are the response headers sent? If this is the case, then the headers can't be changed anymore.
isHeadersSent() - Method in interface org.spincast.core.filters.CorsFilterClient
Are the headers sent?
isHTMLShouldBeReturn() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Will return true if the request specifies that HTML is the most appropriate format to return.
isHttpOnly() - Method in interface org.spincast.core.cookies.Cookie
Is the cookie availableto the server and not to javascript?
isHttpOnly() - Method in class org.spincast.core.cookies.CookieDefault
 
isHttps() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Is the request a secure HTTPS one?
isIgnoreQueryString() - Method in interface org.spincast.core.routing.StaticResource
If true, only one instance of the resource will be generated and cached.
isJsonShouldBeReturn() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Will return true if the request specifies that Json is the most appropriate format to return.
isKeyBound(Class<?>) - Method in class org.spincast.core.guice.GuiceModuleUtils
Checks if a class is bound in the Module
isKeyBound(Key<?>) - Method in class org.spincast.core.guice.GuiceModuleUtils
Checks if a key is bound in the Module
isManagingEndpoint(String, WebsocketController<?, ?>) - Method in interface org.spincast.core.websocket.WebsocketEndpointToControllerManager
Is the specified controller currently the manager of the endpoint?
isManagingEndpoint(String, WebsocketController<?, ?>) - Method in class org.spincast.core.websocket.WebsocketEndpointToControllerManagerDefault
 
isMutable() - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isMutable() - Method in interface org.spincast.core.json.JsonObjectOrArray
Is this object/array mutable?
isNotFoundRoute() - Method in interface org.spincast.core.routing.RoutingRequestContextAddon
Are we currently on a "Not Found" routing type?
isNull(int) - Method in interface org.spincast.core.json.JsonArray
Validates that there is an element at the specified index and it is null.
isNull(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isNull(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isNull(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is null.
isNullNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is null.
isNullNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeBigDecimal(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null or of type BigDecimal, without requiring any conversion.
isOfTypeBigDecimal(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isOfTypeBigDecimal(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeBigDecimal(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null or of type BigDecimal, without requiring any conversion.
isOfTypeBigDecimalNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null or of type BigDecimal, without requiring any conversion.
isOfTypeBigDecimalNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeBoolean(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null or of type Boolean, without requiring any conversion.
isOfTypeBoolean(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isOfTypeBoolean(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeBoolean(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeBoolean(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null or of type Boolean, without requiring any conversion.
isOfTypeBooleanNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath)> exists and is currently null or of type Boolean, without requiring any conversion.
isOfTypeBooleanNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeByteArray(int, boolean) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified JsonPath exists and is currently null or of type byte[], without requiring any conversion.
isOfTypeByteArray(int, boolean) - Method in class org.spincast.core.json.JsonArrayDefault
 
isOfTypeByteArray(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeByteArray(String, boolean, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeByteArray(String, boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null or of type byte[], without requiring any conversion.
isOfTypeByteArrayNoKeyParsing(String, boolean) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null or of type byte[], without requiring any conversion.
isOfTypeByteArrayNoKeyParsing(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeDate(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null or of type Date, without requiring any conversion.
isOfTypeDate(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isOfTypeDate(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeDate(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeDate(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null or of type Date, without requiring any conversion.
isOfTypeDateNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null or of type Date, without requiring any conversion.
isOfTypeDateNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeDouble(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null or of type Double, without requiring any conversion.
isOfTypeDouble(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isOfTypeDouble(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeDouble(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeDouble(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null or of type Double, without requiring any conversion.
isOfTypeDoubleNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null or of type Double, without requiring any conversion.
isOfTypeDoubleNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeeBigDecimal(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeFloat(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null or of type Float, without requiring any conversion.
isOfTypeFloat(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isOfTypeFloat(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeFloat(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeFloat(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null or of type Float, without requiring any conversion.
isOfTypeFloatNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null or of type Float, without requiring any conversion.
isOfTypeFloatNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeInteger(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null or of type Integer, without requiring any conversion.
isOfTypeInteger(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isOfTypeInteger(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeInteger(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeInteger(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null or of type Integer, without requiring any conversion.
isOfTypeIntegerNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null or of type Integer, without requiring any conversion.
isOfTypeIntegerNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeJsonArray(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null or of type JsonArray, without requiring any conversion.
isOfTypeJsonArray(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isOfTypeJsonArray(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeJsonArray(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeJsonArray(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null or of type JsonArray, without requiring any conversion.
isOfTypeJsonArrayNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null or of type JsonArray, without requiring any conversion.
isOfTypeJsonArrayNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeJsonObject(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null or of type JsonObject, without requiring any conversion.
isOfTypeJsonObject(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isOfTypeJsonObject(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeJsonObject(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeJsonObject(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null or of type JsonObject, without requiring any conversion.
isOfTypeJsonObjectNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null or of type JsonObject, without requiring any conversion.
isOfTypeJsonObjectNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeLong(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null or of type Long, without requiring any conversion.
isOfTypeLong(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isOfTypeLong(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeLong(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeLong(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null or of type Long, without requiring any conversion.
isOfTypeLongNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null or of type Long, without requiring any conversion.
isOfTypeLongNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeString(int) - Method in interface org.spincast.core.json.JsonArray
Validates that the element at the specified index exists and is currently null or of type String, without requiring any conversion.
isOfTypeString(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
isOfTypeString(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeString(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isOfTypeString(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Validates that the value at the specified JsonPath exists and is currently null or of type String, without requiring any conversion.
isOfTypeStringNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Validates that the element at the specified key (not parsed as a JsonPath) exists and is currently null or of type String, without requiring any conversion.
isOfTypeStringNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
isPlainTextShouldBeReturn() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Will return true if the request specifies that plain-text is the most appropriate format to return.
isPreflightRequest(CorsFilterClient) - Method in class org.spincast.core.filters.CorsFilterDefault
 
isRedirectPermanently() - Method in exception org.spincast.core.exceptions.RedirectException
Is this a temporary or permanent redirection?
isResetResponse() - Method in interface org.spincast.core.exceptions.ResponseResetableException
Should the the response be reset before starting the "Exception" routing process?
isResetResponse() - Method in exception org.spincast.core.exceptions.ResponseResetableExceptionDefault
 
isResponseClosed(Object) - Method in interface org.spincast.core.server.Server
Is the response closed?
isResponseHeadersSent(Object) - Method in interface org.spincast.core.server.Server
Are the response headers sent?
isRoutesCaseSensitive() - Method in interface org.spincast.core.config.SpincastConfig
Are the URLS case-sensitive or not, during the route matching process? The default value is false.
isRunning() - Method in interface org.spincast.core.server.Server
Is this server running (started)?
isSecure() - Method in interface org.spincast.core.cookies.Cookie
Is the "secure" feature on?
isSecure() - Method in class org.spincast.core.cookies.CookieDefault
 
isSuccess() - Method in interface org.spincast.core.validation.ValidationMessage
Returns true if the message level is SUCCESS.
isSuccess() - Method in class org.spincast.core.validation.ValidationMessageDefault
 
isSuccess() - Method in interface org.spincast.core.validation.ValidationSet
Returns true if the validation set only contains SUCCESS messages (or contains no messages at all).
isSuccess(String) - Method in interface org.spincast.core.validation.ValidationSet
Returns true if the validation set for the element at the specified key only contains SUCCESS messages (or contains no messages at all).
isSuccess() - Method in class org.spincast.core.validation.ValidationSetDefault
 
isSuccess(String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
isTreatErrorAsWarning() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
isValid() - Method in interface org.spincast.core.validation.ValidationSet
Returns true if the validation set does not contain ERROR messages.
isValid(String) - Method in interface org.spincast.core.validation.ValidationSet
Returns true if the validation set for the element at the specified key does not contain ERROR messages.
isValid() - Method in class org.spincast.core.validation.ValidationSetDefault
 
isValid(String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
isValidateLocalhostHost() - Method in interface org.spincast.core.config.SpincastConfig
By default, if SpincastConfig.getPublicServerHost() returns "localhost", SpincastConfig.getEnvironmentName() is not "local" and SpincastConfig.isDebugEnabled() is false, an exception is thrown when the application starts.
isValidationDone() - Method in class org.spincast.core.validation.ValidationSetDefault
 
isWarning() - Method in interface org.spincast.core.validation.ValidationMessage
Returns true if the message level is WARNING.
isWarning() - Method in class org.spincast.core.validation.ValidationMessageDefault
 
isWarning() - Method in interface org.spincast.core.validation.ValidationSet
Returns true if the validation set contains at least one WARNING message, but no ERROR messages.
isWarning(String) - Method in interface org.spincast.core.validation.ValidationSet
Returns true if the validation set for the element at the specified key contains at least one WARNING message, but no ERROR messages.
isWarning() - Method in class org.spincast.core.validation.ValidationSetDefault
 
isWarning(String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
isWeak() - Method in interface org.spincast.core.routing.ETag
Is it weak?
isWildcard() - Method in interface org.spincast.core.routing.ETag
Is it a wildcard ETag?
isWriteToDiskDynamicStaticResource() - Method in interface org.spincast.core.config.SpincastConfig
If true, the dynamic resources (static resource which have a generator in case they don't exist) won't be saved to disk.
isXMLShouldBeReturn() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Will return true if the request specifies that XML is the most appropriate format to return.
iterator() - Method in class org.spincast.core.json.JsonArrayDefault
 
iterator() - Method in class org.spincast.core.json.JsonObjectDefault
 

J

json() - Method in interface org.spincast.core.exchange.RequestContext
Easy access to the JsonManager, Json related methods.
json() - Method in class org.spincast.core.exchange.RequestContextBase
 
json() - Method in interface org.spincast.core.routing.RouteBuilder
Adds application/json as an accepted Content-Type.
json() - Method in interface org.spincast.core.websocket.WebsocketContext
Easy access to the JsonManager, Json related methods.
json() - Method in class org.spincast.core.websocket.WebsocketContextBase
 
JsonArray - Interface in org.spincast.core.json
Represents a Json array, "[]".
JsonArrayDefault - Class in org.spincast.core.json
JsonArray implementation.
JsonArrayDefault(JsonManager, SpincastUtils, ObjectConverter, ValidationFactory) - Constructor for class org.spincast.core.json.JsonArrayDefault
Constructor
JsonArrayDefault(List<Object>, JsonManager, SpincastUtils, ObjectConverter, ValidationFactory) - Constructor for class org.spincast.core.json.JsonArrayDefault
Constructor
JsonArrayDefault(List<Object>, boolean, JsonManager, SpincastUtils, ObjectConverter, ValidationFactory) - Constructor for class org.spincast.core.json.JsonArrayDefault
Constructor
JsonArrayValidationBuilderKey - Interface in org.spincast.core.validation
 
JsonArrayValidationBuilderKeyDefault - Class in org.spincast.core.validation
 
JsonArrayValidationBuilderKeyDefault(ValidationSet, JsonArray, SimpleValidator, ValidationFactory) - Constructor for class org.spincast.core.validation.JsonArrayValidationBuilderKeyDefault
 
JsonArrayValidationSet - Interface in org.spincast.core.validation
 
JsonArrayValidationSetDefault - Class in org.spincast.core.validation
 
JsonArrayValidationSetDefault(JsonArray, ValidationFactory, SpincastDictionary, JsonManager, XmlManager, ObjectConverter) - Constructor for class org.spincast.core.validation.JsonArrayValidationSetDefault
 
JsonManager - Interface in org.spincast.core.json
Provides methods to play with Json strings and objects.
JsonObject - Interface in org.spincast.core.json
Represents a Json object, "{}".
JsonObjectArrayBase - Class in org.spincast.core.json
Base class for both JsonObject and JsonArray.
JsonObjectArrayBase(boolean, JsonManager, SpincastUtils, ObjectConverter, ValidationFactory) - Constructor for class org.spincast.core.json.JsonObjectArrayBase
Constructor
JsonObjectArrayBase.JsonPathCachingItem - Class in org.spincast.core.json
 
JsonObjectDefault - Class in org.spincast.core.json
JsonObject implementation.
JsonObjectDefault(JsonManager, SpincastUtils, ObjectConverter, ValidationFactory) - Constructor for class org.spincast.core.json.JsonObjectDefault
Constructor
JsonObjectDefault(Map<String, Object>, JsonManager, SpincastUtils, ObjectConverter, ValidationFactory) - Constructor for class org.spincast.core.json.JsonObjectDefault
Constructor
JsonObjectDefault(Map<String, Object>, boolean, JsonManager, SpincastUtils, ObjectConverter, ValidationFactory) - Constructor for class org.spincast.core.json.JsonObjectDefault
Constructor
JsonObjectDefault(JsonObject, boolean, JsonManager, SpincastUtils, ObjectConverter, ValidationFactory) - Constructor for class org.spincast.core.json.JsonObjectDefault
Constructor
JsonObjectDefault.IFirstElementGetter<T> - Interface in org.spincast.core.json
 
JsonObjectFactory - Interface in org.spincast.core.json
Factory to create JsonObject and JsonArray objects.
JsonObjectOrArray - Interface in org.spincast.core.json
Base interface for JsonObject and JsonArray.
JsonObjectValidationBuilderKey - Interface in org.spincast.core.validation
 
JsonObjectValidationBuilderKeyDefault - Class in org.spincast.core.validation
 
JsonObjectValidationBuilderKeyDefault(ValidationSet, JsonObjectOrArray, SimpleValidator, ValidationFactory) - Constructor for class org.spincast.core.validation.JsonObjectValidationBuilderKeyDefault
 
JsonObjectValidationSet - Interface in org.spincast.core.validation
 
JsonObjectValidationSetDefault - Class in org.spincast.core.validation
 
JsonObjectValidationSetDefault(JsonObject, ValidationFactory, SpincastDictionary, JsonManager, XmlManager, ObjectConverter) - Constructor for class org.spincast.core.validation.JsonObjectValidationSetDefault
 
JsonObjectValidationSetDefault(JsonObjectOrArray, ValidationFactory, SpincastDictionary, JsonManager, XmlManager, ObjectConverter) - Constructor for class org.spincast.core.validation.JsonObjectValidationSetDefault
 
jsonPath(String) - Method in interface org.spincast.core.validation.JsonArrayValidationBuilderKey
Validates the element at the specified JsonPath.
jsonPath(String) - Method in class org.spincast.core.validation.JsonArrayValidationBuilderKeyDefault
 
jsonPath(String) - Method in interface org.spincast.core.validation.JsonObjectValidationBuilderKey
Validates the element at the specified JsonPath.
jsonPath(String) - Method in class org.spincast.core.validation.JsonObjectValidationBuilderKeyDefault
 
jsonPathAll(String) - Method in interface org.spincast.core.validation.JsonArrayValidationBuilderKey
An JsonArray is expected at the given JsonPath and each of its elements will be validated.
jsonPathAll(String) - Method in class org.spincast.core.validation.JsonArrayValidationBuilderKeyDefault
 
jsonPathAll(String, String) - Method in class org.spincast.core.validation.JsonArrayValidationBuilderKeyDefault
 
jsonPathAll(String) - Method in interface org.spincast.core.validation.JsonObjectValidationBuilderKey
An JsonArray is expected at the given JsonPath and each of its elements will be validated.
jsonPathAll(String, String) - Method in interface org.spincast.core.validation.JsonObjectValidationBuilderKey
An JsonArray is expected at the given JsonPath and each of its elements will be validated.
jsonPathAll(String) - Method in class org.spincast.core.validation.JsonObjectValidationBuilderKeyDefault
 
jsonPathAll(String, String) - Method in class org.spincast.core.validation.JsonObjectValidationBuilderKeyDefault
 
JsonPathCachingItem() - Constructor for class org.spincast.core.json.JsonObjectArrayBase.JsonPathCachingItem
 
JsonPathUtils - Interface in org.spincast.core.json
Utilities to deal with JsonPaths.
JsonPathUtilsDefault - Class in org.spincast.core.json
 
JsonPathUtilsDefault(SpincastConfig, JsonManager) - Constructor for class org.spincast.core.json.JsonPathUtilsDefault
Constructor
JsonPathUtilsDefault.JsonPathProcessingType - Enum in org.spincast.core.json
 

K

key(String) - Method in interface org.spincast.core.validation.JsonArrayValidationBuilderKey
The key for the validation.
key(String) - Method in interface org.spincast.core.validation.JsonObjectValidationBuilderKey
The key for the validation.
key(String) - Method in interface org.spincast.core.validation.ValidationBuilderKey
The validation key.
key(String) - Method in class org.spincast.core.validation.ValidationBuilderKeyDefault
 

L

lastModified(Date) - Method in interface org.spincast.core.exchange.CacheHeadersRequestContextAddon
Specifies the last modification date of the resource.
lastResortExceptionHandling(Throwable, Throwable) - Method in class org.spincast.core.controllers.SpincastFrontController
Called when the default exception handler itself throws an exception...
LocaleResolver - Interface in org.spincast.core.locale
Component which finds the best Locale to use, using a cookie, a Accept-Language header or using a custom way.
logger - Variable in class org.spincast.core.controllers.SpincastFrontController
 
logger - Variable in class org.spincast.core.exchange.DefaultRequestContextDefault
 
logger - Variable in class org.spincast.core.exchange.RequestContextBase
 
logger - Variable in class org.spincast.core.filters.CorsFilterDefault
 
logger - Variable in class org.spincast.core.filters.SpincastFiltersDefault
 
logger - Static variable in class org.spincast.core.guice.GuiceModuleUtils
 
logger - Variable in class org.spincast.core.guice.SpincastRequestScope
 
logger - Variable in class org.spincast.core.json.JsonArrayDefault
 
logger - Variable in class org.spincast.core.json.JsonObjectArrayBase
 
logger - Variable in class org.spincast.core.json.JsonObjectDefault
 
logger - Static variable in class org.spincast.core.utils.SpincastStatics
 
logger - Variable in class org.spincast.core.utils.SpincastUtilsDefault
 
logger - Variable in class org.spincast.core.utils.ssl.SSLContextFactoryDefault
 
logger - Variable in class org.spincast.core.validation.ValidationSetDefault
 
logger - Variable in class org.spincast.core.websocket.DefaultWebsocketContextDefault
 
logger - Variable in class org.spincast.core.websocket.WebsocketContextBase
 
logger - Variable in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
 
logger - Variable in class org.spincast.core.websocket.WebsocketRouteHandler
 

M

MainArgs - Annotation Type in org.spincast.core.guice
Used to bind and inject the arguments passed to the "public static void main(String[] args)" method.
manageCancellationFromOnPeerPreConnect() - Method in class org.spincast.core.websocket.WebsocketRouteHandler
Managed a null returned by the onPeerPreConnect() method of the controller.
manageForwardRouteException(ForwardRouteException, R, RoutingResult<R>) - Method in class org.spincast.core.controllers.SpincastFrontController
Manage a ForwardRouteException exception.
manageInterruptedException(Exception) - Method in class org.spincast.core.utils.SpincastStatics
Return null to continue the exception processing or an exception to be returned immediatly.
manageRedirectException(RedirectException, R, RoutingResult<R>) - Method in class org.spincast.core.controllers.SpincastFrontController
Manage a RedirectException exception.
map(K, V) - Static method in class org.spincast.core.utils.SpincastStatics
Creates a map.
map(K, V, K, V) - Static method in class org.spincast.core.utils.SpincastStatics
Creates a map.
map(K, V, K, V, K, V) - Static method in class org.spincast.core.utils.SpincastStatics
Creates a map.
map(K, V, K, V, K, V, K, V) - Static method in class org.spincast.core.utils.SpincastStatics
Creates a map.
map(K, V, K, V, K, V, K, V, K, V) - Static method in class org.spincast.core.utils.SpincastStatics
Creates a map.
mapInstance(K, V) - Method in class org.spincast.core.utils.SpincastStatics
 
mapInstance(K, V, K, V) - Method in class org.spincast.core.utils.SpincastStatics
 
mapInstance(K, V, K, V, K, V) - Method in class org.spincast.core.utils.SpincastStatics
 
mapInstance(K, V, K, V, K, V, K, V) - Method in class org.spincast.core.utils.SpincastStatics
 
mapInstance(K, V, K, V, K, V, K, V, K, V) - Method in class org.spincast.core.utils.SpincastStatics
 
matches(ETag) - Method in interface org.spincast.core.routing.ETag
Does the ETag strongly matches the other specified ETag?
matches(ETag, boolean) - Method in interface org.spincast.core.routing.ETag
Does the ETag strongly or weakly matches the other specified ETag?
merge(Map<String, Object>) - Method in interface org.spincast.core.json.JsonObject
Merges all the specified Map elements in the JsonObject.
merge(Map<String, Object>, boolean) - Method in interface org.spincast.core.json.JsonObject
Merges all the specified Map elements in the JsonObject.
merge(JsonObject) - Method in interface org.spincast.core.json.JsonObject
Merges the specified JsonObject properties in the current object.
merge(JsonObject, boolean) - Method in interface org.spincast.core.json.JsonObject
Merges the specified JsonObject properties in the current object.
merge(ToJsonObjectConvertible) - Method in interface org.spincast.core.json.JsonObject
Transforms the specifie3d object to JsonObject and merges its properties in the current object.
merge(Map<String, Object>) - Method in class org.spincast.core.json.JsonObjectDefault
 
merge(Map<String, Object>, boolean) - Method in class org.spincast.core.json.JsonObjectDefault
 
merge(JsonObject) - Method in class org.spincast.core.json.JsonObjectDefault
 
merge(ToJsonObjectConvertible) - Method in class org.spincast.core.json.JsonObjectDefault
 
merge(JsonObject, boolean) - Method in class org.spincast.core.json.JsonObjectDefault
 
mergeValidationSet(ValidationSet) - Method in interface org.spincast.core.validation.ValidationSet
Merges an existing validation set.
mergeValidationSet(String, ValidationSet) - Method in interface org.spincast.core.validation.ValidationSet
Adds an existing validation set and prefix all the validation keys of this Set using the validationKeyPrefix.
mergeValidationSet(ValidationSet) - Method in class org.spincast.core.validation.ValidationSetDefault
 
mergeValidationSet(String, ValidationSet) - Method in class org.spincast.core.validation.ValidationSetDefault
 

N

newValidationBuilder() - Method in class org.spincast.core.validation.ValidatorBase
 
noCache() - Method in interface org.spincast.core.exchange.CacheHeadersRequestContextAddon
Sends "No Cache" headers so the resource is not cached at all by the client.
noCache() - Method in interface org.spincast.core.routing.RouteBuilder
Automatically adds "no-cache" headers to the response.
NOT_FOUND_PUBLIC_MESSAGE - Static variable in class org.spincast.core.config.SpincastConstants.RequestScopedVariables
If a "Not Found" route is run because of a NotFoundException has being thrown, the exception message, if any, is public and will be added using this variable.
notFound() - Method in interface org.spincast.core.routing.RouteBuilder
This route will be considered during a Not Found routing process.
notFound(Handler<R>) - Method in interface org.spincast.core.routing.Router
Creates a route considered during an "Not Found" routing process.
notFound(String, Handler<R>) - Method in interface org.spincast.core.routing.Router
Creates a route considered during an "Not Found" routing process.
NotFoundException - Exception in org.spincast.core.exceptions
Exception to throw to trigger the "Not Found" route.
NotFoundException() - Constructor for exception org.spincast.core.exceptions.NotFoundException
If not already flushed, the response will be reset before running the "Not Found" routing process.
NotFoundException(String) - Constructor for exception org.spincast.core.exceptions.NotFoundException
If not already flushed, the response will be reset before running the "Not Found" routing process.
NotFoundException(boolean) - Constructor for exception org.spincast.core.exceptions.NotFoundException
 
NotFoundException(String, boolean) - Constructor for exception org.spincast.core.exceptions.NotFoundException
 

O

ObjectConverter - Interface in org.spincast.core.utils
Methods to convert an object from a type to another, when possible.
ObjectConverterDefault - Class in org.spincast.core.utils
 
ObjectConverterDefault(JsonManager) - Constructor for class org.spincast.core.utils.ObjectConverterDefault
 
onEndpointClosed(String) - Method in interface org.spincast.core.websocket.WebsocketController
The endpoint is now closed.
onEndpointClosed() - Method in interface org.spincast.core.websocket.WebsocketEndpointHandler
The endpoint is actually closed by the server.
onEndpointClosed() - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
 
onEndpointReady(WebsocketEndpointManager) - Method in interface org.spincast.core.websocket.WebsocketController
This method is called when a new endpoint is created and its manager is ready.
onPeerClosed(W) - Method in interface org.spincast.core.websocket.WebsocketController
A peer closed the WebSocket connection.
onPeerClosed(String) - Method in interface org.spincast.core.websocket.WebsocketEndpointHandler
A peer closed its connection.
onPeerClosed(String) - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
 
onPeerConnected(W) - Method in interface org.spincast.core.websocket.WebsocketController
A peer is connected on the WebSocket endpoint.
onPeerConnected(String) - Method in interface org.spincast.core.websocket.WebsocketEndpointHandler
Called when the connection is established with a peer.
onPeerConnected(String) - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
 
onPeerMessage(W, String) - Method in interface org.spincast.core.websocket.WebsocketController
A Peer sent a String message.
onPeerMessage(W, byte[]) - Method in interface org.spincast.core.websocket.WebsocketController
A peer sent a bytes[] message.
onPeerMessage(String, String) - Method in interface org.spincast.core.websocket.WebsocketEndpointHandler
A String message arrives from a peer.
onPeerMessage(String, byte[]) - Method in interface org.spincast.core.websocket.WebsocketEndpointHandler
A bytes messages arrives from a peer.
onPeerMessage(String, String) - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
 
onPeerMessage(String, byte[]) - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
 
onPeerPreConnect(R) - Method in interface org.spincast.core.websocket.WebsocketController
Called before the HTTP request is converted to a WebSocket connection.
OPTIONS() - Method in interface org.spincast.core.routing.RouteBuilder
Adds OPTIONS as a supported HTTP method.
OPTIONS(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a OPTIONS route.
org.spincast.core.config - package org.spincast.core.config
 
org.spincast.core.controllers - package org.spincast.core.controllers
 
org.spincast.core.cookies - package org.spincast.core.cookies
 
org.spincast.core.exceptions - package org.spincast.core.exceptions
 
org.spincast.core.exchange - package org.spincast.core.exchange
 
org.spincast.core.filters - package org.spincast.core.filters
 
org.spincast.core.guice - package org.spincast.core.guice
 
org.spincast.core.json - package org.spincast.core.json
 
org.spincast.core.locale - package org.spincast.core.locale
 
org.spincast.core.response - package org.spincast.core.response
 
org.spincast.core.routing - package org.spincast.core.routing
 
org.spincast.core.server - package org.spincast.core.server
 
org.spincast.core.session - package org.spincast.core.session
 
org.spincast.core.templating - package org.spincast.core.templating
 
org.spincast.core.utils - package org.spincast.core.utils
 
org.spincast.core.utils.ssl - package org.spincast.core.utils.ssl
 
org.spincast.core.validation - package org.spincast.core.validation
 
org.spincast.core.websocket - package org.spincast.core.websocket
 
org.spincast.core.websocket.exceptions - package org.spincast.core.websocket.exceptions
 
org.spincast.core.xml - package org.spincast.core.xml
 
ORIGINAL_ROUTING_RESULT - Static variable in class org.spincast.core.config.SpincastConstants.RequestScopedVariables
This is going to be set to the original routing result, if an "Exception" route or a "Not Found" routing process is started.
overridingModule(Module) - Method in class org.spincast.core.guice.GuiceTweaker
Adds an overriding Module.

P

parameterizeWithContextInterfaces(Class<T>) - Method in class org.spincast.core.guice.SpincastGuiceModuleBase
Get a version of the specified class parameterized with the request and Websocket context types.
parameterizeWithRequestContext(Class<T>) - Method in class org.spincast.core.guice.SpincastGuiceModuleBase
Get a version of the specified class parameterized with the request context type.
parameterizeWithWebsocketContext(Class<T>) - Method in class org.spincast.core.guice.SpincastGuiceModuleBase
Get a version of the specified class parameterized with the Websocket context type.
params(String, Object) - Static method in class org.spincast.core.utils.SpincastStatics
Creates a Map<String, Object> map.
params(String, Object, String, Object) - Static method in class org.spincast.core.utils.SpincastStatics
Creates a Map<String, Object> map.
params(String, Object, String, Object, String, Object) - Static method in class org.spincast.core.utils.SpincastStatics
Creates a Map<String, Object> map.
params(String, Object, String, Object, String, Object, String, Object) - Static method in class org.spincast.core.utils.SpincastStatics
Creates a Map<String, Object> map.
params(String, Object, String, Object, String, Object, String, Object, String, Object) - Static method in class org.spincast.core.utils.SpincastStatics
Creates a Map<String, Object> map.
parseDateFromJson(String) - Method in interface org.spincast.core.json.JsonManager
Converts a Json date to a Java UTC date.
parseISO8601date(String) - Static method in class org.spincast.core.utils.SpincastStatics
Parse a ISO 8601 string representation of a date to a Date object.
parseISO8601dateInstance(String) - Method in class org.spincast.core.utils.SpincastStatics
 
PATCH() - Method in interface org.spincast.core.routing.RouteBuilder
Adds PATCH as a supported HTTP method.
PATCH(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a PATCH route.
path(String) - Method in interface org.spincast.core.routing.RouteBuilder
The path of the route.
path(String) - Method in interface org.spincast.core.websocket.WebsocketRouteBuilder
The path that trigger the beginning of that HTTP to WebSocket connection.
pathAbsolute(String) - Method in interface org.spincast.core.routing.StaticResourceBuilder
The absolute path to the resource, on the file system.
pathRelative(String) - Method in interface org.spincast.core.routing.StaticResourceBuilder
The path to the resource, on the file system, relative to the temp Spincast directory, as returned by SpincastConfig::getSpincastTempDir()
peerManager() - Method in class org.spincast.core.websocket.WebsocketContextBase
 
permanently() - Method in interface org.spincast.core.routing.RedirectRuleBuilder
The redirection will be permanent (301).
plugin(SpincastPlugin) - Method in class org.spincast.core.guice.GuiceTweaker
Adds an extra plugin to be applied when the Guice context is created.
PLUGIN_ID - Static variable in class org.spincast.core.guice.GuiceTweaker
 
PLUGIN_ID - Static variable in class org.spincast.core.guice.SpincastCorePlugin
 
pluginToDisable(String) - Method in class org.spincast.core.guice.GuiceTweaker
 
pos(int) - Method in interface org.spincast.core.routing.RouteBuilder
The position of the handler.
POST() - Method in interface org.spincast.core.routing.RouteBuilder
Adds POST as a supported HTTP method.
POST(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a POST route.
prefixValidationKeys(String) - Method in interface org.spincast.core.validation.ValidationSet
Prefix all the currently existing validation keys in this Set with the specified prefix.
prefixValidationKeys(String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
prepareNotFoundRouting(Object, R) - Method in class org.spincast.core.controllers.SpincastFrontController
Prepares a direct Not Found routing.
prepareNotFoundRouting(Object, R, boolean) - Method in class org.spincast.core.controllers.SpincastFrontController
Prepares a direct Not Found routing.
processJsonPath(JsonObject, String, JsonPathUtilsDefault.JsonPathProcessingType, Object, boolean, Object) - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
PublicException - Interface in org.spincast.core.exceptions
An interface to be implemented by exceptions to indicate that their "message" can be displayed to the end user.
PublicExceptionDefault - Exception in org.spincast.core.exceptions
 
PublicExceptionDefault() - Constructor for exception org.spincast.core.exceptions.PublicExceptionDefault
 
PublicExceptionDefault(String) - Constructor for exception org.spincast.core.exceptions.PublicExceptionDefault
 
PublicExceptionDefault(String, int) - Constructor for exception org.spincast.core.exceptions.PublicExceptionDefault
 
PublicExceptionDefault(String, boolean) - Constructor for exception org.spincast.core.exceptions.PublicExceptionDefault
 
PublicExceptionDefault(String, int, boolean) - Constructor for exception org.spincast.core.exceptions.PublicExceptionDefault
 
put(String, Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
put(String, Object, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
put(String, Object, boolean, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
put(String, Object) - Method in interface org.spincast.core.json.JsonObjectOrArray
Puts an element at the specified JsonPath.
put(String, Object, boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
Puts an element at the specified JsonPath.
PUT() - Method in interface org.spincast.core.routing.RouteBuilder
Adds PUT as a supported HTTP method.
PUT(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a PUT route.
putAsIs(String, Object) - Method in class org.spincast.core.json.JsonArrayDefault
 
putAsIs(String, Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
putAsIs(String, Object) - Method in class org.spincast.core.json.JsonObjectDefault
 
putElementAtJsonPath(JsonObjectOrArray, String, Object) - Method in interface org.spincast.core.json.JsonManager
Puts an element in the object at the specified JsonPath.
putElementAtJsonPath(JsonObjectOrArray, String, Object, boolean) - Method in interface org.spincast.core.json.JsonManager
Puts a clone of the element in the object at the specified JsonPath.
putElementAtJsonPath(JsonObjectOrArray, String, Object) - Method in interface org.spincast.core.json.JsonPathUtils
Puts an element in the object at the specified JsonPath position.
putElementAtJsonPath(JsonObjectOrArray, String, Object) - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
putNoKeyParsing(String, Object) - Method in interface org.spincast.core.json.JsonObject
Puts an element at the specified key, without parsing this key as a JsonPath.
putNoKeyParsing(String, Object, boolean) - Method in interface org.spincast.core.json.JsonObject
Puts an element at the specified key, without parsing this key as a JsonPath.
putNoKeyParsing(String, Object) - Method in class org.spincast.core.json.JsonObjectDefault
 
putNoKeyParsing(String, Object, boolean) - Method in class org.spincast.core.json.JsonObjectDefault
 

R

readClasspathFile(String) - Method in interface org.spincast.core.utils.SpincastUtils
Reads a file on the classpath and returns it as a String.
readClasspathFile(String, String) - Method in interface org.spincast.core.utils.SpincastUtils
Reads a file on the classpath and returns it as a String.
readClasspathFile(String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
readClasspathFile(String, String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
redirect() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a temporarily redirection header (302) to the current page.
redirect(FlashMessage) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a temporarily redirection header (302) to the current page, with a Flash message to display.
redirect(FlashMessageLevel, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a temporarily redirection header (302) to the current page, with a Flash message to display.
redirect(FlashMessageLevel, String, JsonObject) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a temporarily redirection header (302) to the current page, with a Flash message to display.
redirect(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a temporarily redirection header (302).
redirect(String, FlashMessage) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a temporarily redirection header (302), with a Flash message to display.
redirect(String, FlashMessageLevel, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a temporarily redirection header (302), with a Flash message to display.
redirect(String, FlashMessageLevel, String, JsonObject) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a temporarily redirection header (302), with a Flash message to display.
redirect(String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a redirection header.
redirect(String, boolean, FlashMessage) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a redirection header, with a Flash message to display.
redirect(String, boolean, FlashMessageLevel, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a redirection header, with a Flash message to display.
redirect(String, boolean, FlashMessageLevel, String, JsonObject) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a redirection header, with a Flash message to display.
redirect(String, int) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets the redirection headers with a specified 3xx status code.
redirect(String, int, FlashMessage) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets the redirection headers with a specified 3xx status code, and a Flash message to display.
redirect(String, int, FlashMessageLevel, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets the redirection headers with a specified 3xx status code, and a Flash message to display.
redirect(String, int, FlashMessageLevel, String, JsonObject) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets the redirection headers with a specified 3xx status code, and a Flash message to display.
redirect(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a redirection rule.
RedirectException - Exception in org.spincast.core.exceptions
Exception that will immediately send redirection headers and will make any remaining route handlers being skipped.
RedirectException() - Constructor for exception org.spincast.core.exceptions.RedirectException
Redirects to the current URL.
RedirectException(FlashMessage) - Constructor for exception org.spincast.core.exceptions.RedirectException
Redirects to the current URL with a Flash message.
RedirectException(FlashMessageLevel, String) - Constructor for exception org.spincast.core.exceptions.RedirectException
Redirects to the current URL with a Flash message.
RedirectException(FlashMessageLevel, String, JsonObject) - Constructor for exception org.spincast.core.exceptions.RedirectException
Redirects to the current URL with a Flash message.
RedirectException(String) - Constructor for exception org.spincast.core.exceptions.RedirectException
 
RedirectException(String, FlashMessage) - Constructor for exception org.spincast.core.exceptions.RedirectException
Redirect with a Flash message.
RedirectException(String, FlashMessageLevel, String) - Constructor for exception org.spincast.core.exceptions.RedirectException
Redirect with a Flash message.
RedirectException(String, FlashMessageLevel, String, JsonObject) - Constructor for exception org.spincast.core.exceptions.RedirectException
Redirect with a Flash message.
RedirectException(String, boolean) - Constructor for exception org.spincast.core.exceptions.RedirectException
 
RedirectException(String, boolean, FlashMessageLevel, String) - Constructor for exception org.spincast.core.exceptions.RedirectException
Redirect with a Flash message.
RedirectException(String, boolean, FlashMessageLevel, String, JsonObject) - Constructor for exception org.spincast.core.exceptions.RedirectException
Redirect with a Flash message.
RedirectException(String, boolean, FlashMessage, FlashMessageLevel, String, JsonObject) - Constructor for exception org.spincast.core.exceptions.RedirectException
 
RedirectRuleBuilder - Interface in org.spincast.core.routing
Builder to create a redirection rule.
RedirectRuleBuilderFactory<R extends RequestContext<?>,W extends WebsocketContext<?>> - Interface in org.spincast.core.routing
Factory to create RedirectRuleBuilders.
remove(String) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
Removes a request scoped variable.
remove(int) - Method in interface org.spincast.core.json.JsonArray
Removes an element at the specified index.
remove(String) - Method in class org.spincast.core.json.JsonArrayDefault
 
remove(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
remove(String) - Method in class org.spincast.core.json.JsonObjectDefault
Removes a property at JsonPath from the object.
remove(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Removes an element at JsonPath.
removeAllRoutes() - Method in interface org.spincast.core.routing.Router
Removes all routes, except the one Spincast addds automatically (their ids start with "spincast_").
removeAllRoutes(boolean) - Method in interface org.spincast.core.routing.Router
Removes all routes.
removeAllStaticResourcesServed() - Method in interface org.spincast.core.server.Server
Removes all static resources served directly by the server.
removeBindings(Module, Set<Key<?>>) - Static method in class org.spincast.core.guice.GuiceModuleUtils
Remove bindings from a Module.
removeCacheBusterCodes(String) - Method in interface org.spincast.core.utils.SpincastUtils
Removes the cache buster code occurences from the given text.
removeCacheBusterCodes(String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
removeElementAtJsonPath(JsonObject, String) - Method in interface org.spincast.core.json.JsonManager
Removes an element at the specified JsonPath from the object.
removeElementAtJsonPath(JsonArray, String) - Method in interface org.spincast.core.json.JsonManager
Removes an element at the specified JsonPath from the array.
removeElementAtJsonPath(JsonObject, String) - Method in interface org.spincast.core.json.JsonPathUtils
Removes an element at the specified JsonPath from the object.
removeElementAtJsonPath(JsonArray, String) - Method in interface org.spincast.core.json.JsonPathUtils
Removes an element at the specified JsonPath from the array.
removeElementAtJsonPath(JsonObject, String) - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
removeElementAtJsonPath(JsonArray, String) - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
removeEndpointController(String) - Method in interface org.spincast.core.websocket.WebsocketEndpointToControllerManager
Removes the link between a WebSocket endpoint and a controller.
removeEndpointController(String) - Method in class org.spincast.core.websocket.WebsocketEndpointToControllerManagerDefault
 
removeHeader(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Removes an header by its name.
removeHttpAuthentication(String, String) - Method in interface org.spincast.core.server.Server
Removes a user to an HTTP protected realm.
removeHttpAuthentication(String) - Method in interface org.spincast.core.server.Server
Removes a user from all HTTP protected realms.
removeNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Removes a element from the object.
removeNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectDefault
 
removeResponseHeader(Object, String) - Method in interface org.spincast.core.server.Server
Removes a response header.
removeRoute(String) - Method in interface org.spincast.core.routing.Router
Removes a route using its routeId.
removeStaticResourcesServed(StaticResourceType, String) - Method in interface org.spincast.core.server.Server
Removes a static resource served directly by the server.
request() - Method in interface org.spincast.core.exchange.RequestContext
Request related methods.
request() - Method in class org.spincast.core.exchange.RequestContextBase
 
REQUEST - Static variable in interface org.spincast.core.guice.SpincastGuiceScopes
Instance of the Guice scope for a request.
requestContainsCookies() - Method in interface org.spincast.core.filters.CorsFilterClient
DOes the request contain cookies?
RequestContext<R extends RequestContext<?>> - Interface in org.spincast.core.exchange
The base interface for a request context.
RequestContextBase<R extends RequestContext<R>> - Class in org.spincast.core.exchange
The base implementation for a request context object.
RequestContextBase(Object, RequestContextBaseDeps<R>) - Constructor for class org.spincast.core.exchange.RequestContextBase
Constructor
RequestContextBaseDeps<R extends RequestContext<R>> - Class in org.spincast.core.exchange
A wrapper object for the dependencies required by RequestContextBase.
RequestContextBaseDeps(LocaleResolver, JsonManager, XmlManager, Provider<RequestRequestContextAddon<R>>, Provider<RoutingRequestContextAddon<R>>, Provider<ResponseRequestContextAddon<R>>, Provider<VariablesRequestContextAddon<R>>, Provider<TemplatingRequestContextAddon<R>>, Provider<CacheHeadersRequestContextAddon<R>>, Provider<Injector>) - Constructor for class org.spincast.core.exchange.RequestContextBaseDeps
Constructor
RequestContextFactory<R extends RequestContext<?>> - Interface in org.spincast.core.exchange
Assisted factory to create request context instances.
RequestContextType - Annotation Type in org.spincast.core.exchange
Used to bind and inject the request context type.
RequestRequestContextAddon<R extends RequestContext<?>> - Interface in org.spincast.core.exchange
Methods related to the current request.
RequestScopedVariables() - Constructor for class org.spincast.core.config.SpincastConstants.RequestScopedVariables
 
resetBuffer() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Clears the buffer (the unsent buffer, of course).
resetEverything() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Clears the buffer (the unsent buffer, of course!), resets the cookies, the headers, the Content-Type and sets the status code back to 200.
resetEverything(boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Clears the buffer (the unsent buffer, of course), the headers, the Content-Type and sets the status code back to 200.
resetEverything() - Method in interface org.spincast.core.filters.CorsFilterClient
Resets the response.
resetResponse(R) - Method in class org.spincast.core.controllers.SpincastFrontController
 
response() - Method in interface org.spincast.core.exchange.RequestContext
Response related methods.
response() - Method in class org.spincast.core.exchange.RequestContextBase
 
ResponseRequestContextAddon<R extends RequestContext<?>> - Interface in org.spincast.core.exchange
Methods to manipulate the response.
ResponseResetableException - Interface in org.spincast.core.exceptions
An interface for exceptions which allows them to control if the response should be reset (its buffer, headers, etc.) before running the "Exception" routing process.
ResponseResetableExceptionDefault - Exception in org.spincast.core.exceptions
An exception which allows to control if the response should be reset (its buffer, headers, etc.) before running the "Exception" routing process.
ResponseResetableExceptionDefault() - Constructor for exception org.spincast.core.exceptions.ResponseResetableExceptionDefault
If not already flushed, the response will be reset before running the new route
ResponseResetableExceptionDefault(String) - Constructor for exception org.spincast.core.exceptions.ResponseResetableExceptionDefault
If not already flushed, the response will be reset before running the new route
ResponseResetableExceptionDefault(boolean) - Constructor for exception org.spincast.core.exceptions.ResponseResetableExceptionDefault
If not already flushed, the response will be reset before running the new route
ResponseResetableExceptionDefault(String, boolean) - Constructor for exception org.spincast.core.exceptions.ResponseResetableExceptionDefault
If not already flushed, the response will be reset before running the new route
Route<R extends RequestContext<?>> - Interface in org.spincast.core.routing
Represents a regular route and all its informations.
route(R) - Method in interface org.spincast.core.routing.Router
Find the route to use to handle the current request.
route(R, RoutingType) - Method in interface org.spincast.core.routing.Router
Find the route to use to handle the current request, given the specified routing type.
ROUTE_FORWARDED_NBR - Static variable in class org.spincast.core.config.SpincastConstants.RequestScopedVariables
The number of time a request has been forwarded.
ROUTE_HANDLER_MATCH - Static variable in class org.spincast.core.config.SpincastConstants.RequestScopedVariables
The current route handler match.
route_notFound_default_message() - Method in interface org.spincast.core.config.SpincastDictionary
The message to display if the default Not Found route is used.
RouteBuilder<R extends RequestContext<?>> - Interface in org.spincast.core.routing
Builder to create a route.
RouteBuilderFactory<R extends RequestContext<?>,W extends WebsocketContext<?>> - Interface in org.spincast.core.routing
Factory to create a route builder.
RouteHandlerMatch<R extends RequestContext<?>> - Interface in org.spincast.core.routing
Represents a match found by the router.
Router<R extends RequestContext<?>,W extends WebsocketContext<?>> - Interface in org.spincast.core.routing
The router.
routing() - Method in interface org.spincast.core.exchange.RequestContext
Routing related methods.
routing() - Method in class org.spincast.core.exchange.RequestContextBase
 
ROUTING_RESULT - Static variable in class org.spincast.core.config.SpincastConstants.RequestScopedVariables
The current routing result.
RoutingRequestContextAddon<R extends RequestContext<?>> - Interface in org.spincast.core.routing
Add-on to get information about the current routing process.
RoutingResult<R extends RequestContext<?>> - Interface in org.spincast.core.routing
The result of the router, when asked to find matches for a request.
RoutingType - Enum in org.spincast.core.routing
The possible types of a routing process.
runtimize(Exception) - Static method in class org.spincast.core.utils.SpincastStatics
 
runtimizePrivate(Exception) - Method in class org.spincast.core.utils.SpincastStatics
 

S

save(Handler<R>) - Method in interface org.spincast.core.routing.RouteBuilder
Creates the route and saves it to the router.
save() - Method in interface org.spincast.core.routing.StaticResourceBuilder
Saves the static resource route to the router.
save(Handler<R>) - Method in interface org.spincast.core.routing.StaticResourceBuilder
Saves the static resource route.
save(Handler<R>, boolean) - Method in interface org.spincast.core.routing.StaticResourceBuilder
Saves the static resource route.
save(WebsocketController<R, W>) - Method in interface org.spincast.core.websocket.WebsocketRouteBuilder
Saves the WebSocket route on the router.
saveFlashMessage(FlashMessage) - Method in interface org.spincast.core.session.FlashMessagesHolder
Saves a Flash Message.
saveFlashMessage(FlashMessage) - Method in class org.spincast.core.session.FlashMessagesHolderDefault
 
saveGeneratedResource(R, String) - Method in interface org.spincast.core.filters.SpincastFilters
Used by Spincast to save a "dynamic resource" once it is generated.
saveGeneratedResource(R, String) - Method in class org.spincast.core.filters.SpincastFiltersDefault
 
scope(Key<T>, Provider<T>) - Method in class org.spincast.core.guice.SpincastRequestScope
 
SEC_WEBSOCKET_ACCEPT - Static variable in class org.spincast.core.config.SpincastConstants.HttpHeadersExtra
 
SEC_WEBSOCKET_KEY - Static variable in class org.spincast.core.config.SpincastConstants.HttpHeadersExtra
 
SEC_WEBSOCKET_LOCATION - Static variable in class org.spincast.core.config.SpincastConstants.HttpHeadersExtra
 
SEC_WEBSOCKET_VERSION - Static variable in class org.spincast.core.config.SpincastConstants.HttpHeadersExtra
 
seed(Key<T>, T) - Method in class org.spincast.core.guice.SpincastRequestScope
 
seed(Class<T>, T) - Method in class org.spincast.core.guice.SpincastRequestScope
 
selectValueUsingJsonPath(JsonObject, String, boolean, Object) - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
selectValueUsingJsonPath(JsonArray, String, boolean, Object) - Method in class org.spincast.core.json.JsonPathUtilsDefault
 
sendBytes(byte[]) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends some bytes, without flushing.
sendBytes(byte[], String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends some bytes using the specified Content-Type, without flushing.
sendBytes(byte[], String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends some bytes using the specified Content-Type and flushes, if specified.
sendCharacters(String, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends a String, using the encoding returned by getCharactersCharsetName and using the specified Content-Type, without flushing.
sendCharacters(String, String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends a String, using the encoding returned by getCharactersCharsetName and using the specified Content-Type.
sendErrorUsingBestMatchContentType(Object, String, Integer) - Method in class org.spincast.core.controllers.SpincastFrontController
Send an error to the client.
sendHtml(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends a String as text/html, UTF-8 encoded, without flushing.
sendHtml(String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends a String as text/html, UTF-8 encoded, and flushes, if specified.
sendJson() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends the model as application/json, without flushing.
sendJson(boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends the model as application/json, and flushes, if specified.
sendJson(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends a Json String using the application/json Content-Type, without flushing.
sendJson(String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends a Json String using the application/json Content-Type, and flushes, if specified.
sendJson(Object) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Serializes the object to Json and sends as application/json, without flushing.
sendJson(Object, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Serializes the object to Json, sends as application/json, and flushes, if specified.
sendMessage(String) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
Sends a String message to all peers of the endpoint.
sendMessage(String, String) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
Sends a String message to a specific peer.
sendMessage(Set<String>, String) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
Sends a String message to specific peers.
sendMessage(byte[]) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
Sends a byte array message to all peers of the endpoint.
sendMessage(String, byte[]) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
Sends a byte array message to a specific peer.
sendMessage(Set<String>, byte[]) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
Sends a byte array message to specific peers.
sendMessage(String) - Method in interface org.spincast.core.websocket.WebsocketPeerManager
Sends a String message to the peer.
sendMessage(byte[]) - Method in interface org.spincast.core.websocket.WebsocketPeerManager
Sends a byte array message to the peer.
sendMessageExcept(String, String) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
Sends a String message to all peers except the specified one.
sendMessageExcept(Set<String>, String) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
Sends a String message to all peers except the specified ones.
sendMessageExcept(String, byte[]) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
Sends a byte array message to all peers except the specified one.
sendMessageExcept(Set<String>, byte[]) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
Sends a byte array message to all peers except the specified ones.
sendMessageToCurrentPeer(String) - Method in interface org.spincast.core.websocket.WebsocketContext
Sends a String message to the current peer.
sendMessageToCurrentPeer(byte[]) - Method in interface org.spincast.core.websocket.WebsocketContext
Sends a byte array message to the current peer.
sendMessageToCurrentPeer(String) - Method in class org.spincast.core.websocket.WebsocketContextBase
 
sendMessageToCurrentPeer(byte[]) - Method in class org.spincast.core.websocket.WebsocketContextBase
 
sendParse(String, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Parses the given String using the TemplatingEngine, then sends the result using the specified Content-Type, without flushing.
sendParse(String, String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Parses the given String using the TemplatingEngine, then sends the result using the specified Content-Type, and flushes, if specified.
sendParseHtml(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Parses the given String using the TemplatingEngine and the given parameters, then sends the result as text/html, UTF-8 encoded.
sendParseHtml(String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Parses the given String using the TemplatingEngine and the given parameters, then sends the result as text/html, UTF-8 encoded, and flushes, if specified.
sendPlainText(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends a String as text/plain, UTF-8 encoded, without flushing.
sendPlainText(String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends a String as text/plain, UTF-8 encoded, and flushes, if specified.
sendTemplate(String, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Finds the specified template using the TemplatingEngine, evaluates it using the given parameters, then sends the result using the given contentType, without flushing.
sendTemplate(String, String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Finds the specified template using the TemplatingEngine, evaluates it using the given parameters, then sends the result using the given contentType, and flushes, if specified.
sendTemplate(String, boolean, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Finds the specified template using the TemplatingEngine, evaluates it using the given parameters, then sends the result using the given contentType, without flushing.
sendTemplate(String, boolean, String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Finds the specified template using the TemplatingEngine, evaluates it using the given parameters, then sends the result using the given contentType, and flushes, if specified.
sendTemplateHtml(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Finds the HTML template using the TemplatingEngine, evaluates it using the model that have been added to the response, then sends the result as text/html, UTF-8 encoded, without flushing.
sendTemplateHtml(String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Finds the HTML template using the TemplatingEngine, evaluates it using the given parameters, then sends the result as text/html, UTF-8 encoded.
sendTemplateHtml(String, boolean, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Finds the HTML template using the TemplatingEngine, evaluates it using the given parameters, then sends the result as text/html, UTF-8 encoded, and flushes, if specified.
sendXml() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends the model as application/xml, without flushing.
sendXml(boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends the model as application/xml, and flushes, if specified.
sendXml(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends some XML using the application/xml Content-Type, without flushing.
sendXml(String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sends some XML using the application/xml Content-Type, and flushes, if specified.
sendXml(Object) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Serializes the object to XML and sends as application/xml, without flushing.
sendXml(Object, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Serializes the object to XML, sends as application/xml, and flushes, if specified.
Server - Interface in org.spincast.core.server
The interface a HTTP server implementation must implement.
set(int, Object) - Method in interface org.spincast.core.json.JsonArray
Sets an object at the specified index.
set(int, Object, boolean) - Method in interface org.spincast.core.json.JsonArray
Sets an object at the specified index.
set(int, Object) - Method in class org.spincast.core.json.JsonArrayDefault
 
set(int, Object, boolean) - Method in class org.spincast.core.json.JsonArrayDefault
 
setCacheSeconds(int) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Adds caching headers.
setCacheSeconds(int, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Adds caching headers for the specified number of seconds.
setCharactersCharsetName(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets the charset to use to convert characters to bytes.
setContentType(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
The Content-Type header to use for the response.
setContextTypes(Module) - Method in class org.spincast.core.guice.SpincastPluginBase
 
setDomain(String) - Method in interface org.spincast.core.cookies.Cookie
Sets the cookie domain.
setDomain(String) - Method in class org.spincast.core.cookies.CookieDefault
 
setExpires(Date) - Method in interface org.spincast.core.cookies.Cookie
Sets the date the cookie will expire.
setExpires(Date) - Method in class org.spincast.core.cookies.CookieDefault
 
setExpiresUsingMaxAge(int) - Method in interface org.spincast.core.cookies.Cookie
Sets the number of seconds for a cookie to live.
setExpiresUsingMaxAge(int) - Method in class org.spincast.core.cookies.CookieDefault
 
setGzipOption(GzipOption) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Enable or disable gzipping of the response.
setHeader(String, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Set the value to a response header.
setHeader(String, List<String>) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Set multiple values to a response header.
setHttpOnly(boolean) - Method in interface org.spincast.core.cookies.Cookie
Sets if the cookie is available only for to the server anbd not to javascript.
setHttpOnly(boolean) - Method in class org.spincast.core.cookies.CookieDefault
 
setInstance(SpincastStatics) - Static method in class org.spincast.core.utils.SpincastStatics
 
setModel(JsonObject) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Replaces the current response model completely.
setOrAdd(Integer, Object, boolean, boolean) - Method in class org.spincast.core.json.JsonArrayDefault
 
setOrAddAsIs(Integer, Object, boolean) - Method in class org.spincast.core.json.JsonArrayDefault
 
setPath(String) - Method in interface org.spincast.core.cookies.Cookie
Sets the cookie path.
setPath(String) - Method in class org.spincast.core.cookies.CookieDefault
 
setRequestContextImplementationClass(Class<? extends RequestContext<?>>) - Method in class org.spincast.core.guice.GuiceTweaker
 
setRequestContextImplementationClass(Class<? extends RequestContext<?>>) - Method in interface org.spincast.core.guice.SpincastContextTypesInterested
The implementation class to use for RequestContext.
setRequestContextImplementationClass(Class<? extends RequestContext<?>>) - Method in class org.spincast.core.guice.SpincastGuiceModuleBase
 
setRequestContextImplementationClass(Class<? extends RequestContext<?>>) - Method in class org.spincast.core.guice.SpincastPluginBase
 
setResponseHeader(Object, String, List<String>) - Method in interface org.spincast.core.server.Server
Sets a response header.
setResponseHeaders(Object, Map<String, List<String>>) - Method in interface org.spincast.core.server.Server
Sets the response headers.
setResponseStatusCode(Object, int) - Method in interface org.spincast.core.server.Server
Sets the response status code.
setSecure(boolean) - Method in interface org.spincast.core.cookies.Cookie
Sets the "secure" feature on or off.
setSecure(boolean) - Method in class org.spincast.core.cookies.CookieDefault
 
setStatusCode(int) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets the response's status code to use.
setStatusCode(int) - Method in interface org.spincast.core.filters.CorsFilterClient
Sets the response's status code.
setValidationBuilderFactory(ValidationFactory) - Method in class org.spincast.core.validation.ValidatorBase
We inject the dependencies using setters since this class will probly be extended frequently...
setValue(String) - Method in interface org.spincast.core.cookies.Cookie
Sets the cookie value.
setValue(String) - Method in class org.spincast.core.cookies.CookieDefault
 
setWebsocketContextImplementationClass(Class<? extends WebsocketContext<?>>) - Method in class org.spincast.core.guice.GuiceTweaker
 
setWebsocketContextImplementationClass(Class<? extends WebsocketContext<?>>) - Method in interface org.spincast.core.guice.SpincastContextTypesInterested
The implementation class to use for WebsocletContext.
setWebsocketContextImplementationClass(Class<? extends WebsocketContext<?>>) - Method in class org.spincast.core.guice.SpincastGuiceModuleBase
 
setWebsocketContextImplementationClass(Class<? extends WebsocketContext<?>>) - Method in class org.spincast.core.guice.SpincastPluginBase
 
SimpleValidator - Interface in org.spincast.core.validation
A simple validator is a validator that only returns one validation result, as a boolean.
size() - Method in class org.spincast.core.json.JsonArrayDefault
 
size() - Method in class org.spincast.core.json.JsonObjectDefault
 
size() - Method in interface org.spincast.core.json.JsonObjectOrArray
The size of the object.
skip(String) - Method in interface org.spincast.core.routing.RouteBuilder
Skip a "before" and "after" filter for this route.
skip(String) - Method in interface org.spincast.core.websocket.WebsocketRouteBuilder
Skip a "before" filter for this WebSocket route ("after" filters are never run).
SkipRemainingHandlersException - Exception in org.spincast.core.exceptions
Exception that will simply stop the current routing process without starting any new one.
SkipRemainingHandlersException() - Constructor for exception org.spincast.core.exceptions.SkipRemainingHandlersException
 
SOME(Set<HttpMethod>) - Method in interface org.spincast.core.routing.RouteBuilder
Adds the specified HTTP methods as being supported.
SOME(HttpMethod...) - Method in interface org.spincast.core.routing.RouteBuilder
Adds the specified HTTP methods as being supported.
SOME(String, Set<HttpMethod>) - Method in interface org.spincast.core.routing.Router
Starts the creation of a route matching the specified HTTP methods.
SOME(String, HttpMethod...) - Method in interface org.spincast.core.routing.Router
Starts the creation of a route matching the specified HTTP methods.
SpincastAppModuleInterested - Interface in org.spincast.core.guice
Interface for Guice modules that are interested in having the application Modules (combined) passed before the Guice context is actually created.
SpincastConfig - Interface in org.spincast.core.config
The configurations required by Spincast.
SpincastConstants - Class in org.spincast.core.config
Spincast constants.
SpincastConstants() - Constructor for class org.spincast.core.config.SpincastConstants
 
SpincastConstants.HttpHeadersExtra - Class in org.spincast.core.config
Some HTTP headers that are not defined in Guava's com.google.common.net.HttpHeaders
SpincastConstants.RequestScopedVariables - Class in org.spincast.core.config
Request scoped variables that Spincast may set.
SpincastConstants.ResponseModelVariables - Class in org.spincast.core.config
Model variables added by Spincast.
SpincastConstants.TemplatingGlobalVariables - Class in org.spincast.core.config
Global templating variables added by Spincast.
SpincastContextTypesInterested - Interface in org.spincast.core.guice
Interface for Guice modules that are interested in the Request Context type and the Websocket Context type.
SpincastCorePlugin - Class in org.spincast.core.guice
Spincast core plugin
SpincastCorePlugin() - Constructor for class org.spincast.core.guice.SpincastCorePlugin
 
SpincastCorePluginModule - Class in org.spincast.core.guice
 
SpincastCorePluginModule() - Constructor for class org.spincast.core.guice.SpincastCorePluginModule
 
SpincastCorePluginModule(Class<? extends RequestContext<?>>, Class<? extends WebsocketContext<?>>) - Constructor for class org.spincast.core.guice.SpincastCorePluginModule
 
SpincastDictionary - Interface in org.spincast.core.config
Labels required by Spincast.
SpincastFilters<R extends RequestContext<?>> - Interface in org.spincast.core.filters
Some filters provided by Spincast.
SpincastFiltersDefault<R extends RequestContext<?>> - Class in org.spincast.core.filters
Spincast filters implementations.
SpincastFiltersDefault(CorsFilter, SpincastConfig, Server, SpincastUtils) - Constructor for class org.spincast.core.filters.SpincastFiltersDefault
Constructor
SpincastFrontController<R extends RequestContext<R>,W extends WebsocketContext<?>> - Class in org.spincast.core.controllers
 
SpincastFrontController(Router<R, W>, SpincastConfig, SpincastDictionary, Server, RequestContextFactory<R>, SpincastRequestScope, Type, JsonManager, XmlManager) - Constructor for class org.spincast.core.controllers.SpincastFrontController
The constructor.
SpincastGuiceModuleBase - Class in org.spincast.core.guice
Base class for a Spincast Guice module.
SpincastGuiceModuleBase() - Constructor for class org.spincast.core.guice.SpincastGuiceModuleBase
 
SpincastGuiceModuleBase(Class<? extends RequestContext<?>>, Class<? extends WebsocketContext<?>>) - Constructor for class org.spincast.core.guice.SpincastGuiceModuleBase
 
SpincastGuiceScopes - Interface in org.spincast.core.guice
Custom Guice scoped defined by Spincast.
SpincastInitValidator - Class in org.spincast.core.config
Init validation performs by Spincast when an application starts.
SpincastInitValidator(SpincastConfig) - Constructor for class org.spincast.core.config.SpincastInitValidator
Constructor
SpincastPlugin - Interface in org.spincast.core.guice
 
SpincastPluginBase - Class in org.spincast.core.guice
Suggested base class for a Spincast plugin.
SpincastPluginBase() - Constructor for class org.spincast.core.guice.SpincastPluginBase
 
SpincastRequestScope - Class in org.spincast.core.guice
Guice scope for a request.
SpincastRequestScope() - Constructor for class org.spincast.core.guice.SpincastRequestScope
 
SpincastRequestScoped - Annotation Type in org.spincast.core.guice
Annotation for object that need to be request scoped.
SpincastStatics - Class in org.spincast.core.utils
Some few static methods.
SpincastStatics() - Constructor for class org.spincast.core.utils.SpincastStatics
 
SpincastUtils - Interface in org.spincast.core.utils
Spincast utilities.
SpincastUtilsDefault - Class in org.spincast.core.utils
Implementations of the Spincast utilities.
SpincastUtilsDefault(SpincastConfig) - Constructor for class org.spincast.core.utils.SpincastUtilsDefault
 
SSLContextFactory - Interface in org.spincast.core.utils.ssl
 
SSLContextFactoryDefault - Class in org.spincast.core.utils.ssl
 
SSLContextFactoryDefault() - Constructor for class org.spincast.core.utils.ssl.SSLContextFactoryDefault
 
start() - Method in interface org.spincast.core.server.Server
Starts the server.
StaticResource<R extends RequestContext<?>> - Interface in org.spincast.core.routing
A static resource, from the classpath or the file system.
StaticResourceBuilder<R extends RequestContext<?>> - Interface in org.spincast.core.routing
Builder to create static resources.
StaticResourceBuilderFactory<R extends RequestContext<?>,W extends WebsocketContext<?>> - Interface in org.spincast.core.routing
Factory to create static resources builders.
StaticResourceCacheConfig - Interface in org.spincast.core.routing
Cache configurations available for a static resource.
StaticResourceCorsConfig - Interface in org.spincast.core.routing
Cors configurations available for a static resource.
StaticResourceFactory<R extends RequestContext<?>> - Interface in org.spincast.core.routing
 
StaticResourceType - Enum in org.spincast.core.routing
The possible types of a static resource.
stop() - Method in interface org.spincast.core.server.Server
Stops the server
stop(boolean) - Method in interface org.spincast.core.server.Server
Stops the server

T

templating() - Method in interface org.spincast.core.exchange.RequestContext
Templating methods.
templating() - Method in class org.spincast.core.exchange.RequestContextBase
 
templating() - Method in interface org.spincast.core.websocket.WebsocketContext
Easy access to the TemplatingEngine, templating related methods.
templating() - Method in class org.spincast.core.websocket.WebsocketContextBase
 
TemplatingEngine - Interface in org.spincast.core.templating
Component that "evaluates" some templates or inline content, using some parameters.
TemplatingRequestContextAddon<R extends RequestContext<?>> - Interface in org.spincast.core.templating
Provides methods to deal with templating.
temporarily() - Method in interface org.spincast.core.routing.RedirectRuleBuilder
The redirection will be temporarily (302).
threadLocal - Static variable in class org.spincast.core.guice.GuiceTweaker
 
to(String) - Method in interface org.spincast.core.routing.RedirectRuleBuilder
The new path or full URL to redirect to.
ToJsonArrayConvertible - Interface in org.spincast.core.json
An object implementing this interface is able to convert itself to a JsonArray.
ToJsonObjectConvertible - Interface in org.spincast.core.json
An object implementing this interface is able to convert itself to a JsonObject.
toJsonString(Object) - Method in interface org.spincast.core.json.JsonManager
Gets the Json String representation of the specified object.
toJsonString(Object, boolean) - Method in interface org.spincast.core.json.JsonManager
Gets the Json String representation of the specified object.
toJsonString() - Method in class org.spincast.core.json.JsonObjectArrayBase
 
toJsonString(boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
toJsonString() - Method in interface org.spincast.core.json.JsonObjectOrArray
The Json string representation of the object.
toJsonString(boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
The Json string representation of the object.
toLinkedHashMap(String, List<ValidationMessage>) - Static method in class org.spincast.core.validation.ValidationSetDefault
 
toMessages(List<ValidationSet>) - Static method in class org.spincast.core.validation.ValidationSetDefault
 
toString() - Method in class org.spincast.core.cookies.CookieDefault
 
toString() - Method in class org.spincast.core.exchange.RequestContextBase
 
toString() - Method in class org.spincast.core.json.JsonObjectArrayBase
 
toString() - Method in class org.spincast.core.utils.Bool
 
toString() - Method in class org.spincast.core.validation.ValidationMessageDefault
 
toString() - Method in class org.spincast.core.validation.ValidationSetDefault
 
toXml(Object) - Method in interface org.spincast.core.xml.XmlManager
Converts an object to XML.
toXml(Object, boolean) - Method in interface org.spincast.core.xml.XmlManager
Converts an object to XML.
TRACE() - Method in interface org.spincast.core.routing.RouteBuilder
Adds TRACE as a supported HTTP method.
TRACE(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a TRACE route.
transform(Object) - Method in interface org.spincast.core.json.ElementTransformer
 
transform(int, ElementTransformer) - Method in interface org.spincast.core.json.JsonArray
Transforms the element at the given index, using the specified ElementTransformer.
transform(int, ElementTransformer) - Method in class org.spincast.core.json.JsonArrayDefault
 
transform(String, ElementTransformer) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
transform(String, ElementTransformer) - Method in interface org.spincast.core.json.JsonObjectOrArray
Transforms the element at the specified JsonPath using the transformer.
transformAll(ElementTransformer, boolean) - Method in class org.spincast.core.json.JsonArrayDefault
 
transformAll(ElementTransformer) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
transformAll(ElementTransformer, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
transformAll(ElementTransformer, boolean) - Method in class org.spincast.core.json.JsonObjectDefault
 
transformAll(ElementTransformer) - Method in interface org.spincast.core.json.JsonObjectOrArray
Transforms all the elements of the object, using the specified transformer.
transformAll(ElementTransformer, boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
Transforms all the elements of the object, using the specified transformer.
treatErrorAsWarning() - Method in interface org.spincast.core.validation.ValidationBuilderCoreBase
If this is called, a validation failure will result in a Warning level Message instead of an Error level Message.
treatErrorAsWarning() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
trim(int) - Method in interface org.spincast.core.json.JsonArray
Trims the element, if it's of type String.
trim(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
trim(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
trim(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Trims the element at the specified JsonPath if it's of type String.
trimAll() - Method in class org.spincast.core.json.JsonObjectArrayBase
 
trimAll(boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
trimAll() - Method in interface org.spincast.core.json.JsonObjectOrArray
Trims all the elements of the object that are of type String.
trimAll(boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
Trims all the elements of the object that are of type String.
TRUE - Static variable in class org.spincast.core.utils.Bool
 

U

url(String) - Method in interface org.spincast.core.routing.StaticResourceBuilder
The URL pointing to the resource.
usePrettyJson() - Method in class org.spincast.core.validation.ValidationSetDefault
 
usePrettyXml() - Method in class org.spincast.core.validation.ValidationSetDefault
 

V

validate(boolean) - Method in interface org.spincast.core.exchange.CacheHeadersRequestContextAddon
Call this when you are done setting ETag and/or Last-Modified to validate them agains the headers sent by the client.
validate(Object) - Method in interface org.spincast.core.validation.SimpleValidator
Validates the element.
validate(ValidationLevel) - Method in class org.spincast.core.validation.ValidationBuilderArrayDefault
 
validate() - Method in interface org.spincast.core.validation.ValidationBuilderCoreBase
Performs the validation, saves the result into the validation set and returns it.
validate(boolean) - Method in interface org.spincast.core.validation.ValidationBuilderCoreBase
Performs the validation, saves the result into the validation set and returns it.
validate(ValidationLevel) - Method in interface org.spincast.core.validation.ValidationBuilderCoreBase
Performs the validation, saves the result into the validation set and returns it.
validate() - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
validate(boolean) - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
validate(ValidationLevel) - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
validateElement(String, Object, ValidationLevel) - Method in class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
validateExchange(Object) - Method in class org.spincast.core.controllers.SpincastFrontController
Validate/modify the exchange before the handling.
validateIsNull(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
validateLocalhostHost() - Method in class org.spincast.core.config.SpincastInitValidator
 
validateRequirements() - Method in class org.spincast.core.guice.SpincastCorePluginModule
Validates the bindings that have to be done by other modules.
validation(SimpleValidator) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validation(SimpleValidator) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validation(SimpleValidator) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validation(SimpleValidator) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validation(SimpleValidator) - Method in interface org.spincast.core.validation.ValidationSet
Starts a validation using a custom SimpleValidator.
validation(SimpleValidator) - Method in class org.spincast.core.validation.ValidationSetDefault
 
validation_array_itself_error_message_default_text() - Method in interface org.spincast.core.config.SpincastDictionary
Default message on an array when at least one element is in error.
validation_array_itself_success_message_default_text() - Method in interface org.spincast.core.config.SpincastDictionary
Default message on an array when ll elements are success.
validation_array_itself_warning_message_default_text() - Method in interface org.spincast.core.config.SpincastDictionary
Default message on an array when at least one element is a warning.
validation_blank_default_text() - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a Blank validation.
validation_can_be_converted_to_default_text(String) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a "can be converted to" validation.
VALIDATION_CODE_BLANK - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_CAN_BE_CONVERTED_TO - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_EMAIL - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_EQUIVALENT - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_EQUIVALENT_OR_GREATER - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_EQUIVALENT_OR_LESS - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_GREATER - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_IS_OF_TYPE - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_LENGTH - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_LESS - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_MAX_LENGTH - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_MAX_SIZE - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_MIN_LENGTH - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_MIN_SIZE - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_NOT_AN_ARRAY - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_NOT_BLANK - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_NOT_EQUIVALENT - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_NOT_NULL - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_NOT_PATTERN - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_NULL - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_PATTERN - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_SIZE - Static variable in interface org.spincast.core.validation.ValidationSet
 
VALIDATION_CODE_WHOLE_ARRAY_VALIDATION_RESULT_TYPE - Static variable in interface org.spincast.core.validation.ValidationSet
Codes for some provided validations :
validation_email_default_text() - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a Email validation.
validation_equivalent_default_text(Object, Object) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for an equivalence validation.
validation_equivalent_or_greater_default_text(Object, Object) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a "equal or greater than" validation.
validation_equivalent_or_less_default_text(Object, Object) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a "equal or less than" validation.
validation_generic_error_default_text() - Method in interface org.spincast.core.config.SpincastDictionary
Default generic error message.
validation_greater_default_text(Object, Object) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a "greater than" validation.
validation_is_of_type_default_text(String) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a "is of type" validation.
validation_length_default_text(long, long) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a Length validation.
validation_less_default_text(Object, Object) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a "less than" validation.
validation_max_length_default_text(long, long) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a Maximum Length validation.
validation_max_size_default_text(long, long) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a Maximum Size validation.
validation_min_length_default_text(long, long) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a Minimum Length validation.
validation_min_size_default_text(long, long) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a Minimum Size validation.
validation_not_an_array_error_message_default_text() - Method in interface org.spincast.core.config.SpincastDictionary
Default Message when an array is expected but was not
validation_not_blank_default_text() - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a Not Blank validation.
validation_not_equivalent_default_text(Object, Object) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a "not equal" validation.
validation_not_null_default_text() - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a Not Null validation.
validation_not_pattern_default_text(String) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a "doesn't match the Pattern" validation.
validation_null_default_text() - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a Null validation.
validation_pattern_default_text(String) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a Pattern validation.
validation_size_default_text(long, long) - Method in interface org.spincast.core.config.SpincastDictionary
Default message for a Size validation.
validation_success_message_default_text() - Method in interface org.spincast.core.config.SpincastDictionary
Default text for successful validation Message.
validationBlank() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationBlank() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationBlank() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationBlank() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationBlank() - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "must be blank" validation.
validationBlank() - Method in class org.spincast.core.validation.ValidationSetDefault
 
ValidationBuilderArray - Interface in org.spincast.core.validation
Validation parameters specific to an JsonArray validation.
ValidationBuilderArrayDefault - Class in org.spincast.core.validation
 
ValidationBuilderArrayDefault(ValidationSet, SimpleValidator, String, JsonArray, ValidationFactory, SpincastDictionary, JsonManager) - Constructor for class org.spincast.core.validation.ValidationBuilderArrayDefault
 
ValidationBuilderArrayDefault(ValidationSet, SimpleValidator, String, JsonArray, boolean, ValidationFactory, SpincastDictionary, JsonManager) - Constructor for class org.spincast.core.validation.ValidationBuilderArrayDefault
 
ValidationBuilderCore - Interface in org.spincast.core.validation
 
ValidationBuilderCoreBase<T extends ValidationBuilderCoreBase<?>> - Interface in org.spincast.core.validation
The core of the builder used to create a Validation Set.
ValidationBuilderCoreBaseDefault<T extends ValidationBuilderCoreBase<?>> - Class in org.spincast.core.validation
 
ValidationBuilderCoreBaseDefault(ValidationSet, SimpleValidator, String, Object, ValidationFactory, SpincastDictionary, JsonManager) - Constructor for class org.spincast.core.validation.ValidationBuilderCoreBaseDefault
 
ValidationBuilderCoreDefault - Class in org.spincast.core.validation
 
ValidationBuilderCoreDefault(ValidationSet, SimpleValidator, String, Object, ValidationFactory, SpincastDictionary, JsonManager) - Constructor for class org.spincast.core.validation.ValidationBuilderCoreDefault
 
ValidationBuilderKey - Interface in org.spincast.core.validation
 
ValidationBuilderKeyDefault - Class in org.spincast.core.validation
 
ValidationBuilderKeyDefault(ValidationSet, SimpleValidator, ValidationFactory) - Constructor for class org.spincast.core.validation.ValidationBuilderKeyDefault
 
ValidationBuilderTarget - Interface in org.spincast.core.validation
 
ValidationBuilderTargetDefault - Class in org.spincast.core.validation
 
ValidationBuilderTargetDefault(ValidationSet, SimpleValidator, String, ValidationFactory) - Constructor for class org.spincast.core.validation.ValidationBuilderTargetDefault
 
validationCanBeConvertedTo(Class<?>) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationCanBeConvertedTo(Class<?>) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationCanBeConvertedToBigDecimal() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "can be converted to a BigDecimal" validation.
validationCanBeConvertedToBigDecimal() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationCanBeConvertedToBigDecimal() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "can be converted to a BigDecimal" validation.
validationCanBeConvertedToBigDecimal() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationCanBeConvertedToBoolean() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "can be converted to a Boolean" validation.
validationCanBeConvertedToBoolean() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationCanBeConvertedToBoolean() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "can be converted to a Boolean" validation.
validationCanBeConvertedToBoolean() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationCanBeConvertedToByteArray() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "can be converted to a byte[]" validation.
validationCanBeConvertedToByteArray() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationCanBeConvertedToByteArray() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "can be converted to a byte[]" validation.
validationCanBeConvertedToByteArray() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationCanBeConvertedToDate() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "can be converted to a Date" validation.
validationCanBeConvertedToDate() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationCanBeConvertedToDate() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "can be converted to a Date" validation.
validationCanBeConvertedToDate() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationCanBeConvertedToDouble() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "can be converted to a Double" validation.
validationCanBeConvertedToDouble() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationCanBeConvertedToDouble() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "can be converted to a Double" validation.
validationCanBeConvertedToDouble() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationCanBeConvertedToFloat() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "can be converted to a Float" validation.
validationCanBeConvertedToFloat() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationCanBeConvertedToFloat() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "can be converted to a Float" validation.
validationCanBeConvertedToFloat() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationCanBeConvertedToInteger() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "can be converted to an Integer" validation.
validationCanBeConvertedToInteger() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationCanBeConvertedToInteger() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "can be converted to an Integer" validation.
validationCanBeConvertedToInteger() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationCanBeConvertedToJsonArray() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "can be converted to a JsonArray" validation.
validationCanBeConvertedToJsonArray() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationCanBeConvertedToJsonArray() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "can be converted to a JsonArray" validation.
validationCanBeConvertedToJsonArray() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationCanBeConvertedToJsonObject() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "can be converted to a JsonObject" validation.
validationCanBeConvertedToJsonObject() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationCanBeConvertedToJsonObject() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "can be converted to a JsonObject" validation.
validationCanBeConvertedToJsonObject() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationCanBeConvertedToLong() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "can be converted to a Long" validation.
validationCanBeConvertedToLong() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationCanBeConvertedToLong() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "can be converted to a Long" validation.
validationCanBeConvertedToLong() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationCanBeConvertedToString() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "can be converted to a String" validation.
validationCanBeConvertedToString() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationCanBeConvertedToString() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "can be converted to a String" validation.
validationCanBeConvertedToString() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationEmail() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationEmail() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationEmail() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationEmail() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationEmail() - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "email" validation.
validationEmail() - Method in class org.spincast.core.validation.ValidationSetDefault
 
validationEquivalent(Object) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationEquivalent(Object) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationEquivalent(Object) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationEquivalent(Object) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationEquivalent(Object) - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "equivalent" validation.
validationEquivalent(Object) - Method in class org.spincast.core.validation.ValidationSetDefault
 
validationEquivalentOrGreater(Object) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationEquivalentOrGreater(Object) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationEquivalentOrGreater(Object) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationEquivalentOrGreater(Object) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationEquivalentOrGreater(Object) - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "equivalent or greater" validation.
validationEquivalentOrGreater(Object) - Method in class org.spincast.core.validation.ValidationSetDefault
 
validationEquivalentOrLess(Object) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationEquivalentOrLess(Object) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationEquivalentOrLess(Object) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationEquivalentOrLess(Object) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationEquivalentOrLess(Object) - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "equivalent or less" validation.
validationEquivalentOrLess(Object) - Method in class org.spincast.core.validation.ValidationSetDefault
 
ValidationFactory - Interface in org.spincast.core.validation
Factory to create Validation related components.
validationGreater(Object) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationGreater(Object) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationGreater(Object) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationGreater(Object) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationGreater(Object) - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "greater than" validation.
validationGreater(Object) - Method in class org.spincast.core.validation.ValidationSetDefault
 
validationIsOfTypeBigDecimalOrNull() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "is of type BigDecimal or null" validation.
validationIsOfTypeBigDecimalOrNull() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationIsOfTypeBigDecimalOrNull() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "is of type BigDecimal or null" validation.
validationIsOfTypeBigDecimalOrNull() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationIsOfTypeBooleanOrNull() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "is of type Boolean or null" validation.
validationIsOfTypeBooleanOrNull() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationIsOfTypeBooleanOrNull() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "is of type Boolean or null" validation.
validationIsOfTypeBooleanOrNull() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationIsOfTypeByteArrayOrNull(boolean) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "is of type byte[] or null" validation.
validationIsOfTypeByteArrayOrNull(boolean) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationIsOfTypeByteArrayOrNull(boolean) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "is of type byte[] or null" validation.
validationIsOfTypeByteArrayOrNull(boolean) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationIsOfTypeDateOrNull() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "is of type Date or null" validation.
validationIsOfTypeDateOrNull() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationIsOfTypeDateOrNull() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "is of type Date or null" validation.
validationIsOfTypeDateOrNull() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationIsOfTypeDoubleOrNull() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "is of type Double or null" validation.
validationIsOfTypeDoubleOrNull() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationIsOfTypeDoubleOrNull() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "is of type Double or null" validation.
validationIsOfTypeDoubleOrNull() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationIsOfTypeFloatOrNull() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "is of type Float or null" validation.
validationIsOfTypeFloatOrNull() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationIsOfTypeFloatOrNull() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "is of type Float or null" validation.
validationIsOfTypeFloatOrNull() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationIsOfTypeIntegerOrNull() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "is of type Integer or null" validation.
validationIsOfTypeIntegerOrNull() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationIsOfTypeIntegerOrNull() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "is of type Integer or null" validation.
validationIsOfTypeIntegerOrNull() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationIsOfTypeJsonArrayOrNull() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "is of type JsonArray or null" validation.
validationIsOfTypeJsonArrayOrNull() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationIsOfTypeJsonArrayOrNull() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "is of type JsonArray or null" validation.
validationIsOfTypeJsonArrayOrNull() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationIsOfTypeJsonObjectOrNull() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "is of type JsonObject or null" validation.
validationIsOfTypeJsonObjectOrNull() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationIsOfTypeJsonObjectOrNull() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "is of type JsonObject or null" validation.
validationIsOfTypeJsonObjectOrNull() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationIsOfTypeLongOrNull() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "is of type Long or null" validation.
validationIsOfTypeLongOrNull() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationIsOfTypeLongOrNull() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "is of type Long or null" validation.
validationIsOfTypeLongOrNull() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationIsOfTypeOrNull(Class<?>) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "is of type or null" validation.
validationIsOfTypeOrNull(Class<?>) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationIsOfTypeOrNull(Class<?>) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "is of type or null" validation.
validationIsOfTypeOrNull(Class<?>) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationIsOfTypeStringOrNull() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
Starts the creation of a "is of type String or null" validation.
validationIsOfTypeStringOrNull() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationIsOfTypeStringOrNull() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
Starts the creation of a "is of type String or null" validation.
validationIsOfTypeStringOrNull() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationLength(int) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationLength(int) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationLength(int) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationLength(int) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationLength(int) - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "length" validation.
validationLength(int) - Method in class org.spincast.core.validation.ValidationSetDefault
 
validationLess(Object) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationLess(Object) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationLess(Object) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationLess(Object) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationLess(Object) - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "less than" validation.
validationLess(Object) - Method in class org.spincast.core.validation.ValidationSetDefault
 
ValidationLevel - Enum in org.spincast.core.validation
The level of a validation.
validationMaxLength(int) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationMaxLength(int) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationMaxLength(int) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationMaxLength(int) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationMaxLength(int) - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "maximum length" validation.
validationMaxLength(int) - Method in class org.spincast.core.validation.ValidationSetDefault
 
validationMaxSize(int, boolean) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationMaxSize(int, boolean) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationMaxSize(int, boolean) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationMaxSize(int, boolean) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationMaxSize(int, boolean) - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "maximum size" validation.
validationMaxSize(int, boolean) - Method in class org.spincast.core.validation.ValidationSetDefault
 
ValidationMessage - Interface in org.spincast.core.validation
A validation message.
ValidationMessageDefault - Class in org.spincast.core.validation
Validation message implementation.
ValidationMessageDefault(ValidationLevel, String, String, JsonManager) - Constructor for class org.spincast.core.validation.ValidationMessageDefault
 
ValidationMessageFormatType - Enum in org.spincast.core.validation
The available format for validation Messages.
validationMinLength(int) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationMinLength(int) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationMinLength(int) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationMinLength(int) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationMinLength(int) - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "minimum length" validation.
validationMinLength(int) - Method in class org.spincast.core.validation.ValidationSetDefault
 
validationMinSize(int, boolean) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationMinSize(int, boolean) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationMinSize(int, boolean) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationMinSize(int, boolean) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationMinSize(int, boolean) - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "minimum size" validation.
validationMinSize(int, boolean) - Method in class org.spincast.core.validation.ValidationSetDefault
 
validationNotBlank() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationNotBlank() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationNotBlank() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationNotBlank() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationNotBlank() - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "not blank" validation.
validationNotBlank() - Method in class org.spincast.core.validation.ValidationSetDefault
 
validationNotEquivalent(Object) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationNotEquivalent(Object) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationNotEquivalent(Object) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationNotEquivalent(Object) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationNotEquivalent(Object) - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "not equivalent" validation.
validationNotEquivalent(Object) - Method in class org.spincast.core.validation.ValidationSetDefault
 
validationNotNull() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationNotNull() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationNotNull() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationNotNull() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationNotNull() - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "not null" validation.
validationNotNull() - Method in class org.spincast.core.validation.ValidationSetDefault
 
validationNotPattern(String) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationNotPattern(String) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationNotPattern(String) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationNotPattern(String) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationNotPattern(String) - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "pattern must not match" validation.
validationNotPattern(String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
validationNull() - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationNull() - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationNull() - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationNull() - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationNull() - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "must be null" validation.
validationNull() - Method in class org.spincast.core.validation.ValidationSetDefault
 
validationPattern(String) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationPattern(String) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationPattern(String) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationPattern(String) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationPattern(String) - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "pattern must match" validation.
validationPattern(String) - Method in class org.spincast.core.validation.ValidationSetDefault
 
validationSet() - Method in interface org.spincast.core.json.JsonArray
 
validationSet() - Method in class org.spincast.core.json.JsonArrayDefault
 
validationSet() - Method in class org.spincast.core.json.JsonObjectDefault
 
validationSet() - Method in interface org.spincast.core.json.JsonObjectOrArray
Creates a new, empty validation set, for that JsonObject.
ValidationSet - Interface in org.spincast.core.validation
A validation set is a container to store one or multiple validation messages.
ValidationSetDefault - Class in org.spincast.core.validation
 
ValidationSetDefault(LinkedHashMap<String, List<ValidationMessage>>, ValidationFactory, SpincastDictionary, JsonManager, XmlManager, ObjectConverter) - Constructor for class org.spincast.core.validation.ValidationSetDefault
Constructor
ValidationSetDefault(ValidationFactory, SpincastDictionary, JsonManager, XmlManager, ObjectConverter) - Constructor for class org.spincast.core.validation.ValidationSetDefault
Constructor
ValidationSetDefault(String, List<ValidationMessage>, ValidationFactory, SpincastDictionary, JsonManager, XmlManager, ObjectConverter) - Constructor for class org.spincast.core.validation.ValidationSetDefault
Constructor
ValidationSetDefault(String, ValidationMessage, ValidationFactory, SpincastDictionary, JsonManager, XmlManager, ObjectConverter) - Constructor for class org.spincast.core.validation.ValidationSetDefault
Constructor
ValidationSetDefault(List<ValidationSet>, ValidationFactory, SpincastDictionary, JsonManager, XmlManager, ObjectConverter) - Constructor for class org.spincast.core.validation.ValidationSetDefault
Constructor
validationSize(int, boolean) - Method in interface org.spincast.core.validation.JsonArrayValidationSet
 
validationSize(int, boolean) - Method in class org.spincast.core.validation.JsonArrayValidationSetDefault
 
validationSize(int, boolean) - Method in interface org.spincast.core.validation.JsonObjectValidationSet
 
validationSize(int, boolean) - Method in class org.spincast.core.validation.JsonObjectValidationSetDefault
 
validationSize(int, boolean) - Method in interface org.spincast.core.validation.ValidationSet
Starts the creation of a "size" validation.
validationSize(int, boolean) - Method in class org.spincast.core.validation.ValidationSetDefault
 
ValidatorBase - Class in org.spincast.core.validation
Class that can be used as a base for validators.
ValidatorBase() - Constructor for class org.spincast.core.validation.ValidatorBase
 
valueOf(String) - Static method in enum org.spincast.core.filters.CorsFilterResponse
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.spincast.core.json.JsonPathUtilsDefault.JsonPathProcessingType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.spincast.core.response.AlertLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.spincast.core.routing.HttpMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.spincast.core.routing.RoutingType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.spincast.core.routing.StaticResourceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.spincast.core.session.FlashMessageLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.spincast.core.utils.ContentTypeDefaults
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.spincast.core.utils.GzipOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.spincast.core.validation.ValidationLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.spincast.core.validation.ValidationMessageFormatType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.spincast.core.filters.CorsFilterResponse
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.spincast.core.json.JsonPathUtilsDefault.JsonPathProcessingType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.spincast.core.response.AlertLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.spincast.core.routing.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.spincast.core.routing.RoutingType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.spincast.core.routing.StaticResourceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.spincast.core.session.FlashMessageLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.spincast.core.utils.ContentTypeDefaults
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.spincast.core.utils.GzipOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.spincast.core.validation.ValidationLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.spincast.core.validation.ValidationMessageFormatType
Returns an array containing the constants of this enum type, in the order they are declared.
variables() - Method in interface org.spincast.core.exchange.RequestContext
Request scoped variables related methods.
variables() - Method in class org.spincast.core.exchange.RequestContextBase
 
VariablesRequestContextAddon<R extends RequestContext<?>> - Interface in org.spincast.core.exchange
Methods to read and write request scoped variables.

W

websocket(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a Websocket route.
WEBSOCKET_V13_MAGIC_NUMBER - Static variable in class org.spincast.core.config.SpincastConstants
Do not change that, it is an official value.
websocketCloseEndpoint(String) - Method in interface org.spincast.core.server.Server
Closes a Websocket endpoint.
websocketCloseEndpoint(String, int, String) - Method in interface org.spincast.core.server.Server
Closes the entire Websocket endpoint.
websocketConnection(Object, String, String) - Method in interface org.spincast.core.server.Server
Transforms the request to a peer Websocket connection on the endpoint 'endpointId'.
WebsocketConnectionConfig - Interface in org.spincast.core.websocket
 
WebsocketContext<W extends WebsocketContext<?>> - Interface in org.spincast.core.websocket
The base interface for a WebSocket context.
WebsocketContextBase<W extends WebsocketContext<?>> - Class in org.spincast.core.websocket
The base implementation for a WebSocket context object.
WebsocketContextBase(String, String, WebsocketPeerManager, WebsocketContextBaseDeps<W>) - Constructor for class org.spincast.core.websocket.WebsocketContextBase
Constructor
WebsocketContextBaseDeps<W extends WebsocketContext<?>> - Class in org.spincast.core.websocket
A wrapper object for the dependencies required by WebsocketContextBase.
WebsocketContextBaseDeps(LocaleResolver, JsonManager, XmlManager, TemplatingEngine, Provider<Injector>) - Constructor for class org.spincast.core.websocket.WebsocketContextBaseDeps
Constructor
WebsocketContextFactory<W extends WebsocketContext<?>> - Interface in org.spincast.core.websocket
 
WebsocketContextType - Annotation Type in org.spincast.core.websocket
Used to bind and inject the WebSocket context type.
WebsocketController<R extends RequestContext<?>,W extends WebsocketContext<?>> - Interface in org.spincast.core.websocket
A controller for a WebSocket connection.
websocketCreateEndpoint(String, WebsocketEndpointHandler) - Method in interface org.spincast.core.server.Server
Creates a new Websocket endpoint.
WebsocketEndpointAlreadyManagedByAnotherControllerException - Exception in org.spincast.core.websocket.exceptions
Thrown if the WebSocket endpoint is already managed by another controller.
WebsocketEndpointAlreadyManagedByAnotherControllerException(String, String) - Constructor for exception org.spincast.core.websocket.exceptions.WebsocketEndpointAlreadyManagedByAnotherControllerException
 
WebsocketEndpointHandler - Interface in org.spincast.core.websocket
WebSocket endpoint handler.
WebsocketEndpointHandlerDefault<R extends RequestContext<?>,W extends WebsocketContext<?>> - Class in org.spincast.core.websocket
 
WebsocketEndpointHandlerDefault(String, WebsocketController<R, W>, WebsocketContextFactory<W>, Server) - Constructor for class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
Constructor
WebsocketEndpointHandlerFactory<R extends RequestContext<?>,W extends WebsocketContext<?>> - Interface in org.spincast.core.websocket
 
WebsocketEndpointManager - Interface in org.spincast.core.websocket
Manager for a WebSocket endpoint.
WebsocketEndpointToControllerManager - Interface in org.spincast.core.websocket
 
WebsocketEndpointToControllerManagerDefault - Class in org.spincast.core.websocket
 
WebsocketEndpointToControllerManagerDefault() - Constructor for class org.spincast.core.websocket.WebsocketEndpointToControllerManagerDefault
 
WebsocketEndpointWriter - Interface in org.spincast.core.websocket
Component to send WebSocket messages on an endpoint.
WebsocketPeerManager - Interface in org.spincast.core.websocket
Component to manage a specific peer.
WebsocketRoute<R extends RequestContext<?>,W extends WebsocketContext<?>> - Interface in org.spincast.core.websocket
A WebSocket route.
WebsocketRouteBuilder<R extends RequestContext<?>,W extends WebsocketContext<?>> - Interface in org.spincast.core.websocket
Builder for WebSocket routes.
WebsocketRouteBuilderFactory<R extends RequestContext<?>,W extends WebsocketContext<?>> - Interface in org.spincast.core.websocket
Factory to create a WebSocket route builder.
WebsocketRouteHandler<R extends RequestContext<?>,W extends WebsocketContext<?>> - Class in org.spincast.core.websocket
Route handler that manages the upgrade from a HTTP request to a WebSocket connection, once the potential "before" filters have been ran.
WebsocketRouteHandler(WebsocketRoute<R, W>, Server, WebsocketEndpointHandlerFactory<R, W>, WebsocketEndpointToControllerManager) - Constructor for class org.spincast.core.websocket.WebsocketRouteHandler
 
WebsocketRouteHandlerFactory<R extends RequestContext<?>,W extends WebsocketContext<?>> - Interface in org.spincast.core.websocket
 

X

X_FORWARDED_HOST - Static variable in class org.spincast.core.config.SpincastConstants.HttpHeadersExtra
 
X_FORWARDED_PORT - Static variable in class org.spincast.core.config.SpincastConstants.HttpHeadersExtra
 
xml() - Method in interface org.spincast.core.exchange.RequestContext
Easy access to the XmlManager, XML related methods.
xml() - Method in class org.spincast.core.exchange.RequestContextBase
 
xml() - Method in interface org.spincast.core.routing.RouteBuilder
Adds application/xml as an accepted Content-Type.
xml() - Method in interface org.spincast.core.websocket.WebsocketContext
Easy access to the XmlManager, XML related methods.
xml() - Method in class org.spincast.core.websocket.WebsocketContextBase
 
XmlManager - Interface in org.spincast.core.xml
Provides methods to work with XML strings and objects.

Z

zipDirectory(File, File, boolean) - Method in interface org.spincast.core.utils.SpincastUtils
Zips a directory.
zipDirectory(File, File, boolean) - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
zipExtract(File, File) - Method in interface org.spincast.core.utils.SpincastUtils
Extracts a .zip file to the specified directory.
zipExtract(File, File) - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
A B C D E F G H I J K L M N O P R S T U V W X Z 
Skip navigation links

Copyright © 2017. All rights reserved.