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(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
 
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 class org.spincast.core.request.FormDefault
 
addError(String, String, String) - Method in interface org.spincast.core.validation.ValidationSet
Creates and adds a new Error validation Message.
addForm(Form) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Adds a Form object to the response's model and links its validation messages to the default "validation" root element.
addForm(Form, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Adds a Form object to the response's model and links its validation messages to the specified validation element.
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 class org.spincast.core.request.FormDefault
 
addMessage(String, ValidationLevel, String, String) - Method in class org.spincast.core.request.FormDefault
 
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.
addMessageFormattedSpecifickey(String, List<ValidationMessage>, ValidationMessageFormatType, StringBuilder, JsonObject) - Method in class org.spincast.core.request.FormDefault
 
addMessagesFormattedSpecifickeyHtml(String, StringBuilder, List<ValidationMessage>) - Method in class org.spincast.core.request.FormDefault
 
addMessagesFormattedSpecifickeyTextPlain(String, StringBuilder, List<ValidationMessage>) - Method in class org.spincast.core.request.FormDefault
 
addOverridingModules(Module) - Method in class org.spincast.core.guice.GuiceTweaker
Those overriding modules will be added both *before* and then, again, *after* the plugins are applied.
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 class org.spincast.core.request.FormDefault
 
addSuccess(String, String, String) - Method in interface org.spincast.core.validation.ValidationSet
Creates and adds a new Success validation Message.
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 class org.spincast.core.request.FormDefault
 
addWarning(String, String, String) - Method in interface org.spincast.core.validation.ValidationSet
Creates and adds a new Warning validation Message.)
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.
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() - Method in interface org.spincast.core.routing.Router
Starts the creation of a route matching any HTTP method, and on any path.
ALL(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a route matching any HTTP method.
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.

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(Handler<R>) - Method in interface org.spincast.core.websocket.WebsocketRouteBuilder
Adds a before filter.
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
 
bindCoreDictionaryMessages() - 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
 
bindFormFactory() - 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
 
bindServerStartedInterceptor() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindServerStartedListenersMultibinder() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindServerUtils() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindsInterceptors() - 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
Note that can only be called once.
bindSpincastUtilsClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindSSLContextFactory() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindTestingModeFlag() - Method in class org.spincast.core.guice.SpincastCorePluginModule
Currently, we set the @TestingMode flag to "true" if a GuiceTweaker exists or if JUnit/TestNG can be detected in the stacktrace.
bindValidationFactory() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
bindValidators() - 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.
callServerStartedListeners() - Method in interface org.spincast.core.server.ServerUtils
This must be called by a Server implementation, after it has been successfully started!
callServerStartedListeners() - Method in class org.spincast.core.server.ServerUtilsDefault
 
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.
closeQuietly(InputStream) - Static method in class org.spincast.core.utils.SpincastStatics
 
closeQuietly(OutputStream) - Static method in class org.spincast.core.utils.SpincastStatics
 
closeQuietly(Reader) - Static method in class org.spincast.core.utils.SpincastStatics
 
closeQuietly(Closeable) - Static method in class org.spincast.core.utils.SpincastStatics
 
closeQuietlyInstance(InputStream) - Method in class org.spincast.core.utils.SpincastStatics
 
closeQuietlyInstance(OutputStream) - Method in class org.spincast.core.utils.SpincastStatics
 
closeQuietlyInstance(Reader) - Method in class org.spincast.core.utils.SpincastStatics
 
closeQuietlyInstance(Closeable) - Method in class org.spincast.core.utils.SpincastStatics
 
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
 
configure() - Method in class org.spincast.core.guice.SpincastGuiceModuleBase
 
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
 
convertToInstantFromJsonDateFormat(Object) - Method in interface org.spincast.core.utils.ObjectConverter
Converts the element to a Instant.
convertToInstantFromJsonDateFormat(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
 
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, CookieSameSite, boolean, int, SpincastConfig) - Constructor for class org.spincast.core.cookies.CookieDefault
Constructor
CookieFactory - Interface in org.spincast.core.cookies
Factory to create cookies.
CookieSameSite - Enum in org.spincast.core.cookies
Possible values for a ccokie's "SameSite" attribute.
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(FlashMessageLevel, String) - Method in interface org.spincast.core.flash.FlashMessageFactory
 
create(FlashMessageLevel, String, JsonObject) - Method in interface org.spincast.core.flash.FlashMessageFactory
 
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(boolean, StaticResourceType, String, String, Handler<R>, StaticResourceCorsConfig, StaticResourceCacheConfig, boolean) - Method in interface org.spincast.core.routing.StaticResourceFactory
 
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, CookieSameSite, 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
 
createForm(String) - Method in interface org.spincast.core.json.JsonManager
Creates an empty Form, which is a JsonObject + a validations container.
createForm(String, JsonObject) - Method in interface org.spincast.core.request.FormFactory
 
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.
createMessage(ValidationLevel, String, String) - Method in interface org.spincast.core.validation.ValidationFactory
 
createNewValidationSet() - Method in class org.spincast.core.request.FormDefault
 
createNewValidationSet() - Method in interface org.spincast.core.validation.ValidationSet
Creates a new ValidationSet.
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
 
createValidationSet() - Method in interface org.spincast.core.validation.ValidationFactory
 
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_ROUTE_PATH - 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_KEY_URL_ROOT - 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() - Method in interface org.spincast.core.routing.Router
Starts the creation of a DELETE route, for all path.
DELETE(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a DELETE route.
deleteAllCookiesUserHas() - 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.
Dictionary - Interface in org.spincast.core.dictionary
The entity to get a localized message given a specified key.
DictionaryBase - Class in org.spincast.core.dictionary
Base class that can be used for a Dictionary implementation.
DictionaryBase() - Constructor for class org.spincast.core.dictionary.DictionaryBase
 
DictionaryEntries - Interface in org.spincast.core.dictionary
A Set of entries to add to the Dictionary.
DictionaryEntryNotFoundBehavior - Enum in org.spincast.core.dictionary
How to deal with a key that is not found in the dictionary, at runtime?
DictionaryKeyNotFoundException - Exception in org.spincast.core.dictionary
 
DictionaryKeyNotFoundException(String, Locale) - Constructor for exception org.spincast.core.dictionary.DictionaryKeyNotFoundException
 
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_KEYS_HAS_ERRORS - Static variable in class org.spincast.core.request.FormDefault
 
ELEMENT_KEYS_HAS_SUCCESSES - Static variable in class org.spincast.core.request.FormDefault
 
ELEMENT_KEYS_HAS_WARNINGS - Static variable in class org.spincast.core.request.FormDefault
 
ELEMENT_KEYS_IS_VALID - Static variable in class org.spincast.core.request.FormDefault
 
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
 
enumsToFriendlyJsonArray(Enum<?>[]) - Method in interface org.spincast.core.json.JsonManager
Convert the enums to an array of JsonObjects that have a ".name" property (the name() of the enum) and a ".label" property (the toString() of the enum).
enumToFriendlyJsonObject(Enum<?>) - Method in interface org.spincast.core.json.JsonManager
Convert the enum value to a JsonObject that has a ".name" property (the name() of the enum) and a ".label" property (the toString() of the enum)
enumValueOfInsensitive(Class<T>, String) - Method in interface org.spincast.core.utils.SpincastUtils
Perform a case insensitive valueOf(value) search on an enum.
enumValueOfInsensitive(Class<T>, String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
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) - Method in interface org.spincast.core.templating.TemplatingEngine
Evaluates the content, without parameters.
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) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
Evaluates some content without any 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.
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

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.flash
A Flash message.
FlashMessageDefault - Class in org.spincast.core.flash
 
FlashMessageDefault(FlashMessageLevel, String, JsonManager) - Constructor for class org.spincast.core.flash.FlashMessageDefault
 
FlashMessageDefault(FlashMessageLevel, String, JsonObject, JsonManager) - Constructor for class org.spincast.core.flash.FlashMessageDefault
 
FlashMessageFactory - Interface in org.spincast.core.flash
Factory to create Flash Messages.
FlashMessageLevel - Enum in org.spincast.core.flash
The potential levels of a Flash message.
FlashMessagesHolder - Interface in org.spincast.core.flash
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.flash
TODO Use a Session?
FlashMessagesHolderDefault() - Constructor for class org.spincast.core.flash.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?
Form - Interface in org.spincast.core.request
Specialized JsonObject that is also a ValidationSet to store validations.
FormDefault - Class in org.spincast.core.request
 
FormDefault(String, JsonObject, JsonManager, SpincastUtils, ObjectConverter, Dictionary, XmlManager, SpincastConfig, Validators, FormFactory, ValidationFactory) - Constructor for class org.spincast.core.request.FormDefault
 
FormFactory - Interface in org.spincast.core.request
 
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 a 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(String) - Method in interface org.spincast.core.dictionary.Dictionary
Gets a message.
get(String, Locale) - Method in interface org.spincast.core.dictionary.Dictionary
Gets a message.
get(String, boolean) - Method in interface org.spincast.core.dictionary.Dictionary
Gets a message.
get(String, Locale, boolean) - Method in interface org.spincast.core.dictionary.Dictionary
Gets a message.
get(String, Pair...) - Method in interface org.spincast.core.dictionary.Dictionary
Gets a message.
get(String, Locale, Pair...) - Method in interface org.spincast.core.dictionary.Dictionary
Gets a message.
get(String, Map<String, Object>) - Method in interface org.spincast.core.dictionary.Dictionary
Gets a message.
get(String, Locale, Map<String, Object>) - Method in interface org.spincast.core.dictionary.Dictionary
Gets a message.
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() - Method in interface org.spincast.core.routing.Router
Starts the creation of a GET route, for all path.
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
 
getArrayFirstInstant(int) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as Instant) of a JsonArray element.
getArrayFirstInstant(int, Instant) - Method in interface org.spincast.core.json.JsonArray
Gets the first element (as Instant) of a JsonArray element.
getArrayFirstInstant(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstInstant(int, Instant) - Method in class org.spincast.core.json.JsonArrayDefault
 
getArrayFirstInstant(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstInstant(String, Instant) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstInstant(String, boolean, boolean, Instant) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstInstant(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as Instant) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstInstant(String, Instant) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets the first value (as Instant) of a JsonArray property of the object, using the JsonPath to find the array.
getArrayFirstInstantNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getArrayFirstInstantNoKeyParsing(String, Instant) - 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
 
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
 
getBindingsHierarchiesToRemoveBeforePlugins() - 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.
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.
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.flash.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.flash.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.
getCharactersCharsetName() - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
The charset to use to convert characters to bytes.
getClasspathFile(String) - Static method in class org.spincast.core.utils.SpincastStatics
Gets a file on the classpath.
getClasspathFileInstance(String) - Method in class org.spincast.core.utils.SpincastStatics
 
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
 
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.
getCookieNameTimeZoneId() - Method in interface org.spincast.core.config.SpincastConfig
Name of the Cookie to use to save the id of the user TimeZone.
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.
getCookiesValues() - 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.
getCookieValue(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Gets the value of a request cookie by name.
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.request.FormDefault
The css class to use for a key's <li> element.
getCssClassForErrorMessage() - Method in class org.spincast.core.request.FormDefault
The css class to use for an error message's <li> element.
getCssClassForSuccessMessage() - Method in class org.spincast.core.request.FormDefault
 
getCssClassForWarningMessage() - Method in class org.spincast.core.request.FormDefault
 
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 string 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 string 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.request.FormDefault
 
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.
getDefaultTimeZone() - Method in interface org.spincast.core.config.SpincastConfig
The default TimeZone to use if no other TimeZone can be found as a "best match", for the current request.
getDictionary() - Method in class org.spincast.core.config.SpincastInitValidator
 
getDictionary() - Method in class org.spincast.core.controllers.SpincastFrontController
 
getDictionary() - Method in class org.spincast.core.request.FormDefault
 
getDictionaryEntries() - Method in class org.spincast.core.config.SpincastInitValidator
 
getDictionaryEntries() - Method in interface org.spincast.core.dictionary.DictionaryEntries
 
getDictionaryEntries() - Method in class org.spincast.core.dictionary.SpincastCoreDictionaryEntriesDefault
 
getDictionaryEntryNotFoundBehavior() - Method in interface org.spincast.core.config.SpincastConfig
If a dictionary key is not found, how must Spincast react?
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
 
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.
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.
getExactBindingsToRemoveBeforePlugins() - 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
 
getFile() - Method in interface org.spincast.core.server.UploadedFile
 
getFile() - Method in class org.spincast.core.server.UploadedFileDefault
 
getFileName() - Method in interface org.spincast.core.server.UploadedFile
 
getFileName() - Method in class org.spincast.core.server.UploadedFileDefault
 
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.flash.FlashMessagesHolder
Gets a Flash Message from its id.
getFlashMessage(String, boolean) - Method in class org.spincast.core.flash.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.flash.FlashMessage
The type of the Flash message.
getFlashType() - Method in class org.spincast.core.flash.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
 
getFormBodyAsJsonObject() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The data submitted as a FORM body (in general via a POST method), as an immutable JsonObject.
getFormBodyRaw() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The data submitted as a FORM body (in general via a POST method), as a Map.
getFormData(Object) - Method in interface org.spincast.core.server.Server
The form data, if any.
getFormFactory() - Method in class org.spincast.core.request.FormDefault
 
getFormImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getFormName() - Method in interface org.spincast.core.request.Form
The name of the form.
getFormName() - Method in class org.spincast.core.request.FormDefault
 
getFormWithRootKey(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Gets the part of the submitted FORM body that is scoped by the specified root key.
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.
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
 
getInstant(int) - Method in interface org.spincast.core.json.JsonArray
Gets an Instant from a ISO 8601 date element.
getInstant(int, Instant) - Method in interface org.spincast.core.json.JsonArray
Gets an Instant from a ISO 8601 date element.
getInstant(int) - Method in class org.spincast.core.json.JsonArrayDefault
 
getInstant(int, Instant) - Method in class org.spincast.core.json.JsonArrayDefault
 
getInstant(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getInstant(String, Instant) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getInstant(String, boolean, Instant, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getInstant(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an Instant from a ISO 8601 date string element using the specified JsonPath.
getInstant(String, Instant) - Method in interface org.spincast.core.json.JsonObjectOrArray
Gets an Instant from a ISO 8601 date string element using the specified JsonPath.
getInstantElement(String, boolean, Instant) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getInstantFromObject(Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getInstantNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
Gets an Instant from a ISO 8601 date element.
getInstantNoKeyParsing(String, Instant) - Method in interface org.spincast.core.json.JsonObject
Gets an Instant from a ISO 8601 date element.
getInstantNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
getInstantNoKeyParsing(String, Instant) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
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
 
getIp() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
Gets the IP of the current request.
getIp(Object) - Method in interface org.spincast.core.server.Server
Gets the IP of the current request.
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
 
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, boolean) - 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.
getJsonArrayOrEmpty(String, boolean) - 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
 
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.flash.FlashMessageDefault
 
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.utils.ObjectConverterDefault
 
getJsonManager() - Method in class org.spincast.core.validation.ValidationMessageDefault
 
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, boolean) - 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.
getJsonObjectOrEmpty(String, boolean) - 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
 
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
 
getKey() - Method in exception org.spincast.core.dictionary.DictionaryKeyNotFoundException
 
getKey() - Method in class org.spincast.core.utils.Pair
 
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
 
getLocale() - Method in exception org.spincast.core.dictionary.DictionaryKeyNotFoundException
 
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.flash.FlashMessagesHolderDefault
 
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.
getMessages() - Method in class org.spincast.core.dictionary.DictionaryBase
 
getMessages() - Method in class org.spincast.core.request.FormDefault
 
getMessages(String) - Method in class org.spincast.core.request.FormDefault
 
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.
getMessagesFormatted(ValidationMessageFormatType) - Method in class org.spincast.core.request.FormDefault
 
getMessagesFormatted(String, ValidationMessageFormatType) - Method in class org.spincast.core.request.FormDefault
 
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.
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
 
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.
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
 
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
 
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.
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.Route
The position at which this route should be run during a routing process.
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.
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.
getSameSite() - Method in interface org.spincast.core.cookies.Cookie
The "sameSite" attribute.
getSameSite() - Method in class org.spincast.core.cookies.CookieDefault
 
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.
getServerStartedListeners() - Method in class org.spincast.core.server.ServerUtilsDefault
 
getServerUtils() - Method in class org.spincast.core.config.ServerStartedInterceptor
 
getServerUtilsImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getSourceRoute() - Method in interface org.spincast.core.routing.RouteHandlerMatch
The route associated with this match.
getSpincastConfig() - Method in class org.spincast.core.config.SpincastInit
 
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.request.FormDefault
 
getSpincastConfig() - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
getSpincastCoreDictionaryEntriesImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getSpincastCurrentVersion() - Method in interface org.spincast.core.utils.SpincastUtils
Gets the current Spincast version.
getSpincastCurrentVersion() - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
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
 
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.
getStringBody(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The request's body as a String, using the specified encoding.
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
 
getTag() - Method in interface org.spincast.core.routing.ETag
Gets the tag text.
getTempDir() - Method in interface org.spincast.core.config.SpincastConfig
A directory where temp files can be written by Spincast.
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.flash.FlashMessage
The text of the Flash message.
getText() - Method in class org.spincast.core.flash.FlashMessageDefault
 
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.validation.ValidationMessage
The text of the message.
getText() - Method in class org.spincast.core.validation.ValidationMessageDefault
 
getTimeZoneResolver() - Method in class org.spincast.core.exchange.RequestContextBase
 
getTimeZoneResolver() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
 
getTimeZoneResolver() - Method in class org.spincast.core.websocket.WebsocketContextBase
 
getTimeZoneResolver() - Method in class org.spincast.core.websocket.WebsocketContextBaseDeps
 
getTimeZoneToUse() - Method in interface org.spincast.core.exchange.RequestContext
The best TimeZone to use, as resolved by the TimeZoneResolver.
getTimeZoneToUse() - Method in class org.spincast.core.exchange.RequestContextBase
 
getTimeZoneToUse() - Method in interface org.spincast.core.timezone.TimeZoneResolver
The best TimeZone to use.
getTimeZoneToUse() - Method in interface org.spincast.core.websocket.WebsocketContext
The best TimeZone to use, as resolved by the TimeZoneResolver.
getTimeZoneToUse() - Method in class org.spincast.core.websocket.WebsocketContextBase
 
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 uploaded files of the specified HTML's name attribute.
getUploadedFiles() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The key of the map if the HTML's name attribute.
getUploadedFiles(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
The uploaded files of the specified HTML's name attribute.
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.
getValidationElementDefaultName() - Method in interface org.spincast.core.config.SpincastConfig
The default name to use for the validation element that will be available on the response's model when Form elements are added.
getValidationFactory() - Method in class org.spincast.core.request.FormDefault
 
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
 
getValidationResultAsJsonObject() - Method in class org.spincast.core.request.FormDefault
 
getValidationResultAsJsonObject() - Method in interface org.spincast.core.validation.ValidationSet
The JsonObject in which the validation messages are actually stored.
getValidationSetImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
getValidatorsImplClass() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
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
 
getValue() - Method in class org.spincast.core.utils.Pair
 
getVariables() - Method in interface org.spincast.core.flash.FlashMessage
Potential variables associated with this Flash message.
getVariables() - Method in class org.spincast.core.flash.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
 
getWholeValidationKey() - Method in class org.spincast.core.request.FormDefault
 
getWritableRootDir() - Method in interface org.spincast.core.config.SpincastConfig
A directory where generated files can be written by Spincast.
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.request.FormDefault
 
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
 
GuiceAopMethodNameMatcher - Class in org.spincast.core.guice
Guice AOP Method Matcher that will matche on the name of the method.
GuiceAopMethodNameMatcher(String) - Constructor for class org.spincast.core.guice.GuiceAopMethodNameMatcher
 
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(Handler<R>) - Method in interface org.spincast.core.routing.RouteBuilder
Creates the route and saves it to the router.
handle() - Method in interface org.spincast.core.routing.StaticResourceBuilder
Saves the static resource route to the router.
handle(Handler<R>) - Method in interface org.spincast.core.routing.StaticResourceBuilder
Saves the static resource route.
handle(Handler<R>, boolean) - Method in interface org.spincast.core.routing.StaticResourceBuilder
Saves the static resource route.
handle(WebsocketController<R, W>) - Method in interface org.spincast.core.websocket.WebsocketRouteBuilder
Saves the WebSocket route on the router.
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 class org.spincast.core.request.FormDefault
 
hasMessages(String) - Method in class org.spincast.core.request.FormDefault
 
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?
HEAD() - Method in interface org.spincast.core.routing.RouteBuilder
Adds HEAD as a supported HTTP method.
HEAD() - Method in interface org.spincast.core.routing.Router
Starts the creation of a HEAD route, for all path.
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.
init() - Method in class org.spincast.core.config.SpincastInit
 
init() - Method in class org.spincast.core.config.SpincastInitValidator
Init
init() - Method in class org.spincast.core.dictionary.SpincastCoreDictionaryEntriesDefault
 
init() - Method in class org.spincast.core.request.FormDefault
 
init(SpincastConfig, Router<R, W>) - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
Init : binds the aliases.
inQuotesStringFormat(String, boolean) - Method in interface org.spincast.core.utils.SpincastUtils
Format a String so it can be outputed in a HTML page, as a one line javascript string or the attribute of an HTML element.
inQuotesStringFormat(String, boolean) - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
install(Module) - Method in class org.spincast.core.guice.SpincastGuiceModuleBase
 
invoke(MethodInvocation) - Method in class org.spincast.core.config.ServerStartedInterceptor
 
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?
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?
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?
isContainsSpecialCharacters(String) - Method in interface org.spincast.core.utils.SpincastUtils
Valid of a String only contains characters over 31 (or DEL (127).
isContainsSpecialCharacters(String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
 
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
 
isDefaultRouteCacheFilterPrivate() - Method in interface org.spincast.core.config.SpincastConfig
When using the .cache() method on a route builder, is the cache private by default?
isDevelopmentMode() - Method in interface org.spincast.core.config.SpincastConfig
Let this to true on a development environment, where errors can be publicly displayed, where cache can be disabled, where class redefinition can be done, etc.
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
 
isEmailValid(String) - Method in interface org.spincast.core.validation.Validators
Validates an email.
isEmailValid(String) - Method in class org.spincast.core.validation.ValidatorsDefault
 
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 class org.spincast.core.request.FormDefault
 
isError(String) - Method in class org.spincast.core.request.FormDefault
 
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.
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
 
isResourceRoute() - Method in interface org.spincast.core.routing.Route
Is this a route for a resource? It is if it was was started using Router.dir(String) or Router.file(String).
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
 
isSkipResourcesRequests() - Method in interface org.spincast.core.routing.Route
Should a request for a resource be skipped?
isSpicastCoreRouteOrPluginRoute() - Method in interface org.spincast.core.routing.Route
Is this a route added by Spincast itself or by a plugin? Otherwise, the route is considered as an application route.
isSpicastCoreRouteOrPluginRoute() - Method in interface org.spincast.core.websocket.WebsocketRoute
Is this a route added by Spincast itself or by a plugin? Otherwise, the route is considered as an application route.
isSpicastOrPluginAddedResource() - Method in interface org.spincast.core.routing.StaticResource
Is this a resource added by Spincast itself or by a plugin? Otherwise, the resource is considered as an application resource.
isSpincastRequestScopedBound - Variable in class org.spincast.core.guice.SpincastCorePluginModule
 
isSuccess() - Method in class org.spincast.core.request.FormDefault
 
isSuccess(String) - Method in class org.spincast.core.request.FormDefault
 
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).
isTestingMode() - Method in interface org.spincast.core.config.SpincastConfig
Returns true if the context has been created for running tests.
isValid() - Method in class org.spincast.core.request.FormDefault
 
isValid(String...) - Method in class org.spincast.core.request.FormDefault
 
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 elements at the specified keys dont not contain ERROR messages.
isValidateLocalhostHost() - Method in interface org.spincast.core.config.SpincastConfig
By default, if SpincastConfig.getPublicServerHost() returns "localhost", SpincastConfig.getEnvironmentName() is not "local" and SpincastConfig.isDevelopmentMode() is false, an exception is thrown when the application starts.
isWarning() - Method in class org.spincast.core.request.FormDefault
 
isWarning(String) - Method in class org.spincast.core.request.FormDefault
 
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.
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) - Constructor for class org.spincast.core.json.JsonArrayDefault
Constructor
JsonArrayDefault(List<Object>, JsonManager, SpincastUtils, ObjectConverter) - Constructor for class org.spincast.core.json.JsonArrayDefault
Constructor
JsonArrayDefault(List<Object>, boolean, JsonManager, SpincastUtils, ObjectConverter) - Constructor for class org.spincast.core.json.JsonArrayDefault
Constructor
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) - 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) - Constructor for class org.spincast.core.json.JsonObjectDefault
Constructor
JsonObjectDefault(Map<String, Object>, JsonManager, SpincastUtils, ObjectConverter) - Constructor for class org.spincast.core.json.JsonObjectDefault
Constructor
JsonObjectDefault(Map<String, Object>, boolean, JsonManager, SpincastUtils, ObjectConverter) - Constructor for class org.spincast.core.json.JsonObjectDefault
Constructor
JsonObjectDefault(JsonObject, boolean, JsonManager, SpincastUtils, ObjectConverter) - 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.
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, Pair...) - Method in class org.spincast.core.dictionary.DictionaryBase
Adds a message.

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.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
 
longValueOrNull(Object) - Static method in class org.spincast.core.utils.SpincastStatics
Returns null if the specified object is null or uses Long.parseLong(String) otherwise, by casting the obj using obj.toString()
longValueOrNullInstance(Object) - Method in class org.spincast.core.utils.SpincastStatics
 

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(Method) - Method in class org.spincast.core.guice.GuiceAopMethodNameMatcher
 
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, ?>) - Method in interface org.spincast.core.json.JsonObject
Merges all the specified Map elements in the JsonObject.
merge(Map<String, ?>, 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, ?>) - Method in class org.spincast.core.json.JsonObjectDefault
 
merge(Map<String, ?>, 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 class org.spincast.core.request.FormDefault
 
mergeValidationSet(String, ValidationSet) - Method in class org.spincast.core.request.FormDefault
 
mergeValidationSet(ValidationSet) - Method in interface org.spincast.core.validation.ValidationSet
Merges another ValidationSet.
mergeValidationSet(String, ValidationSet) - Method in interface org.spincast.core.validation.ValidationSet
Merges another ValidationSet and prefixes all the validation keys of this set using the validationKeyPrefix.
MESSAGE_KEY_EXCEPTION_DEFAULTMESSAGE - Static variable in class org.spincast.core.dictionary.SpincastCoreDictionaryEntriesDefault
 
MESSAGE_KEY_ROUTE_NOT_FOUND_DEFAULTMESSAGE - Static variable in class org.spincast.core.dictionary.SpincastCoreDictionaryEntriesDefault
 
MESSAGE_KEY_VALIDATION_GENERICERROR_DEFAULTTEXT - Static variable in class org.spincast.core.dictionary.SpincastCoreDictionaryEntriesDefault
 
methods(Set<HttpMethod>) - Method in interface org.spincast.core.routing.RouteBuilder
Adds the specified HTTP methods as being supported.
methods(HttpMethod...) - Method in interface org.spincast.core.routing.RouteBuilder
Adds the specified HTTP methods as being supported.
methods(Set<HttpMethod>) - Method in interface org.spincast.core.routing.Router
Starts the creation of a route matching the specified HTTP methods and on any path.
methods(String, Set<HttpMethod>) - Method in interface org.spincast.core.routing.Router
Starts the creation of a route matching the specified HTTP methods.
methods(HttpMethod...) - Method in interface org.spincast.core.routing.Router
Starts the creation of a route matching the specified HTTP methods and on any path.
methods(String, HttpMethod...) - Method in interface org.spincast.core.routing.Router
Starts the creation of a route matching the specified HTTP methods.
msg(String, String) - Method in class org.spincast.core.dictionary.DictionaryBase
Creates a localized message.

N

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
 
of(String, Object) - Static method in class org.spincast.core.utils.Pair
 
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() - Method in interface org.spincast.core.routing.Router
Starts the creation of a OPTIONS route, for all path.
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.dictionary - package org.spincast.core.dictionary
 
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.flash - package org.spincast.core.flash
 
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.request - package org.spincast.core.request
 
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.templating - package org.spincast.core.templating
 
org.spincast.core.timezone - package org.spincast.core.timezone
 
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

Pair - Class in org.spincast.core.utils
A simple String to Object pair.
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 (ISO-8601) 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() - Method in interface org.spincast.core.routing.Router
Starts the creation of a PATCH route, for all path.
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() - Method in interface org.spincast.core.routing.Router
Starts the creation of a POST route, for all path.
POST(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a POST route.
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, boolean, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
PUT() - Method in interface org.spincast.core.routing.RouteBuilder
Adds PUT as a supported HTTP method.
PUT() - Method in interface org.spincast.core.routing.Router
Starts the creation of a PUT route, for all path.
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
 

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.
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 application routes (not the ones added by Spincast and plugins).
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, TimeZoneResolver, 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.
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

saveFlashMessage(FlashMessage) - Method in interface org.spincast.core.flash.FlashMessagesHolder
Saves a Flash Message.
saveFlashMessage(FlashMessage) - Method in class org.spincast.core.flash.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.
ServerStartedInterceptor - Class in org.spincast.core.config
Interceptor that will call the ServerStartedListener listeners once the server is started.
ServerStartedInterceptor(Provider<ServerUtils>) - Constructor for class org.spincast.core.config.ServerStartedInterceptor
 
ServerStartedListener - Interface in org.spincast.core.server
To implement to be informed after the application server is started succesfully.
serverStartedSuccessfully() - Method in class org.spincast.core.config.SpincastInit
 
serverStartedSuccessfully() - Method in interface org.spincast.core.server.ServerStartedListener
Called after the server ha been started successfully.
ServerUtils - Interface in org.spincast.core.server
Some utilities for server implementation.
ServerUtilsDefault - Class in org.spincast.core.server
 
ServerUtilsDefault(Set<ServerStartedListener>) - Constructor for class org.spincast.core.server.ServerUtilsDefault
 
set(String, Object) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
Adds a request scoped variable.
set(Map<String, Object>) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
Adds request scoped variables.
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
 
set(String, Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
set(String, Object, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
 
set(String, Object) - Method in interface org.spincast.core.json.JsonObjectOrArray
Sets an element at the specified JsonPath.
set(String, Object, boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
Sets an element at the specified JsonPath.
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
 
setCookie(Cookie) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a cookie.
setCookie(String, String, int) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a cookie using the specified name, value and number of seconds to live.
setCookie(String, String, int, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a cookie using the specified name, value, number of seconds to live and if it's http only.
setCookie(String, String, String, String, Date, boolean, boolean, CookieSameSite, boolean, int) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a cookie, using all available configurations.
setCookie10years(String, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a permanent cookie (10 years) using the specified name and value.
setCookie10yearsSafe(String, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a permanent cookie (10 years) using the specified name and value.
setCookie1year(String, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a permanent cookie (1 years) using the specified name and value.
setCookie1yearSafe(String, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a permanent cookie (1 years) using the specified name and value.
setCookieSession(String, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a cookie using the specified name and value.
setCookieSessionSafe(String, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
Sets a cookie using the specified name and value.
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.
setNoKeyParsing(String, Object) - Method in interface org.spincast.core.json.JsonObject
Sets an element at the specified key, without parsing this key as a JsonPath.
setNoKeyParsing(String, Object, boolean) - Method in interface org.spincast.core.json.JsonObject
Sets an element at the specified key, without parsing this key as a JsonPath.
setNoKeyParsing(String, Object) - Method in class org.spincast.core.json.JsonObjectDefault
 
setNoKeyParsing(String, Object, boolean) - Method in class org.spincast.core.json.JsonObjectDefault
 
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.
setSameSite(CookieSameSite) - Method in interface org.spincast.core.cookies.Cookie
The "sameSite" attribute to add.
setSameSite(CookieSameSite) - Method in class org.spincast.core.cookies.CookieDefault
 
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.
setValidationObject(JsonObject) - Method in interface org.spincast.core.request.Form
Sets the JsonObject to use to store the validation messages.
setValidationObject(JsonObject) - Method in class org.spincast.core.request.FormDefault
 
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
 
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.
size() - Method in class org.spincast.core.request.FormDefault
 
size() - Method in interface org.spincast.core.validation.ValidationSet
The number of validation messages in this set.
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
 
skipResourcesRequests() - Method in interface org.spincast.core.routing.RouteBuilder
Won't be applied if the request is for a resource (Route.isResourceRoute()).
spicastCoreRouteOrPluginRoute() - Method in interface org.spincast.core.routing.RouteBuilder
This should only by called by *plugins*.
spicastCoreRouteOrPluginRoute() - Method in interface org.spincast.core.websocket.WebsocketRouteBuilder
This sould only by called by *plugins*.
spicastOrPluginAddedResource() - Method in interface org.spincast.core.routing.StaticResourceBuilder
This should only by called by *plugins*.
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.
SpincastCoreDictionaryEntries - Interface in org.spincast.core.dictionary
 
SpincastCoreDictionaryEntriesDefault - Class in org.spincast.core.dictionary
Provides a default english value for the messages that are required in any Spincast application.
SpincastCoreDictionaryEntriesDefault() - Constructor for class org.spincast.core.dictionary.SpincastCoreDictionaryEntriesDefault
 
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
 
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, Dictionary, 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.
SpincastInit - Class in org.spincast.core.config
Some basic initialization
SpincastInit(SpincastConfig) - Constructor for class org.spincast.core.config.SpincastInit
 
spincastInit() - Method in class org.spincast.core.guice.SpincastCorePluginModule
 
SpincastInitValidator - Class in org.spincast.core.config
Init validation performs by Spincast when an application starts.
SpincastInitValidator(SpincastConfig, Dictionary, SpincastCoreDictionaryEntries, Set<DictionaryEntries>) - 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
stringValueOrNull(Object) - Static method in class org.spincast.core.utils.SpincastStatics
Returns null if the specified object is null or uses String.valueOf(Object) otherwise.
stringValueOrNullInstance(Object) - Method in class org.spincast.core.utils.SpincastStatics
 

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).
TestingMode - Annotation Type in org.spincast.core.guice
Used to indicate if the code is run from tests!
threadLocal - Static variable in class org.spincast.core.guice.GuiceTweaker
 
TimeZoneResolver - Interface in org.spincast.core.timezone
Component which finds the best TimeZone to use.
to(String) - Method in interface org.spincast.core.routing.RedirectRuleBuilder
The new path or full URL to redirect to.
toArray(Set<T>, Class<T>) - Static method in class org.spincast.core.utils.SpincastStatics
 
toArrayInstance(Set<T>, Class<T>) - Method in class org.spincast.core.utils.SpincastStatics
 
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.request.FormDefault
 
toMessages(List<ValidationSet>) - Static method in class org.spincast.core.request.FormDefault
 
toString() - Method in class org.spincast.core.cookies.CookieDefault
 
toString() - Method in enum org.spincast.core.cookies.CookieSameSite
 
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.server.UploadedFileDefault
 
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.ValidationSetSimple
 
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() - Method in interface org.spincast.core.routing.Router
Starts the creation of a TRACE route, for all path.
TRACE(String) - Method in interface org.spincast.core.routing.Router
Starts the creation of a TRACE route, at the specified position.
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.
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

UploadedFile - Interface in org.spincast.core.server
 
UploadedFileDefault - Class in org.spincast.core.server
 
UploadedFileDefault(File, String) - Constructor for class org.spincast.core.server.UploadedFileDefault
 
url(String) - Method in interface org.spincast.core.routing.StaticResourceBuilder
The URL pointing to the resource.
usePrettyJson() - Method in class org.spincast.core.request.FormDefault
 
usePrettyXml() - Method in class org.spincast.core.request.FormDefault
 

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.
validateDictionaryEntries() - Method in class org.spincast.core.config.SpincastInitValidator
Validates that all bounded Dictionary entry has a value.
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.
ValidationFactory - Interface in org.spincast.core.validation
 
ValidationLevel - Enum in org.spincast.core.validation
The level of a validation.
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.
ValidationSet - Interface in org.spincast.core.validation
 
ValidationSetSimple - Class in org.spincast.core.validation
 
ValidationSetSimple(JsonManager, SpincastUtils, ObjectConverter, Dictionary, XmlManager, SpincastConfig, Validators, FormFactory, ValidationFactory) - Constructor for class org.spincast.core.validation.ValidationSetSimple
 
validators() - Method in interface org.spincast.core.request.Form
Returns the Validators.
validators() - Method in class org.spincast.core.request.FormDefault
 
Validators - Interface in org.spincast.core.validation
 
ValidatorsDefault - Class in org.spincast.core.validation
 
ValidatorsDefault() - Constructor for class org.spincast.core.validation.ValidatorsDefault
 
valueOf(String) - Static method in enum org.spincast.core.cookies.CookieSameSite
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.spincast.core.dictionary.DictionaryEntryNotFoundBehavior
Returns the enum constant of this type with the specified name.
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.flash.FlashMessageLevel
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.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.cookies.CookieSameSite
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.spincast.core.dictionary.DictionaryEntryNotFoundBehavior
Returns an array containing the constants of this enum type, in the order they are declared.
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.flash.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.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.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, TimeZoneResolver, 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
 
writableDirsCheck() - Method in class org.spincast.core.config.SpincastInit
 

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 © 2018. All rights reserved.