Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(Set<ContentTypeDefaults>) - Method in interface org.spincast.core.routing.RouteBuilder
-
Sets the accepted
Content-Types. - accept(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(int, Object) - Method in interface org.spincast.core.json.JsonArray
-
Inserts an object at the specified index in the array.
- add(int, Object) - Method in class org.spincast.core.json.JsonArrayDefault
- add(int, Object, boolean) - Method in interface org.spincast.core.json.JsonArray
-
Adds an object at the specified index.
- add(int, Object, boolean) - Method in class org.spincast.core.json.JsonArrayDefault
- add(Object) - Method in interface org.spincast.core.json.JsonArray
-
Adds an object at the end of the array.
- add(Object) - Method in class org.spincast.core.json.JsonArrayDefault
- add(Object, boolean) - Method in interface org.spincast.core.json.JsonArray
-
Adds an object at the end of the array.
- add(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(Object[]) - Method in interface org.spincast.core.json.JsonArray
-
Adds all elements at the end of the array.
- addAll(Object[]) - Method in class org.spincast.core.json.JsonArrayDefault
- addAll(Object[], boolean) - Method in interface org.spincast.core.json.JsonArray
-
Adds elements at the end of the array.
- addAll(Object[], boolean) - Method in class org.spincast.core.json.JsonArrayDefault
- addAll(Collection<?>) - Method in interface org.spincast.core.json.JsonArray
-
Adds all elements at the end of the array.
- addAll(Collection<?>) - Method in class org.spincast.core.json.JsonArrayDefault
- addAll(Collection<?>, boolean) - Method in interface org.spincast.core.json.JsonArray
-
Adds all elements at the end of the array.
- addAll(Collection<?>, boolean) - Method in class org.spincast.core.json.JsonArrayDefault
- addAll(JsonArray) - Method in interface org.spincast.core.json.JsonArray
-
Adds all elements at the end of the array.
- addAll(JsonArray) - Method in class org.spincast.core.json.JsonArrayDefault
- addAll(JsonArray, boolean) - Method in interface org.spincast.core.json.JsonArray
-
Adds elements at the end of the array.
- addAll(JsonArray, boolean) - Method in class org.spincast.core.json.JsonArrayDefault
- addAsIs(Integer, Object) - Method in class org.spincast.core.json.JsonArrayDefault
- addAsIs(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.
- addError(String, String, String, ValidationHtmlEscapeType) - Method in class org.spincast.core.request.FormDefault
- addError(String, String, String, ValidationHtmlEscapeType) - 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
Formobject 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
Formobject 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, ValidationLevel, String, String) - Method in class org.spincast.core.request.FormDefault
- addMessage(String, ValidationLevel, String, String) - Method in interface org.spincast.core.validation.ValidationSet
-
Creates and adds a new validation Message.
- addMessage(String, ValidationLevel, String, String, ValidationHtmlEscapeType) - Method in class org.spincast.core.request.FormDefault
- addMessage(String, ValidationLevel, String, String, ValidationHtmlEscapeType) - Method in interface org.spincast.core.validation.ValidationSet
-
Creates and adds a new validation Message.
- addMessage(String, ValidationMessage) - 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.
- 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 resourceroute, 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.
- addSuccess(String, String, String, ValidationHtmlEscapeType) - Method in class org.spincast.core.request.FormDefault
- addSuccess(String, String, String, ValidationHtmlEscapeType) - 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.)
- addWarning(String, String, String, ValidationHtmlEscapeType) - Method in class org.spincast.core.request.FormDefault
- addWarning(String, String, String, ValidationHtmlEscapeType) - 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
Alertis 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 Class 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(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.
- 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
B
- basicHtml(boolean, String) - Method in interface org.spincast.core.utils.SpincastUtils
-
Cleans HTML, only allowing basic elements.
- basicHtml(boolean, String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- basicHtml(boolean, String, boolean) - Method in interface org.spincast.core.utils.SpincastUtils
-
Cleans HTML, only allowing basic elements.
- basicHtml(boolean, String, boolean) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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.
- BINARY - Enum constant in enum class org.spincast.core.utils.ContentTypeDefaults
- 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
- bindLangAlias(boolean, Router<R, W>) - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
- 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() - Method in interface org.spincast.core.routing.RouteBuilder
-
Adds cache headers.
- 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) - Method in interface org.spincast.core.routing.RouteBuilder
-
Adds public 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.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.routing.RouteBuilder
-
Adds 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.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.routing.RouteBuilder
-
Adds cache headers.
- cache(int, boolean, Integer) - Method in interface org.spincast.core.routing.StaticResourceBuilder
-
Adds cache headers.
- cache(R) - Method in interface org.spincast.core.filters.SpincastFilters
- cache(R) - Method in class org.spincast.core.filters.SpincastFiltersDefault
- cache(R, int) - Method in interface org.spincast.core.filters.SpincastFilters
- cache(R, int) - Method in class org.spincast.core.filters.SpincastFiltersDefault
- cache(R, int, boolean) - Method in interface org.spincast.core.filters.SpincastFilters
- cache(R, int, boolean) - Method in class org.spincast.core.filters.SpincastFiltersDefault
- cache(R, int, boolean, Integer) - Method in interface org.spincast.core.filters.SpincastFilters
- cache(R, int, boolean, Integer) - Method in class org.spincast.core.filters.SpincastFiltersDefault
- 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
Serverimplementation, 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
- classes(String...) - Method in interface org.spincast.core.routing.RouteBuilder
-
A route may have multiple "classes" to identify and group them.
- classes(String...) - Method in interface org.spincast.core.websocket.WebsocketRouteBuilder
-
A WebSocket route may have multiple "classes" to identify and group them.
- 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.
- clearAllValidation() - Method in class org.spincast.core.request.FormDefault
- clearAllValidation() - Method in interface org.spincast.core.validation.ValidationSet
-
Removes all previously added messages and reset the validation status.
- clearDirectory(File) - Method in interface org.spincast.core.utils.SpincastUtils
-
Empty a directory if it exists.
- clearDirectory(File) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- clone() - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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(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(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.
- clone(Object) - Method in interface org.spincast.core.json.JsonManager
-
Tries to clone an object to a
JsonObjector aJsonArray, if the object is not of a primitive type (orBigDecimal). - clone(Object, boolean) - Method in interface org.spincast.core.json.JsonManager
-
Tries to clone an object to a
JsonObjector aJsonArray, if the object is not of a primitive type (orBigDecimal). - 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(Closeable) - Static method in class org.spincast.core.utils.SpincastStatics
- 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
- closeQuietlyInstance(Closeable) - 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
- 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
- CONNECT - Enum constant in enum class org.spincast.core.routing.HttpMethod
- contains(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- contains(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Does the object contain an element at the
JsonPathposition (even ifnull)? - ContentTypeDefaults - Enum Class in org.spincast.core.utils
-
Some often used
Content-Types. - convert(Class<T>) - Method in interface org.spincast.core.json.JsonObject
-
Converts the
JsonObjectto an instance of the specifiedTtype. - 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
- convertLongSetToLongPrimitiveArray(Set<Long>) - Method in interface org.spincast.core.utils.SpincastUtils
- convertLongSetToLongPrimitiveArray(Set<Long>) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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
- convertToFriendlyToken(String) - Method in interface org.spincast.core.utils.SpincastUtils
-
Convert a string so it can be used in an URL without being escaped: remove accents, spaces, etc.
- convertToFriendlyToken(String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- convertToFriendlyToken(String, String) - Method in interface org.spincast.core.utils.SpincastUtils
-
Convert a string so it can be used in an URL without being escaped: remove accents, spaces, etc.
- convertToFriendlyToken(String, String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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
Jsondate 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() - Method in interface org.spincast.core.validation.ValidationMessage
-
Converts the message to a
JsonObjectobject. - convertToJsonObject() - Method in class org.spincast.core.validation.ValidationMessageDefault
- 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
- 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
JsonArrayto a plainList<Object>. - convertToPlainList() - Method in class org.spincast.core.json.JsonArrayDefault
- convertToPlainMap() - Method in interface org.spincast.core.json.JsonObject
-
Converts the
JsonObjectto 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, String, String, String, Date, boolean, boolean, CookieSameSite, boolean, int, 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, SpincastConfig) - Constructor for class org.spincast.core.cookies.CookieDefault
-
Constructor
- CookieFactory - Interface in org.spincast.core.cookies
-
Factory to create cookies.
- CookieSameSite - Enum Class in org.spincast.core.cookies
-
Possible values for a ccokie's "SameSite" attribute.
- copyClasspathDirToFileSystem(String, File) - Method in interface org.spincast.core.utils.SpincastUtils
-
Copy a directory from the classpath (located in a .jar or not) to the specified file system directory.
- copyClasspathDirToFileSystem(String, File) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- copyClasspathFileToFileSystem(String, File) - Method in interface org.spincast.core.utils.SpincastUtils
-
Copy a file from the classpath (located in a .jar or not) to the specified file system file.
- copyClasspathFileToFileSystem(String, File) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- copyJarDirToFileSystem(String, File) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- copyJarFileToFileSystem(String, File) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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() - Method in interface org.spincast.core.routing.StaticResourceBuilder
-
Enables Cross-Origin Resource Sharing (Cors)
- 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(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>) - 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.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.StaticResourceBuilder
-
Enables Cross-Origin Resource Sharing (Cors)
- 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>) - 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.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.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)
- 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(R) - 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 interface org.spincast.core.filters.SpincastFilters
-
Cross-Origin Resource Sharing (Cors) handling.
- cors(R, Set<String>) - Method in class org.spincast.core.filters.SpincastFiltersDefault
- 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>) - Method in class org.spincast.core.filters.SpincastFiltersDefault
- 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>) - Method in class org.spincast.core.filters.SpincastFiltersDefault
- 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) - Method in class org.spincast.core.filters.SpincastFiltersDefault
- 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>) - Method in class org.spincast.core.filters.SpincastFiltersDefault
- 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, Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>, int) - Method in class org.spincast.core.filters.SpincastFiltersDefault
- 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 Class in org.spincast.core.filters
-
A response from the cors filter.
- create() - Method in interface org.spincast.core.json.JsonManager
-
Creates an empty
JsonObject - create() - Method in interface org.spincast.core.json.JsonObjectFactory
-
Creates an empty and mutable JsonObject.
- create() - Method in interface org.spincast.core.routing.RouteBuilderFactory
-
Creates a route builder without using a router.
- create() - Method in interface org.spincast.core.routing.StaticResourceBuilder
-
Creates and returns the static resource without adding it to the router.
- create() - Method in interface org.spincast.core.websocket.WebsocketRouteBuilderFactory
-
Creates a route builder without using a 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(boolean, StaticResourceType, String, String, Handler<R>, StaticResourceCorsConfig, StaticResourceCacheConfig, boolean, boolean, HotlinkingManager) - Method in interface org.spincast.core.routing.StaticResourceFactory
- 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(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(Map<String, Object>, boolean) - Method in interface org.spincast.core.json.JsonObjectFactory
-
Creates an JonObject based on the specified Map.
- create(FlashMessageLevel, String) - Method in interface org.spincast.core.flash.FlashMessageFactory
- create(FlashMessageLevel, String, JsonObject) - Method in interface org.spincast.core.flash.FlashMessageFactory
- create(JsonObject, boolean) - Method in interface org.spincast.core.json.JsonObjectFactory
-
Creates an JonObject based on the specified JsonObject.
- create(Handler<R>) - Method in interface org.spincast.core.routing.RouteBuilder
-
Creates and returns the route without adding it to the router.
- create(Router<R, W>) - Method in interface org.spincast.core.routing.RouteBuilderFactory
-
Creates a route builder using the specified router.
- create(Router<R, W>) - Method in interface org.spincast.core.websocket.WebsocketRouteBuilderFactory
-
Creates a WebSocket route builder using the specified 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(Router<R, W>, String) - Method in interface org.spincast.core.routing.RedirectRuleBuilderFactory
- create(WebsocketController<R, W>) - Method in interface org.spincast.core.websocket.WebsocketRouteBuilder
-
Creates and returns the WebSocket route without adding it to the 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 (
nullvalue). - createCookie(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Creates a cookie using the given name (
nullvalue). - 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.
- 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<?>, Class<?>, boolean) - 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
toInterceptand will call those ofimplementationClassinstead, if available. - createMessage(ValidationLevel, String, String, ValidationHtmlEscapeType) - Method in interface org.spincast.core.validation.ValidationFactory
- createMethodeSignatureKey(Method) - Static method in class org.spincast.core.guice.GuiceModuleUtils
- 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
- createTempFilePath() - Method in interface org.spincast.core.utils.SpincastUtils
-
Creates a randomly named temp file path in the temporary writable directory.
- createTempFilePath() - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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 codeto send to the user. - CustomStatusCodeExceptionDefault - Exception in org.spincast.core.exceptions
- CustomStatusCodeExceptionDefault() - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
- CustomStatusCodeExceptionDefault(boolean) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
- CustomStatusCodeExceptionDefault(String) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
- CustomStatusCodeExceptionDefault(String, boolean) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
- CustomStatusCodeExceptionDefault(String, int) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
- CustomStatusCodeExceptionDefault(String, int, boolean) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
D
- DEFAULT - Enum constant in enum class org.spincast.core.utils.GzipOption
- 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 - Enum constant in enum class org.spincast.core.routing.HttpMethod
- DELETE() - Method in interface org.spincast.core.routing.RouteBuilder
-
Adds
DELETEas a supported HTTP method. - DELETE() - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
DELETEroute, for all path. - DELETE(String) - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
DELETEroute. - 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
Dictionaryimplementation. - 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 Class 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 resourcedirectory. - DIRECTORY - Enum constant in enum class org.spincast.core.routing.StaticResourceType
- DIRECTORY_FROM_CLASSPATH - Enum constant in enum class org.spincast.core.routing.StaticResourceType
- DISABLE - Enum constant in enum class org.spincast.core.utils.GzipOption
- disableBindCurrentClass() - Method in class org.spincast.core.guice.GuiceTweaker
- DontIntercept - Annotation Interface in org.spincast.core.guice
-
When you use
GuiceModuleUtils.createInterceptorModule(Class, Class, boolean), you can annotate some methods with this to prevent them from being intercepted.
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
JsonObjectsthat have a ".name" property (thename()of the enum) and a ".label" property (thetoString()of the enum). - enumToFriendlyJsonObject(Enum<?>) - Method in interface org.spincast.core.json.JsonManager
-
Convert the enum value to a
JsonObjectthat has a ".name" property (thename()of the enum) and a ".label" property (thetoString()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
- ERROR - Enum constant in enum class org.spincast.core.flash.FlashMessageLevel
- ERROR - Enum constant in enum class org.spincast.core.response.AlertLevel
- ERROR - Enum constant in enum class org.spincast.core.validation.ValidationLevel
- ESCAPE - Enum constant in enum class org.spincast.core.validation.ValidationHtmlEscapeType
- 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) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
-
Evaluates some content without any 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>) - 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.TemplatingEngine
-
Evaluates the content, using the given parameters.
- evaluate(String, Map<String, Object>, Locale) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
-
Evaluates some content using the given parameters.
- evaluate(String, JsonObject) - Method in interface org.spincast.core.templating.TemplatingEngine
-
Evaluates the content, using the given parameters.
- evaluate(String, JsonObject) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
-
Evaluates some content using the given parameters.
- evaluate(String, JsonObject, Locale) - Method in interface org.spincast.core.templating.TemplatingEngine
-
Evaluates the 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() - Method in interface org.spincast.core.routing.RouteBuilder
-
This route will be considered during an
Exceptionrouting process. - exception(String, Handler<R>) - Method in interface org.spincast.core.routing.Router
-
Creates a route 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 - Enum constant in enum class org.spincast.core.dictionary.DictionaryEntryNotFoundBehavior
-
A
DictionaryKeyNotFoundExceptionexception will be thrown. - EXCEPTION - Enum constant in enum class org.spincast.core.routing.RoutingType
- 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.
- 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
- EXISTS - Enum constant in enum class org.spincast.core.json.JsonPathUtilsDefault.JsonPathProcessingType
- 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 resourcefile. - FILE - Enum constant in enum class org.spincast.core.routing.StaticResourceType
- FILE_FROM_CLASSPATH - Enum constant in enum class org.spincast.core.routing.StaticResourceType
- 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 Class 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.
- FORBIDDEN - Enum constant in enum class org.spincast.core.routing.hotlinking.HotlinkingStategy
-
A forbidden empty response is returned.
- FORCE - Enum constant in enum class org.spincast.core.utils.GzipOption
- forceRequestSizeValidation(Object) - Method in interface org.spincast.core.server.Server
-
Is the request size valid?
- Form - Interface in org.spincast.core.request
-
Specialized
JsonObjectthat is also aValidationSetto 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
ForwardRouteExceptionexception) 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
Foundrouting process. - FOUND - Enum constant in enum class org.spincast.core.routing.RoutingType
- from(boolean) - Static method in class org.spincast.core.utils.Bool
- fromClasspathFile(String) - Method in interface org.spincast.core.json.JsonManager
-
Creates a
JsonObjectfrom a classpath Json file. - fromCollectionToJsonArray(Collection<?>) - Method in interface org.spincast.core.json.JsonManager
-
Creates a
JsonArrayfrom a random collection. - fromFile(File) - Method in interface org.spincast.core.json.JsonManager
-
Creates a
JsonObjectfrom a Json file. - fromFile(String) - Method in interface org.spincast.core.json.JsonManager
-
Creates a
JsonObjectfrom the path of a file, on the file system. - fromInputStream(InputStream) - Method in interface org.spincast.core.json.JsonManager
-
Creates a
JsonObjectfrom an inputStream. - fromInputStream(InputStream, Class<T>) - Method in interface org.spincast.core.json.JsonManager
-
Creates an instance of the specified
Ttype from aJsoninputStream. - fromInputStreamArray(InputStream) - Method in interface org.spincast.core.json.JsonManager
-
Creates a
JsonArrayfrom an inputStream. - fromInputStreamToMap(InputStream) - Method in interface org.spincast.core.json.JsonManager
-
Creates a
Map<String, Object>from aJsoninputStream. - fromListArray(List<?>) - Method in interface org.spincast.core.json.JsonManager
-
Creates a
JsonArrayfrom aListof elements. - fromMap(Map<String, ?>) - Method in interface org.spincast.core.json.JsonManager
-
Creates an empty
JsonObjectbased on the specified Map. - fromMap(Map<String, ?>, boolean) - Method in interface org.spincast.core.json.JsonManager
-
Creates a
JsonObjectbased on the specified Map. - fromObject(Object) - Method in interface org.spincast.core.json.JsonManager
-
Creates a
JsonObjectfrom a random object.. - fromString(String) - Method in interface org.spincast.core.json.JsonManager
-
Creates a
JsonObjectfrom aJsonString. - fromString(String) - Static method in enum class org.spincast.core.utils.ContentTypeDefaults
- fromString(String, Class<T>) - Method in interface org.spincast.core.json.JsonManager
-
Creates an instance of the specified
Ttype from aJsonString. - fromStringArray(String) - Method in interface org.spincast.core.json.JsonManager
-
Creates a
JsonArrayfrom aJsonString. - fromStringToMap(String) - Method in interface org.spincast.core.json.JsonManager
-
Creates a
Map<String, Object>from aJsonString. - fromStringValue(String) - Static method in enum class org.spincast.core.routing.HttpMethod
-
Returns a HttpMethod from its String representation, or
nullif not found. - 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>) - 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.TemplatingEngine
-
Evaluates 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, boolean, JsonObject) - Method in interface org.spincast.core.templating.TemplatingEngine
-
Evaluates a template using the parameters specified as a
JsonObject. - 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.TemplatingEngine
-
Evaluates a template using the parameters specified as a
JsonObject. - fromTemplate(String, boolean, JsonObject, Locale) - Method in interface org.spincast.core.templating.TemplatingRequestContextAddon
-
Renders a template usgin the given parameters.
- 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>) - 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.TemplatingEngine
-
Evaluates 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, JsonObject) - Method in interface org.spincast.core.templating.TemplatingEngine
-
Evaluates a template using the parameters specified as a
JsonObject. - 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.TemplatingEngine
-
Evaluates a template using the parameters specified as a
JsonObject. - fromTemplate(String, 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 resourcearrives.
G
- generateCacheBusterCode() - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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(Key<T>) - Method in interface org.spincast.core.exchange.RequestContext
-
Shortcut to get an instance from Guice.
- get(Key<T>) - Method in class org.spincast.core.exchange.RequestContextBase
- get(Key<T>) - Method in interface org.spincast.core.websocket.WebsocketContext
-
Shortcut to get an instance from Guice.
- get(Key<T>) - Method in class org.spincast.core.websocket.WebsocketContextBase
- get(Class<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(Class<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(String) - Method in interface org.spincast.core.dictionary.Dictionary
-
Gets a message.
- get(String) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
-
Gets the specified request scoped variable.
- get(String, boolean) - Method in interface org.spincast.core.dictionary.Dictionary
-
Gets a message.
- get(String, Key<T>) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
-
Gets the specified request scoped variable as the specified
Key. - get(String, Class<T>) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
-
Gets the specified request scoped variable as the specified class.
- get(String, Locale) - 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, Locale, Map<String, Object>) - 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, Pair...) - Method in interface org.spincast.core.dictionary.Dictionary
-
Gets a message.
- get(JsonArray, boolean, T) - Method in interface org.spincast.core.json.JsonObjectDefault.IFirstElementGetter
- GET - Enum constant in enum class org.spincast.core.json.JsonPathUtilsDefault.JsonPathProcessingType
- GET - Enum constant in enum class org.spincast.core.routing.HttpMethod
- GET() - Method in interface org.spincast.core.routing.RouteBuilder
-
Addss
GETas a supported HTTP method. - GET() - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
GETroute, for all path. - GET(String) - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
GETroute. - getAcceptedContentTypes() - Method in interface org.spincast.core.routing.Route
-
The
Content-Typesthis 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 class org.spincast.core.filters.SpincastFiltersDefault.LazyLoadedFlashMessageAlert
- 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.
- getAll(String) - Method in interface org.spincast.core.dictionary.Dictionary
-
Return all the possible values, for all languages used, by language abreviation.
- getAll(String, Map<String, Object>) - Method in interface org.spincast.core.dictionary.Dictionary
-
Return all the possible values, for all languages used, by language abreviation.
- getAll(String, Pair...) - Method in interface org.spincast.core.dictionary.Dictionary
-
Return all the possible values, for all languages used, by language abreviation.
- getAllContentTypesVariations() - Static method in enum class org.spincast.core.utils.ContentTypeDefaults
- getAllKeys() - Method in interface org.spincast.core.dictionary.Dictionary
-
Returns all keys the dictionary contains.
- getAllKeys() - Method in class org.spincast.core.dictionary.DictionaryBase
- getAllMethods(Class<?>) - Static method in class org.spincast.core.utils.SpincastStatics
-
Gets *all* the methods of a class for all visibilities and for all the parents hierarchy, even those from
Object. - getAllMethods(Class<?>, boolean) - Static method in class org.spincast.core.utils.SpincastStatics
-
Gets all the methods of a class, for all visibilities and for all the parents hierarchy.
- getAllMethodsInstance(Class<?>, boolean) - 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
JsonArrayelement. - getArrayFirstBigDecimal(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstBigDecimal(int, BigDecimal) - Method in interface org.spincast.core.json.JsonArray
-
Gets the first element (as BigDecimal) of a
JsonArrayelement. - getArrayFirstBigDecimal(int, BigDecimal) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstBigDecimal(String) - 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
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstBigDecimal(String, boolean, boolean, BigDecimal) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstBigDecimal(String, BigDecimal) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstBigDecimal(String, BigDecimal) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets the first value (as BigDecimal) of a
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstBigDecimalNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as BigDecimal) of a
JsonArrayelement . - getArrayFirstBigDecimalNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstBigDecimalNoKeyParsing(String, BigDecimal) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as BigDecimal) of a
JsonArrayelement . - 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
JsonArrayelement. - getArrayFirstBoolean(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstBoolean(int, Boolean) - Method in interface org.spincast.core.json.JsonArray
-
Gets the first element (as Boolean) of a
JsonArrayelement. - getArrayFirstBoolean(int, Boolean) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstBoolean(String) - 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
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstBoolean(String, boolean, boolean, Boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstBoolean(String, Boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstBoolean(String, Boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets the first value (as Boolean) of a
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstBooleanNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as Boolean) of a
JsonArrayelement . - getArrayFirstBooleanNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstBooleanNoKeyParsing(String, Boolean) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as Boolean) of a
JsonArrayelement . - 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
JsonArrayelement. - getArrayFirstBytesFromBase64String(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstBytesFromBase64String(int, byte[]) - Method in interface org.spincast.core.json.JsonArray
-
Gets the first element (as byte[]) of a
JsonArrayelement. - getArrayFirstBytesFromBase64String(int, byte[]) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstBytesFromBase64String(String) - 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
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstBytesFromBase64String(String, boolean, boolean, byte[]) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstBytesFromBase64String(String, byte[]) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstBytesFromBase64String(String, byte[]) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets the first value (as byte[]) of a
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstBytesFromBase64StringNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as byte[]) of a
JsonArrayelement . - getArrayFirstBytesFromBase64StringNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstBytesFromBase64StringNoKeyParsing(String, byte[]) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as byte[]) of a
JsonArrayelement . - 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
JsonArrayelement. - getArrayFirstDate(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstDate(int, Date) - Method in interface org.spincast.core.json.JsonArray
-
Gets the first element (as Date) of a
JsonArrayelement. - getArrayFirstDate(int, Date) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstDate(String) - 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
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstDate(String, boolean, boolean, Date) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstDate(String, Date) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstDate(String, Date) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets the first value (as Date) of a
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstDateNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as Date) of a
JsonArrayelement . - getArrayFirstDateNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstDateNoKeyParsing(String, Date) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as Date) of a
JsonArrayelement. - 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
JsonArrayelement. - getArrayFirstDouble(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstDouble(int, Double) - Method in interface org.spincast.core.json.JsonArray
-
Gets the first element (as Double) of a
JsonArrayelement. - getArrayFirstDouble(int, Double) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstDouble(String) - 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
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstDouble(String, boolean, boolean, Double) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstDouble(String, Double) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstDouble(String, Double) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets the first value (as Double) of a
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstDoubleNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as Double) of a
JsonArrayelement . - getArrayFirstDoubleNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstDoubleNoKeyParsing(String, Double) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as Double) of a
JsonArrayelement . - 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
JsonArrayelement. - getArrayFirstFloat(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstFloat(int, Float) - Method in interface org.spincast.core.json.JsonArray
-
Gets the first element (as Float) of a
JsonArrayelement. - getArrayFirstFloat(int, Float) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstFloat(String) - 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
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstFloat(String, boolean, boolean, Float) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstFloat(String, Float) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstFloat(String, Float) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets the first value (as Float) of a
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstFloatNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as Float) of a
JsonArrayelement . - getArrayFirstFloatNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstFloatNoKeyParsing(String, Float) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as Float) of a
JsonArrayelement . - 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
JsonArrayelement. - getArrayFirstInstant(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstInstant(int, Instant) - Method in interface org.spincast.core.json.JsonArray
-
Gets the first element (as Instant) of a
JsonArrayelement. - getArrayFirstInstant(int, Instant) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstInstant(String) - 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
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstInstant(String, boolean, boolean, Instant) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstInstant(String, Instant) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstInstant(String, Instant) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets the first value (as Instant) of a
JsonArrayproperty of the object, using theJsonPathto 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
JsonArrayelement. - getArrayFirstInteger(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstInteger(int, Integer) - Method in interface org.spincast.core.json.JsonArray
-
Gets the first element (as Integer) of a
JsonArrayelement. - getArrayFirstInteger(int, Integer) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstInteger(String) - 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
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstInteger(String, boolean, boolean, Integer) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstInteger(String, Integer) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstInteger(String, Integer) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets the first value (as Integer) of a
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstIntegerNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as Integer) of a
JsonArrayelement . - getArrayFirstIntegerNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstIntegerNoKeyParsing(String, Integer) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as Integer) of a
JsonArrayelement . - 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
JsonArrayelement. - getArrayFirstJsonArray(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstJsonArray(int, JsonArray) - Method in interface org.spincast.core.json.JsonArray
-
Gets the first element (as JsonArray) of a
JsonArrayelement. - getArrayFirstJsonArray(int, JsonArray) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstJsonArray(String) - 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
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstJsonArray(String, boolean, boolean, JsonArray) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstJsonArray(String, JsonArray) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstJsonArray(String, JsonArray) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets the first value (as JsonArray) of a
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstJsonArrayNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as JsonArray) of a
JsonArrayelement . - getArrayFirstJsonArrayNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstJsonArrayNoKeyParsing(String, JsonArray) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as JsonArray) of a
JsonArrayelement . - 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
JsonArrayelement. - getArrayFirstJsonObject(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstJsonObject(int, JsonObject) - Method in interface org.spincast.core.json.JsonArray
-
Gets the first element (as JsonObject) of a
JsonArrayelement. - getArrayFirstJsonObject(int, JsonObject) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstJsonObject(String) - 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
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstJsonObject(String, boolean, boolean, JsonObject) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstJsonObject(String, JsonObject) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstJsonObject(String, JsonObject) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets the first value (as JsonObject) of a
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstJsonObjectNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as JsonObject) of a
JsonArrayelement . - getArrayFirstJsonObjectNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstJsonObjectNoKeyParsing(String, JsonObject) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as JsonObject) of a
JsonArrayelement . - 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
JsonArrayelement. - getArrayFirstLong(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstLong(int, Long) - Method in interface org.spincast.core.json.JsonArray
-
Gets the first element (as Long) of a
JsonArrayelement. - getArrayFirstLong(int, Long) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstLong(String) - 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
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstLong(String, boolean, boolean, Long) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstLong(String, Long) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstLong(String, Long) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets the first value (as Long) of a
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstLongNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as Long) of a
JsonArrayelement . - getArrayFirstLongNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstLongNoKeyParsing(String, Long) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as Long) of a
JsonArrayelement . - 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
JsonArrayelement. - getArrayFirstString(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstString(int, String) - Method in interface org.spincast.core.json.JsonArray
-
Gets the first element (as String) of a
JsonArrayelement. - getArrayFirstString(int, String) - Method in class org.spincast.core.json.JsonArrayDefault
- getArrayFirstString(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
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstString(String, boolean, boolean, String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstString(String, String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstString(String, String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets the first value (as String) of a
JsonArrayproperty of the object, using theJsonPathto find the array. - getArrayFirstStringNoKeyParsing(String) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as String) of a
JsonArrayelement . - getArrayFirstStringNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getArrayFirstStringNoKeyParsing(String, String) - Method in interface org.spincast.core.json.JsonObject
-
Gets the first value (as String) of a
JsonArrayelement . - 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) - Method in class org.spincast.core.json.JsonArrayDefault
- getBigDecimal(int, BigDecimal) - Method in interface org.spincast.core.json.JsonArray
-
Gets an element as
BigDecimal. - getBigDecimal(int, BigDecimal) - Method in class org.spincast.core.json.JsonArrayDefault
- getBigDecimal(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getBigDecimal(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
BigDecimalusing the specifiedJsonPath. - getBigDecimal(String, boolean, BigDecimal, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getBigDecimal(String, BigDecimal) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getBigDecimal(String, BigDecimal) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
BigDecimalusing the specifiedJsonPath. - 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) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getBigDecimalNoKeyParsing(String, BigDecimal) - Method in interface org.spincast.core.json.JsonObject
-
Gets an element as
BigDecimal. - 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-8encoding. - getBoolean() - Method in class org.spincast.core.utils.Bool
- getBoolean(int) - 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 interface org.spincast.core.json.JsonArray
-
Gets an element as
Boolean. - getBoolean(int, Boolean) - Method in class org.spincast.core.json.JsonArrayDefault
- getBoolean(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getBoolean(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
Booleanusing the specifiedJsonPath. - getBoolean(String, boolean, Boolean, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getBoolean(String, Boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getBoolean(String, Boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
Booleanusing the specifiedJsonPath. - 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) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getBooleanNoKeyParsing(String, Boolean) - Method in interface org.spincast.core.json.JsonObject
-
Gets an element as
Boolean. - 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) - Method in class org.spincast.core.json.JsonArrayDefault
- getBytesFromBase64String(int, byte[]) - Method in interface org.spincast.core.json.JsonArray
-
Gets a byte array, from a base 64 encoded element.
- getBytesFromBase64String(int, byte[]) - Method in class org.spincast.core.json.JsonArrayDefault
- getBytesFromBase64String(String) - 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, boolean, byte[], boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getBytesFromBase64String(String, byte[]) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getBytesFromBase64StringNoKeyParsing(String, byte[]) - Method in interface org.spincast.core.json.JsonObject
-
Gets a byte array, from a base 64 encoded element.
- 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 current 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.
- getClasses() - Method in interface org.spincast.core.routing.Route
-
The route's classes.
- getClasses() - Method in interface org.spincast.core.websocket.WebsocketRoute
-
The WebSocket route's classes.
- getClassLocationDirOrJarFile(Class<?>) - Method in interface org.spincast.core.utils.SpincastUtils
-
The location of the specified class.
- getClassLocationDirOrJarFile(Class<?>) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- getClasspathInputStream(String) - Method in interface org.spincast.core.utils.SpincastUtils
-
Gets the
InputStreamfrom a resource on the classpath. - getClasspathInputStream(String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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-Typesent or to be send. - getContentTypeBestMatch() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
-
Finds the best
Content-Typeto 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-Typeto 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 8601date element. - getDate(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getDate(int, Date) - Method in interface org.spincast.core.json.JsonArray
-
Gets a UTC timezoned date from a
ISO 8601date element. - getDate(int, Date) - Method in class org.spincast.core.json.JsonArrayDefault
- getDate(String) - 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 8601date string element using the specifiedJsonPath. - getDate(String, boolean, Date, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getDate(String, Date) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getDate(String, Date) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets a UTC timezoned date from a
ISO 8601date string element using the specifiedJsonPath. - 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-Sinceheader as a Date ornullif it doesn't exist. - getDateFromIfUnmodifiedSinceHeader() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
-
Return the value of the
If-Unmodified-Sinceheader as a Date ornullif 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 8601date element. - getDateNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getDateNoKeyParsing(String, Date) - Method in interface org.spincast.core.json.JsonObject
-
Gets a UTC timezoned date from a
ISO 8601date element. - 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
addGlobalTemplateVariablesAdderFilterreturnstrue, 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) - Method in class org.spincast.core.json.JsonArrayDefault
- getDouble(int, Double) - Method in interface org.spincast.core.json.JsonArray
-
Gets an element as
Double. - getDouble(int, Double) - Method in class org.spincast.core.json.JsonArrayDefault
- getDouble(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getDouble(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
Doubleusing the specifiedJsonPath. - getDouble(String, boolean, Double, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getDouble(String, Double) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getDouble(String, Double) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
Doubleusing the specifiedJsonPath. - 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) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getDoubleNoKeyParsing(String, Double) - Method in interface org.spincast.core.json.JsonObject
-
Gets an element as
Double. - 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(JsonArray, String) - Method in interface org.spincast.core.json.JsonManager
-
Gets an element from the
JsonArrayat the specifiedJsonPath. - getElementAtJsonPath(JsonArray, String) - Method in interface org.spincast.core.json.JsonPathUtils
-
Gets an element from the
JsonArray, at the specifiedJsonPath. - getElementAtJsonPath(JsonArray, String) - Method in class org.spincast.core.json.JsonPathUtilsDefault
- getElementAtJsonPath(JsonArray, String, Object) - Method in interface org.spincast.core.json.JsonManager
-
Gets an element from the
JsonArrayat the specifiedJsonPath. - getElementAtJsonPath(JsonArray, String, Object) - Method in interface org.spincast.core.json.JsonPathUtils
-
Gets an element from the
JsonArray, at the specifiedJsonPath. - getElementAtJsonPath(JsonArray, String, Object) - Method in class org.spincast.core.json.JsonPathUtilsDefault
- getElementAtJsonPath(JsonObject, String) - Method in interface org.spincast.core.json.JsonManager
-
Gets an element from the
JsonObjectat the specifiedJsonPath. - getElementAtJsonPath(JsonObject, String) - Method in interface org.spincast.core.json.JsonPathUtils
-
Gets an element from the
JsonObject, at the specifiedJsonPath. - getElementAtJsonPath(JsonObject, String) - Method in class org.spincast.core.json.JsonPathUtilsDefault
- getElementAtJsonPath(JsonObject, String, Object) - Method in interface org.spincast.core.json.JsonManager
-
Gets an element from the
JsonObjectat the specifiedJsonPath. - getElementAtJsonPath(JsonObject, String, Object) - Method in interface org.spincast.core.json.JsonPathUtils
-
Gets an element from the
JsonObject, at the specifiedJsonPath. - getElementAtJsonPath(JsonObject, 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
ETagsfrom theIf-Matchheader, if any. - getEtagsFromIfNoneMatchHeader() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
-
Returns the
ETagsfrom theIf-None-Matchheader, 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
- getFileSystemLock(URI) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- getFileSystemsLocks() - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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() - Method in class org.spincast.core.filters.SpincastFiltersDefault.LazyLoadedFlashMessageAlert
- 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) - Method in class org.spincast.core.json.JsonArrayDefault
- getFloat(int, Float) - Method in interface org.spincast.core.json.JsonArray
-
Gets an element as
Float. - getFloat(int, Float) - Method in class org.spincast.core.json.JsonArrayDefault
- getFloat(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getFloat(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
Floatusing the specifiedJsonPath. - getFloat(String, boolean, Float, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getFloat(String, Float) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getFloat(String, Float) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
Floatusing the specifiedJsonPath. - 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) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getFloatNoKeyParsing(String, Float) - Method in interface org.spincast.core.json.JsonObject
-
Gets an element as
Float. - getFloatNoKeyParsing(String, Float) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getForm(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
-
Gets the part of the submitted
FORMbody that is scoped by the specifiedroot key. - getFormBodyAsJsonObject() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
-
The data submitted as a
FORMbody (in general via aPOSTmethod), as an immutableJsonObject. - getFormBodyRaw() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
-
The data submitted as a
FORMbody (in general via aPOSTmethod), as aMap. - 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
- getFormOrCreate(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
-
Gets the part of the submitted
FORMbody that is scoped by the specifiedroot 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() - Method in interface org.spincast.core.filters.CorsFilterClient
-
Gets the full URL of the request.
- getFullUrl(boolean) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
-
Returns the current full URL, including the queryString, if any.
- 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,hostandportas 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,hostandportas 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.
- getGeneratedTempFilesDir() - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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.
- getHotlinkingManager() - Method in interface org.spincast.core.routing.StaticResource
-
If a static resource is hotlinking protected (
StaticResource.isHotlinkingProtected()), then this is the component responsible to that protection. - getHotlinkingStategy(Object, URI, StaticResource<?>) - Method in interface org.spincast.core.routing.hotlinking.HotlinkingManager
-
The strategy to use to protect the hotlinked resource.
- getHotlinkingStategy(Object, URI, StaticResource<?>) - Method in class org.spincast.core.routing.hotlinking.HotlinkingManagerDefault
- getHtmlEscapeType() - Method in interface org.spincast.core.validation.ValidationMessage
-
How should the text be escaped when displayed in HTML?
- getHtmlEscapeType() - Method in class org.spincast.core.validation.ValidationMessageDefault
- 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() - Method in class org.spincast.core.routing.ResourceToPush
- 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 methodsthis 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 8601date element. - getInstant(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getInstant(int, Instant) - Method in interface org.spincast.core.json.JsonArray
-
Gets an Instant from a
ISO 8601date element. - getInstant(int, Instant) - Method in class org.spincast.core.json.JsonArrayDefault
- getInstant(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getInstant(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an Instant from a
ISO 8601date string element using the specifiedJsonPath. - getInstant(String, boolean, Instant, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getInstant(String, Instant) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getInstant(String, Instant) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an Instant from a
ISO 8601date string element using the specifiedJsonPath. - 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 8601date element. - getInstantNoKeyParsing(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getInstantNoKeyParsing(String, Instant) - Method in interface org.spincast.core.json.JsonObject
-
Gets an Instant from a
ISO 8601date element. - 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) - Method in class org.spincast.core.json.JsonArrayDefault
- getInteger(int, Integer) - Method in interface org.spincast.core.json.JsonArray
-
Gets an element as
Integer. - getInteger(int, Integer) - Method in class org.spincast.core.json.JsonArrayDefault
- getInteger(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getInteger(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
Integerusing the specifiedJsonPath. - getInteger(String, boolean, Integer, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getInteger(String, Integer) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getInteger(String, Integer) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
Integerusing the specifiedJsonPath. - 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) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getIntegerNoKeyParsing(String, Integer) - Method in interface org.spincast.core.json.JsonObject
-
Gets an element as
Integer. - 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) - Method in class org.spincast.core.json.JsonArrayDefault
- getJsonArray(int, JsonArray) - Method in interface org.spincast.core.json.JsonArray
-
Gets an element as
JsonArray. - getJsonArray(int, JsonArray) - Method in class org.spincast.core.json.JsonArrayDefault
- getJsonArray(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getJsonArray(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
JsonArrayusing the specifiedJsonPath. - getJsonArray(String, boolean, JsonArray, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getJsonArray(String, JsonArray) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getJsonArray(String, JsonArray) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
JsonArrayusing the specifiedJsonPath. - 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) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getJsonArrayNoKeyParsing(String, JsonArray) - Method in interface org.spincast.core.json.JsonObject
-
Gets an element as
JsonArray. - getJsonArrayNoKeyParsing(String, JsonArray) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getJsonArrayOrEmpty(int) - Method in interface org.spincast.core.json.JsonArray
-
Gets an element as
JsonArray. - getJsonArrayOrEmpty(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getJsonArrayOrEmpty(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getJsonArrayOrEmpty(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
JsonArrayusing the specifiedJsonPath. - getJsonArrayOrEmpty(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getJsonArrayOrEmpty(String, boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
JsonArrayusing the specifiedJsonPath. - 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) - Method in class org.spincast.core.json.JsonArrayDefault
- getJsonObject(int, JsonObject) - Method in interface org.spincast.core.json.JsonArray
-
Gets an element as
JsonObject. - getJsonObject(int, JsonObject) - Method in class org.spincast.core.json.JsonArrayDefault
- getJsonObject(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getJsonObject(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
JsonObjectusing the specifiedJsonPath. - 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, JsonObject) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getJsonObject(String, JsonObject) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
JsonObjectusing the specifiedJsonPath. - 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) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getJsonObjectNoKeyParsing(String, JsonObject) - Method in interface org.spincast.core.json.JsonObject
-
Gets an element as
JsonObject. - getJsonObjectNoKeyParsing(String, JsonObject) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getJsonObjectOrEmpty(int) - Method in interface org.spincast.core.json.JsonArray
-
Gets an element as
JsonObject. - getJsonObjectOrEmpty(int) - Method in class org.spincast.core.json.JsonArrayDefault
- getJsonObjectOrEmpty(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getJsonObjectOrEmpty(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
JsonObjectusing the specifiedJsonPath. - getJsonObjectOrEmpty(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getJsonObjectOrEmpty(String, boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
JsonObjectusing the specifiedJsonPath. - 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
- 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
- getLangAliasKey() - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
-
ISO 639 two-letter language codes: "en", "fr", etc.
- getLocale() - Method in exception org.spincast.core.dictionary.DictionaryKeyNotFoundException
- getLocaleBestMatch() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
-
Find what the request tells should be the best
Localeto use for a response, by looking at the"Accept-Language"header. - 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
LocaleResolverduring 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) - Method in class org.spincast.core.json.JsonArrayDefault
- getLong(int, Long) - Method in interface org.spincast.core.json.JsonArray
-
Gets an element as
Long. - getLong(int, Long) - Method in class org.spincast.core.json.JsonArrayDefault
- getLong(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getLong(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
Longusing the specifiedJsonPath. - getLong(String, boolean, Long, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getLong(String, Long) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getLong(String, Long) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
Longusing the specifiedJsonPath. - 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) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getLongNoKeyParsing(String, Long) - Method in interface org.spincast.core.json.JsonObject
-
Gets an element as
Long. - 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 class org.spincast.core.utils.ContentTypeDefaults
- getMainVariationWithUtf8Charset() - Method in enum class 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
keysin a Map that can be parsed asJsonPathsto create aJsonObject. - getMessages() - Method in class org.spincast.core.dictionary.DictionaryBase
- getMessages() - 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 class org.spincast.core.request.FormDefault
- getMessages(String) - Method in interface org.spincast.core.validation.ValidationSet
-
Gets the validation messages for the specified key.
- 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 class org.spincast.core.request.FormDefault
- 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 typefrom 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 typeusing 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 typefrom 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
JsonObjectwhich 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) - Method in class org.spincast.core.json.JsonArrayDefault
- getObject(int, Object) - Method in interface org.spincast.core.json.JsonArray
-
Gets an element, untyped.
- getObject(int, Object) - Method in class org.spincast.core.json.JsonArrayDefault
- getObject(String) - 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, boolean, Object, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getObject(String, Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getObjectNoKeyParsing(String, Object) - Method in interface org.spincast.core.json.JsonObject
-
Gets an untyped Object.
- getObjectNoKeyParsing(String, Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getOverridingModules() - Method in class org.spincast.core.guice.GuiceTweaker
- getParametersFromQuerystring(String, boolean) - Method in interface org.spincast.core.utils.SpincastUtils
-
Parses a querystring (starting with a "?" or not) and returns the list of parameters.
- getParametersFromQuerystring(String, boolean) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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 class org.spincast.core.routing.ResourceToPush
- getPath() - Method in interface org.spincast.core.routing.Route
-
The route path.
- getPath() - Method in class org.spincast.core.utils.ResourceInfo
-
The path to the resource.
- 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.
- getQuerystringFromUrl(String) - Method in interface org.spincast.core.utils.SpincastUtils
-
Return the querystring of an URL, without leading "?".
- getQuerystringFromUrl(String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- getQueryStringParam(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
-
A specific parameter taken from the queryString of the request.
- getQuerystringParametersFromUrl(String) - Method in interface org.spincast.core.utils.SpincastUtils
-
Parses an URL and returns the list of its querystring parameters, if any.
- getQuerystringParametersFromUrl(String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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.
- getRandomElement(Set<T>) - Method in interface org.spincast.core.utils.SpincastUtils
-
Returns a random element from the set or
nullif the set is null or empty. - getRandomElement(Set<T>) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- getRawInputStream(Object) - Method in interface org.spincast.core.server.Server
-
The raw InputStream of the current request.
- getRedirectUrl(Object, URI, StaticResource<?>) - Method in interface org.spincast.core.routing.hotlinking.HotlinkingManager
-
The URL to redirect the protected resource when the
HotlinkingManager.getHotlinkingStategy(Object, URI, StaticResource)returnsHotlinkingStategy.REDIRECT. - getRedirectUrl(Object, URI, StaticResource<?>) - Method in class org.spincast.core.routing.hotlinking.HotlinkingManagerDefault
- 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() - Method in class org.spincast.core.routing.ResourceToPush
- 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 typesthe 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.
- getSpecs() - Method in interface org.spincast.core.routing.Route
-
The optional specs for the route.
- getSpecsParameters() - Method in interface org.spincast.core.routing.Route
-
Optional specs parameters.
- 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.routing.hotlinking.HotlinkingManagerDefault
- 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
- getStaticResource() - Method in interface org.spincast.core.routing.Route
-
Returns the
StaticResourceto serve ornullif this is not a route for a static resource (ie ifRoute.isStaticResourceRoute()) doesn't returntrue. - 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 codesent or to be send. - getString(int) - 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 interface org.spincast.core.json.JsonArray
-
Gets an element as
String. - getString(int, String) - Method in class org.spincast.core.json.JsonArrayDefault
- getString(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getString(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
Stringusing the specifiedJsonPath. - 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, String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getString(String, String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Gets an element as
Stringusing the specifiedJsonPath. - 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) - Method in class org.spincast.core.json.JsonObjectArrayBase
- getStringNoKeyParsing(String, String) - Method in interface org.spincast.core.json.JsonObject
-
Gets an element as
String. - 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 class org.spincast.core.filters.SpincastFiltersDefault.LazyLoadedFlashMessageAlert
- 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-8encoding. - 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
nameattribute. - getUploadedFiles() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
-
The key of the map if the HTML's
nameattribute. - getUploadedFiles(Object) - Method in interface org.spincast.core.server.Server
-
The uploaded files, if any.
- getUploadedFiles(String) - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
-
The uploaded files of the specified HTML's
nameattribute. - 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
Formelements 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
JsonObjectin 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 class 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(Module...) - Constructor for class org.spincast.core.guice.GuiceModuleUtils
- GuiceModuleUtils(Set<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 Class in org.spincast.core.utils
-
Control how gzip should be applied on a route.
H
- handle() - Method in interface org.spincast.core.routing.StaticResourceBuilder
-
Saves the static resource route to the router.
- 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(Handler<R>) - Method in interface org.spincast.core.routing.RouteBuilder
-
Creates the route and saves it 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 interface org.spincast.core.routing.Handler
-
Receives a
request contextobject and handles it. - handle(R) - Method in class org.spincast.core.websocket.WebsocketRouteHandler
-
The handle() method for WebSocket handshaking, called by the front controller once the potential "before" filters have been ran.
- handle(R, String) - Method in interface org.spincast.core.routing.RedirectHandler
- Handler<R extends RequestContext<?>> - Interface in org.spincast.core.routing
-
A route handler.
- hasKey(String) - Method in interface org.spincast.core.dictionary.Dictionary
-
Contains this key?
- hasMessages() - 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 class org.spincast.core.request.FormDefault
- hasMessages(String) - Method in interface org.spincast.core.validation.ValidationSet
-
Does the the element at the specified key contains validation Messages?
- HEAD - Enum constant in enum class org.spincast.core.routing.HttpMethod
- HEAD() - Method in interface org.spincast.core.routing.RouteBuilder
-
Adds
HEADas a supported HTTP method. - HEAD() - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
HEADroute, for all path. - HEAD(String) - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
HEADroute. - HEADERS_ALREADY_SENT - Enum constant in enum class org.spincast.core.filters.CorsFilterResponse
- HotlinkingManager - Interface in org.spincast.core.routing.hotlinking
- HotlinkingManagerDefault - Class in org.spincast.core.routing.hotlinking
-
Default
HotlinkingManager. - HotlinkingManagerDefault(SpincastConfig) - Constructor for class org.spincast.core.routing.hotlinking.HotlinkingManagerDefault
- hotlinkingProtected() - Method in interface org.spincast.core.routing.StaticResourceBuilder
-
When a static resource is flagged as being *hotlinking protected*, the server will validate the
originandrefererof the request. - hotlinkingProtected(HotlinkingManager) - Method in interface org.spincast.core.routing.StaticResourceBuilder
-
When a static resource is flagged as being *hotlinking protected*, the server will validate the
originandrefererof the request. - HotlinkingStategy - Enum Class in org.spincast.core.routing.hotlinking
-
The strategy to apply to hotlinking protect a resource.
- html() - Method in interface org.spincast.core.routing.RouteBuilder
-
Adds
application/htmlas an acceptedContent-Type. - HTML - Enum constant in enum class org.spincast.core.utils.ContentTypeDefaults
- HTML - Enum constant in enum class org.spincast.core.validation.ValidationMessageFormatType
- httpAuth(String, String) - Method in interface org.spincast.core.routing.Router
-
Creates HTTP authentication protection (realm) for the specified path prefix.
- HttpMethod - Enum Class 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
- INVALID_CORS_REQUEST - Enum constant in enum class org.spincast.core.filters.CorsFilterResponse
- 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?
- isAlwaysChangeCacheBusterCodeInDevMode() - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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
trueif the element is a valid base 64 String, or isnull. - isBase64StringOrNull(Object) - Method in class org.spincast.core.utils.ObjectConverterDefault
- isCachePrivate() - Method in interface org.spincast.core.routing.StaticResourceCacheConfig
-
Should
privatebe 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
indexexists and is currentlynull, of typeBigDecimal, or can be converted and retrieved as one. - isCanBeConvertedToBigDecimal(int) - Method in class org.spincast.core.json.JsonArrayDefault
- 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
- isCanBeConvertedToBigDecimal(String) - 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
JsonPathexists and is currentlynull, of typeBigDecimal, or can be converted and retrieved as one. - isCanBeConvertedToBigDecimal(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynull, of typeBigDecimal, 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
indexexists and is currentlynull, of typeBoolean, or can be converted and retrieved as one. - isCanBeConvertedToBoolean(int) - Method in class org.spincast.core.json.JsonArrayDefault
- 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
- isCanBeConvertedToBoolean(String) - 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
JsonPathexists and is currentlynull, of typeBoolean, or can be converted and retrieved as one. - isCanBeConvertedToBoolean(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynull, of typeBoolean, 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
indexexists and is currentlynull, of typebase 64 Stringrepresenting a byte array, or can be converted and retrieved as one. - isCanBeConvertedToByteArray(int) - Method in class org.spincast.core.json.JsonArrayDefault
- 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
- isCanBeConvertedToByteArray(String) - 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
JsonPathexists and is currentlynull, of typebase 64 Stringrepresenting a byte array, or can be converted and retrieved as one. - isCanBeConvertedToByteArray(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynull, of typebase 64 Stringrepresenting 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
indexexists and is currentlynull, of typeDate, 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) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Validates that the value at the specified
JsonPathexists and is currentlynull, of typeDate, or can be converted and retrieved as one. - isCanBeConvertedToDate(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynull, of typeDate, 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
indexexists and is currentlynull, of typeDouble, or can be converted and retrieved as one. - isCanBeConvertedToDouble(int) - Method in class org.spincast.core.json.JsonArrayDefault
- 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
- isCanBeConvertedToDouble(String) - 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
JsonPathexists and is currentlynull, of typeDouble, or can be converted and retrieved as one. - isCanBeConvertedToDouble(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynull, of typeDouble, 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
indexexists and is currentlynull, of typeFloat, or can be converted and retrieved as one. - isCanBeConvertedToFloat(int) - Method in class org.spincast.core.json.JsonArrayDefault
- 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
- isCanBeConvertedToFloat(String) - 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
JsonPathexists and is currentlynull, of typeFloat, or can be converted and retrieved as one. - isCanBeConvertedToFloat(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynull, of typeFloat, 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
indexexists and is currentlynull, of typeInteger, or can be converted and retrieved as one. - isCanBeConvertedToInteger(int) - Method in class org.spincast.core.json.JsonArrayDefault
- 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
- isCanBeConvertedToInteger(String) - 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
JsonPathexists and is currentlynull, of typeInteger, or can be converted and retrieved as one. - isCanBeConvertedToInteger(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynull, of typeInteger, 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
indexexists and is currentlynull, of typeJsonArray, or can be converted and retrieved as one. - isCanBeConvertedToJsonArray(int) - Method in class org.spincast.core.json.JsonArrayDefault
- 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
- isCanBeConvertedToJsonArray(String) - 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
JsonPathexists and is currentlynull, of typeJsonArray, or can be converted and retrieved as one. - isCanBeConvertedToJsonArray(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynull, of typeJsonArray, 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
indexexists and is currentlynull, of typeJsonObject, or can be converted and retrieved as one. - isCanBeConvertedToJsonObject(int) - Method in class org.spincast.core.json.JsonArrayDefault
- 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
- isCanBeConvertedToJsonObject(String) - 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
JsonPathexists and is currentlynull, of typeJsonObject, or can be converted and retrieved as one. - isCanBeConvertedToJsonObject(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynull, of typeJsonObject, 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
indexexists and is currentlynull, of typeLong, or can be converted and retrieved as one. - isCanBeConvertedToLong(int) - Method in class org.spincast.core.json.JsonArrayDefault
- 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
- isCanBeConvertedToLong(String) - 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
JsonPathexists and is currentlynull, of typeLong, or can be converted and retrieved as one. - isCanBeConvertedToLong(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynull, of typeLong, 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
indexexists and is currentlynull, of typeString, or can be converted and retrieved as one. - isCanBeConvertedToString(int) - Method in class org.spincast.core.json.JsonArrayDefault
- 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
- isCanBeConvertedToString(String) - 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
JsonPathexists and is currentlynull, of typeString, or can be converted and retrieved as one. - isCanBeConvertedToString(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynull, of typeString, 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?
- isClassLoadedFromJar(Class<?>) - Method in interface org.spincast.core.utils.SpincastUtils
-
Was the specified Class loaded from a .jar file?
- isClassLoadedFromJar(Class<?>) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- isClasspath() - Method in interface org.spincast.core.routing.StaticResource
-
Is the resource on the classpath?
- isClasspathResource() - Method in class org.spincast.core.utils.ResourceInfo
-
Is it a resource on the classpath or on the file system?
- isClasspathResourceLoadedFromJar(String) - Method in interface org.spincast.core.utils.SpincastUtils
-
Is the classpath resource in a .jar file? Otherwise it is on the file system.
- isClasspathResourceLoadedFromJar(String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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
-
Validate if a String contains characters below 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-Typebe 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
trueon 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
trueeven if the element isnull. - isElementExists(int) - Method in class org.spincast.core.json.JsonArrayDefault
- isElementExists(JsonArray, String) - Method in interface org.spincast.core.json.JsonManager
-
Does the array contain an element at the specified
JsonPath(even ifnull)? - isElementExists(JsonArray, String) - Method in interface org.spincast.core.json.JsonPathUtils
-
Does the array contain an element at the
JsonPathposition (even ifnull)? - isElementExists(JsonArray, String) - Method in class org.spincast.core.json.JsonPathUtilsDefault
- isElementExists(JsonObject, String) - Method in interface org.spincast.core.json.JsonManager
-
Does the object contain an element at the specified
JsonPath(even ifnull)? - isElementExists(JsonObject, String) - Method in interface org.spincast.core.json.JsonPathUtils
-
Does the object contain an element at the
JsonPathposition (even ifnull)? - isElementExists(JsonObject, 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. - isEnableHttp2() - Method in interface org.spincast.core.config.SpincastConfig
-
Should
HTTP/2be enabled on the embeddedServer, if its supports it? Note that Undertow, the default server provided with Spincast, does support it. - 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
JsonArrayto the specified one and returnstrueif 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
JsonObjectto the specified one and returnstrueif they are equivalent. - isEquivalentTo(JsonObject) - Method in class org.spincast.core.json.JsonObjectDefault
- isError() - Method in class org.spincast.core.request.FormDefault
- isError() - Method in interface org.spincast.core.validation.ValidationMessage
-
Returns
trueif the message level is ERROR. - isError() - Method in class org.spincast.core.validation.ValidationMessageDefault
- isError() - Method in interface org.spincast.core.validation.ValidationSet
-
Returns
trueif the validation set contains at least one ERROR message. - isError(String) - Method in class org.spincast.core.request.FormDefault
- isError(String) - Method in interface org.spincast.core.validation.ValidationSet
-
Returns
trueif 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?
- isHostAndRefererValid(Object, URI, String, String, StaticResource<?>) - Method in class org.spincast.core.routing.hotlinking.HotlinkingManagerDefault
- isHotlinkingProtected() - Method in interface org.spincast.core.routing.StaticResource
-
Is the resource hotlinking protected?
- isHTMLShouldBeReturn() - Method in interface org.spincast.core.exchange.RequestRequestContextAddon
-
Will return
trueif the request specifies thatHTMLis 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
trueif the request specifies thatJsonis the most appropriate format to return. - isKeyBound(Key<?>) - Method in class org.spincast.core.guice.GuiceModuleUtils
-
Checks if a key is bound in the Module
- isKeyBound(Class<?>) - Method in class org.spincast.core.guice.GuiceModuleUtils
-
Checks if a class is bound in the Module
- isLogTheException() - Method in interface org.spincast.core.exceptions.PublicException
-
Should the exception be logged?
- isLogTheException() - Method in exception org.spincast.core.exceptions.PublicExceptionDefault
- isLogTheException() - Method in exception org.spincast.core.exceptions.PublicExceptionNoLog
- 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
indexand it isnull. - 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
JsonPathexists and isnull. - 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 isnull. - 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
indexexists and is currentlynullor of typeBigDecimal, 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
JsonPathexists and is currentlynullor of typeBigDecimal, 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 currentlynullor of typeBigDecimal, 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
indexexists and is currentlynullor of typeBoolean, 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) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Validates that the value at the specified
JsonPathexists and is currentlynullor of typeBoolean, without requiring any conversion. - isOfTypeBoolean(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynullor of typeBoolean, 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
JsonPathexists and is currentlynullor of typebyte[], 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) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Validates that the value at the specified
JsonPathexists and is currentlynullor of typebyte[], without requiring any conversion. - isOfTypeByteArray(String, boolean, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynullor of typebyte[], 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
indexexists and is currentlynullor of typeDate, 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) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Validates that the value at the specified
JsonPathexists and is currentlynullor of typeDate, without requiring any conversion. - isOfTypeDate(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynullor of typeDate, 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
indexexists and is currentlynullor of typeDouble, 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) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Validates that the value at the specified
JsonPathexists and is currentlynullor of typeDouble, without requiring any conversion. - isOfTypeDouble(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynullor of typeDouble, 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
indexexists and is currentlynullor of typeFloat, 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) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Validates that the value at the specified
JsonPathexists and is currentlynullor of typeFloat, without requiring any conversion. - isOfTypeFloat(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynullor of typeFloat, 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
indexexists and is currentlynullor of typeInteger, 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) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Validates that the value at the specified
JsonPathexists and is currentlynullor of typeInteger, without requiring any conversion. - isOfTypeInteger(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynullor of typeInteger, 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
indexexists and is currentlynullor of typeJsonArray, 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) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Validates that the value at the specified
JsonPathexists and is currentlynullor of typeJsonArray, without requiring any conversion. - isOfTypeJsonArray(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynullor of typeJsonArray, 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
indexexists and is currentlynullor of typeJsonObject, 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) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Validates that the value at the specified
JsonPathexists and is currentlynullor of typeJsonObject, without requiring any conversion. - isOfTypeJsonObject(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynullor of typeJsonObject, 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
indexexists and is currentlynullor of typeLong, 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) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Validates that the value at the specified
JsonPathexists and is currentlynullor of typeLong, without requiring any conversion. - isOfTypeLong(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynullor of typeLong, 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
indexexists and is currentlynullor of typeString, 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) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Validates that the value at the specified
JsonPathexists and is currentlynullor of typeString, without requiring any conversion. - isOfTypeString(String, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 currentlynullor of typeString, 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
trueif the request specifies thatplain-textis the most appropriate format to return. - isPortOpen(String, int) - Method in interface org.spincast.core.utils.SpincastUtils
-
Validate if a port is open and connectable.
- isPortOpen(String, int) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- isPreflightRequest(CorsFilterClient) - Method in class org.spincast.core.filters.CorsFilterDefault
- isPresent(String) - Method in class org.spincast.core.json.JsonObjectArrayBase
- isPresent(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Does the object contain an element at the
JsonPathposition (even ifnull)? - isRedirectPermanently() - Method in exception org.spincast.core.exceptions.RedirectException
-
Is this a temporary or permanent redirection?
- isRequestedResourceNameEndsWithBeforeExtension(String, String) - Method in interface org.spincast.core.utils.SpincastUtils
-
Returns
trueif the name of the requested resource ends with the specified suffix. - isRequestedResourceNameEndsWithBeforeExtension(String, String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- isRequestedResourceNameEndsWithBeforeExtension(URI, String) - Method in interface org.spincast.core.utils.SpincastUtils
-
Returns
trueif the name of the requested resource ends with the specified suffix. - isRequestedResourceNameEndsWithBeforeExtension(URI, String) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- isResetResponse() - Method in interface org.spincast.core.exceptions.ResponseResetableException
-
Should the the response be reset before starting the "Exception" routing process?
- isResetResponse() - Method in exception org.spincast.core.exceptions.ResponseResetableExceptionDefault
- isResponseClosed(Object) - Method in interface org.spincast.core.server.Server
-
Is the response closed?
- isResponseHeadersSent(Object) - Method in interface org.spincast.core.server.Server
-
Are the response headers sent?
- isRoutesCaseSensitive() - Method in interface org.spincast.core.config.SpincastConfig
-
Are the URLS case-sensitive or not, during the route matching process? The default value is
false. - isRunning() - Method in interface org.spincast.core.server.Server
-
Is this server running (started)?
- isRunningFromExecutableJar() - Method in interface org.spincast.core.utils.SpincastUtils
-
Is the current code running from an executable .jar? An executable .jar is a jar with
Main-Classin itsMETA-INF/MANIFEST.MF. - isRunningFromExecutableJar() - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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?
- isSpecsIgnore() - Method in interface org.spincast.core.routing.Route
-
Is this route ignored when specs are generated?
- 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
- isStaticResourceRoute() - 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)orRouter.file(String). - isSuccess() - Method in class org.spincast.core.request.FormDefault
- isSuccess() - Method in interface org.spincast.core.validation.ValidationMessage
-
Returns
trueif the message level is SUCCESS. - isSuccess() - Method in class org.spincast.core.validation.ValidationMessageDefault
- isSuccess() - Method in interface org.spincast.core.validation.ValidationSet
-
Returns
trueif the validation set only contains SUCCESS messages (or contains no messages at all). - isSuccess(String) - Method in class org.spincast.core.request.FormDefault
- isSuccess(String) - Method in interface org.spincast.core.validation.ValidationSet
-
Returns
trueif 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
trueif the context has been created for running tests. - isValid() - Method in class org.spincast.core.request.FormDefault
- isValid() - Method in interface org.spincast.core.validation.ValidationSet
-
Returns
trueif the validation set does not contain ERROR messages. - isValid(String...) - Method in class org.spincast.core.request.FormDefault
- isValid(String...) - Method in interface org.spincast.core.validation.ValidationSet
-
Returns
trueif 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"andSpincastConfig.isDevelopmentMode()is false, an exception is thrown when the application starts. - isWarning() - Method in class org.spincast.core.request.FormDefault
- isWarning() - Method in interface org.spincast.core.validation.ValidationMessage
-
Returns
trueif the message level is WARNING. - isWarning() - Method in class org.spincast.core.validation.ValidationMessageDefault
- isWarning() - Method in interface org.spincast.core.validation.ValidationSet
-
Returns
trueif the validation set contains at least one WARNING message, but no ERROR messages. - isWarning(String) - Method in class org.spincast.core.request.FormDefault
- isWarning(String) - Method in interface org.spincast.core.validation.ValidationSet
-
Returns
trueif 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?
- isWebsocketRoute() - Method in interface org.spincast.core.routing.Route
-
Is this a Websocket route?
- 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
trueif the request specifies thatXMLis 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/jsonas an acceptedContent-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
- JSON - Enum constant in enum class org.spincast.core.utils.ContentTypeDefaults
- JSON - Enum constant in enum class org.spincast.core.validation.ValidationMessageFormatType
- JsonArray - Interface in org.spincast.core.json
-
Represents a
Jsonarray, "[]". - JsonArrayDefault - Class in org.spincast.core.json
-
JsonArrayimplementation. - JsonArrayDefault(List<Object>, boolean, 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(JsonManager, SpincastUtils, ObjectConverter) - Constructor for class org.spincast.core.json.JsonArrayDefault
-
Constructor
- JsonManager - Interface in org.spincast.core.json
-
Provides methods to play with
Jsonstrings and objects. - JsonObject - Interface in org.spincast.core.json
-
Represents a
Jsonobject, "{}". - 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
-
JsonObjectimplementation. - JsonObjectDefault(Map<String, Object>, boolean, 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(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
JsonObjectandJsonArrayobjects. - JsonObjectOrArray - Interface in org.spincast.core.json
-
Base interface for
JsonObjectandJsonArray. - 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 Class 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...
- LAX - Enum constant in enum class org.spincast.core.cookies.CookieSameSite
- LazyLoadedFlashMessageAlert(R) - Constructor for class org.spincast.core.filters.SpincastFiltersDefault.LazyLoadedFlashMessageAlert
- LocaleResolver - Interface in org.spincast.core.locale
-
Component which finds the best Locale to use, using a cookie, a
Accept-Languageheader or using a custom way. - logger - Static variable in class org.spincast.core.controllers.SpincastFrontController
- logger - Static variable in class org.spincast.core.exchange.DefaultRequestContextDefault
- logger - Static variable in class org.spincast.core.exchange.RequestContextBase
- logger - Static variable in class org.spincast.core.filters.CorsFilterDefault
- logger - Static variable in class org.spincast.core.filters.SpincastFiltersDefault
- logger - Static variable in class org.spincast.core.guice.GuiceModuleUtils
- logger - Static variable in class org.spincast.core.guice.SpincastRequestScope
- logger - Static variable in class org.spincast.core.json.JsonArrayDefault
- logger - Static variable in class org.spincast.core.json.JsonObjectArrayBase
- logger - Static variable in class org.spincast.core.json.JsonObjectDefault
- logger - Static variable in class org.spincast.core.utils.SpincastStatics
- logger - Static variable in class org.spincast.core.utils.SpincastUtilsDefault
- logger - Static variable in class org.spincast.core.utils.ssl.SSLContextFactoryDefault
- logger - Static variable in class org.spincast.core.websocket.DefaultWebsocketContextDefault
- logger - Static variable in class org.spincast.core.websocket.WebsocketContextBase
- logger - Static variable in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
- logger - Static variable in class org.spincast.core.websocket.WebsocketRouteHandler
- longValueOrNull(Object) - Static method in class org.spincast.core.utils.SpincastStatics
-
Returns
nullif the specified object is null or usesLong.parseLong(String)otherwise, by casting the obj usingobj.toString() - longValueOrNullInstance(Object) - Method in class org.spincast.core.utils.SpincastStatics
M
- MainArgs - Annotation Interface 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
nullreturned 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
nullto 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, ?>) - Method in class org.spincast.core.json.JsonObjectDefault
- merge(Map<String, ?>, boolean) - Method in interface org.spincast.core.json.JsonObject
-
Merges all the specified Map elements in the JsonObject.
- merge(Map<String, ?>, boolean) - Method in class org.spincast.core.json.JsonObjectDefault
- merge(JsonObject) - Method in interface org.spincast.core.json.JsonObject
-
Merges the specified
JsonObjectproperties in the current object. - merge(JsonObject) - Method in class org.spincast.core.json.JsonObjectDefault
- merge(JsonObject, boolean) - Method in interface org.spincast.core.json.JsonObject
-
Merges the specified
JsonObjectproperties in the current object. - merge(JsonObject, boolean) - Method in class org.spincast.core.json.JsonObjectDefault
- merge(ToJsonObjectConvertible) - Method in interface org.spincast.core.json.JsonObject
-
Transforms the specifie3d object to
JsonObjectand merges its properties in the current object. - merge(ToJsonObjectConvertible) - Method in class org.spincast.core.json.JsonObjectDefault
- mergeValidationSet(String, ValidationSet) - Method in class org.spincast.core.request.FormDefault
- mergeValidationSet(String, ValidationSet) - Method in interface org.spincast.core.validation.ValidationSet
-
Merges another
ValidationSetand prefixes all the validation keys of this set using thevalidationKeyPrefix. - mergeValidationSet(ValidationSet) - Method in class org.spincast.core.request.FormDefault
- mergeValidationSet(ValidationSet) - Method in interface org.spincast.core.validation.ValidationSet
-
Merges another
ValidationSet. - 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(String, Set<HttpMethod>) - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a route matching the specified HTTP methods.
- methods(String, HttpMethod...) - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a route matching the specified HTTP methods.
- methods(Set<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(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.Router
-
Starts the creation of a route matching the specified HTTP methods and on any path.
- msg(String, String) - Method in class org.spincast.core.dictionary.DictionaryBase
-
Creates a localized message.
- mustHotlinkingProtect(Object, URI, String, String, StaticResource<?>) - Method in interface org.spincast.core.routing.hotlinking.HotlinkingManager
-
This must return
trueif the current resource has to be hotlinking protected. - mustHotlinkingProtect(Object, URI, String, String, StaticResource<?>) - Method in class org.spincast.core.routing.hotlinking.HotlinkingManagerDefault
N
- NO_ESCAPE - Enum constant in enum class org.spincast.core.validation.ValidationHtmlEscapeType
- 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.
- NoneWatermarkingStategy - Class in org.spincast.core.routing.hotlinking
- NoneWatermarkingStategy() - Constructor for class org.spincast.core.routing.hotlinking.NoneWatermarkingStategy
- NOT_CORS - Enum constant in enum class org.spincast.core.filters.CorsFilterResponse
- NOT_FOUND - Enum constant in enum class org.spincast.core.routing.RoutingType
- NOT_FOUND_PUBLIC_MESSAGE - Static variable in class org.spincast.core.config.SpincastConstants.RequestScopedVariables
-
If a "Not Found" route is run because of a
NotFoundExceptionhas 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 Foundrouting process. - notFound(String, Handler<R>) - Method in interface org.spincast.core.routing.Router
-
Creates a route considered during an "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.
- 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(boolean) - Constructor for exception org.spincast.core.exceptions.NotFoundException
- 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(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() - 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
- onEndpointClosed(String) - Method in interface org.spincast.core.websocket.WebsocketController
-
The endpoint is now closed.
- 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(String) - Method in interface org.spincast.core.websocket.WebsocketEndpointHandler
-
A peer closed its connection.
- onPeerClosed(String) - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
- onPeerClosed(W) - Method in interface org.spincast.core.websocket.WebsocketController
-
A peer closed the WebSocket connection.
- 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
- onPeerConnected(W) - Method in interface org.spincast.core.websocket.WebsocketController
-
A peer is connected on the WebSocket endpoint.
- onPeerMessage(String, byte[]) - Method in interface org.spincast.core.websocket.WebsocketEndpointHandler
-
A bytes messages arrives from a peer.
- onPeerMessage(String, byte[]) - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
- onPeerMessage(String, String) - Method in interface org.spincast.core.websocket.WebsocketEndpointHandler
-
A String message arrives from a peer.
- onPeerMessage(String, String) - Method in class org.spincast.core.websocket.WebsocketEndpointHandlerDefault
- onPeerMessage(W, byte[]) - Method in interface org.spincast.core.websocket.WebsocketController
-
A peer sent a bytes[] message.
- onPeerMessage(W, String) - Method in interface org.spincast.core.websocket.WebsocketController
-
A Peer sent a String message.
- onPeerPreConnect(R) - Method in interface org.spincast.core.websocket.WebsocketController
-
Called before the HTTP request is converted to a WebSocket connection.
- OPTIONS - Enum constant in enum class org.spincast.core.routing.HttpMethod
- OPTIONS() - Method in interface org.spincast.core.routing.RouteBuilder
-
Adds
OPTIONSas a supported HTTP method. - OPTIONS() - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
OPTIONSroute, for all path. - OPTIONS(String) - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
OPTIONSroute. - 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.routing.hotlinking - package org.spincast.core.routing.hotlinking
- 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
- 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
Jsondate (ISO-8601) to a JavaUTCdate. - 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 - Enum constant in enum class org.spincast.core.routing.HttpMethod
- PATCH() - Method in interface org.spincast.core.routing.RouteBuilder
-
Adds
PATCHas a supported HTTP method. - PATCH() - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
PATCHroute, for all path. - PATCH(String) - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
PATCHroute. - 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.
- PathDynamicParameter - Interface in org.spincast.core.routing
- PathDynamicParameterDefault - Class in org.spincast.core.routing
- PathDynamicParameterDefault(int, String, String, String) - Constructor for class org.spincast.core.routing.PathDynamicParameterDefault
- 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).
- PLAIN_TEXT - Enum constant in enum class org.spincast.core.validation.ValidationMessageFormatType
- 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.RedirectRuleBuilder
-
The position where the filter will be run.
- pos(int) - Method in interface org.spincast.core.routing.RouteBuilder
-
The position of the handler.
- POST - Enum constant in enum class org.spincast.core.routing.HttpMethod
- POST() - Method in interface org.spincast.core.routing.RouteBuilder
-
Adds
POSTas a supported HTTP method. - POST() - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
POSTroute, for all path. - POST(String) - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
POSTroute. - PRE - Enum constant in enum class org.spincast.core.validation.ValidationHtmlEscapeType
-
Convert newlines to <br /> and maybe some other small tweaks.
- PREFLIGHT - Enum constant in enum class org.spincast.core.filters.CorsFilterResponse
- 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, boolean) - Constructor for exception org.spincast.core.exceptions.PublicExceptionDefault
- PublicExceptionDefault(String, int) - Constructor for exception org.spincast.core.exceptions.PublicExceptionDefault
- PublicExceptionDefault(String, int, boolean) - Constructor for exception org.spincast.core.exceptions.PublicExceptionDefault
- PublicExceptionNoLog - Exception in org.spincast.core.exceptions
- PublicExceptionNoLog() - Constructor for exception org.spincast.core.exceptions.PublicExceptionNoLog
- PublicExceptionNoLog(String) - Constructor for exception org.spincast.core.exceptions.PublicExceptionNoLog
- PublicExceptionNoLog(String, boolean) - Constructor for exception org.spincast.core.exceptions.PublicExceptionNoLog
- PublicExceptionNoLog(String, int) - Constructor for exception org.spincast.core.exceptions.PublicExceptionNoLog
- PublicExceptionNoLog(String, int, boolean) - Constructor for exception org.spincast.core.exceptions.PublicExceptionNoLog
- push(Object, Set<ResourceToPush>) - Method in interface org.spincast.core.server.Server
-
If
HTTP/2is used, you can push extra resources at the same time you response to a request. - push(HttpMethod, String, Map<String, List<String>>) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
If
HTTP/2is used, you can push extra resources at the same time you response to a request. - put(String, Object, boolean, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- PUT - Enum constant in enum class org.spincast.core.json.JsonPathUtilsDefault.JsonPathProcessingType
- PUT - Enum constant in enum class org.spincast.core.routing.HttpMethod
- PUT() - Method in interface org.spincast.core.routing.RouteBuilder
-
Adds
PUTas a supported HTTP method. - PUT() - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
PUTroute, for all path. - PUT(String) - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
PUTroute. - 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) - Method in interface org.spincast.core.json.JsonPathUtils
-
Puts an element in the object at the specified
JsonPathposition. - putElementAtJsonPath(JsonObjectOrArray, String, Object) - Method in class org.spincast.core.json.JsonPathUtilsDefault
- 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.
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) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- 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, 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(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Sets a temporarily redirection header (302).
- redirect(String) - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a redirection rule.
- 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
3xxstatus code. - redirect(String, int, FlashMessage) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Sets the redirection headers with a specified
3xxstatus 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
3xxstatus 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
3xxstatus code, and a Flash message to display. - 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, JsonObject) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Sets a temporarily redirection header (302), with a Flash variables.
- 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 - Enum constant in enum class org.spincast.core.routing.hotlinking.HotlinkingStategy
-
The request must be redirect to a new URL, for example to a watermarked version of the resource.
- 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(String) - Constructor for exception org.spincast.core.exceptions.RedirectException
- 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
- 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(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.
- RedirectHandler<R extends RequestContext<?>,
W extends WebsocketContext<?>> - Interface in org.spincast.core.routing -
Handle to generate the path to redirect a route to.
- RedirectRuleBuilder<R extends RequestContext<?>,
W extends WebsocketContext<?>> - 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(int) - Method in interface org.spincast.core.json.JsonArray
-
Removes an element at the specified index.
- remove(int) - Method in class org.spincast.core.json.JsonArrayDefault
- remove(String) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
-
Removes a request scoped variable.
- remove(String) - Method in class org.spincast.core.json.JsonArrayDefault
- remove(String) - Method in class org.spincast.core.json.JsonObjectDefault
-
Removes a property at
JsonPathfrom the object. - remove(String) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Removes an element at
JsonPath. - REMOVE - Enum constant in enum class org.spincast.core.json.JsonPathUtilsDefault.JsonPathProcessingType
- 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(JsonArray, String) - Method in interface org.spincast.core.json.JsonManager
-
Removes an element at the specified
JsonPathfrom the array. - removeElementAtJsonPath(JsonArray, String) - Method in interface org.spincast.core.json.JsonPathUtils
-
Removes an element at the specified
JsonPathfrom the array. - removeElementAtJsonPath(JsonArray, String) - Method in class org.spincast.core.json.JsonPathUtilsDefault
- removeElementAtJsonPath(JsonObject, String) - Method in interface org.spincast.core.json.JsonManager
-
Removes an element at the specified
JsonPathfrom the object. - removeElementAtJsonPath(JsonObject, String) - Method in interface org.spincast.core.json.JsonPathUtils
-
Removes an element at the specified
JsonPathfrom the object. - removeElementAtJsonPath(JsonObject, 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) - Method in interface org.spincast.core.server.Server
-
Removes a user from all HTTP protected realms.
- removeHttpAuthentication(String, String) - Method in interface org.spincast.core.server.Server
-
Removes a user to an HTTP protected realm.
- 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 Interface 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-Typeand sets thestatus codeback to200. - resetEverything() - Method in interface org.spincast.core.filters.CorsFilterClient
-
Resets the response.
- resetEverything(boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Clears the buffer (the unsent buffer, of course), the headers, the
Content-Typeand sets thestatus codeback to200. - resetResponse(R) - Method in class org.spincast.core.controllers.SpincastFrontController
- RESOURCE_TO_PUSH_PLACEHOLDERS_CACHE_BUSTER - Static variable in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
The placeholder to replace by the current cache buster when pushing a resource on HTTP/2.
- ResourceInfo - Class in org.spincast.core.utils
-
Represents a file that can be taken from the file system or from the classpath.
- ResourceInfo(String, boolean) - Constructor for class org.spincast.core.utils.ResourceInfo
- ResourceToPush - Class in org.spincast.core.routing
-
A resource to push using HTTP/2.
- ResourceToPush(HttpMethod, String, Map<String, List<String>>) - Constructor for class org.spincast.core.routing.ResourceToPush
- 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(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) - 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
- RETURN_EMPTY_STRING - Enum constant in enum class org.spincast.core.dictionary.DictionaryEntryNotFoundBehavior
-
Returns an empty string
- RETURN_KEY - Enum constant in enum class org.spincast.core.dictionary.DictionaryEntryNotFoundBehavior
-
Returns the key itself.
- 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<R extends RequestContext<?>> - Interface in org.spincast.core.routing
-
Represents a regular route and all its informations.
- 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 Class 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(JsonArray, String, boolean, Object) - Method in class org.spincast.core.json.JsonPathUtilsDefault
- selectValueUsingJsonPath(JsonObject, 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
bytesusing the specifiedContent-Type, without flushing. - sendBytes(byte[], String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Sends some
bytesusing the specifiedContent-Typeand flushes, if specified. - sendCharacters(String, String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Sends a String, using the encoding returned by
getCharactersCharsetNameand using the specifiedContent-Type, without flushing. - sendCharacters(String, String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Sends a String, using the encoding returned by
getCharactersCharsetNameand using the specifiedContent-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-8encoded, without flushing. - sendHtml(String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Sends a String as
text/html,UTF-8encoded, 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(Object) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Serializes the object to
Jsonand sends asapplication/json, without flushing. - sendJson(Object, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Serializes the object to
Json, sends asapplication/json, and flushes, if specified. - sendJson(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Sends a
JsonString using theapplication/jsonContent-Type, without flushing. - sendJson(String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Sends a
JsonString using theapplication/jsonContent-Type, and flushes, if specified. - sendMessage(byte[]) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
-
Sends a byte array message to all peers of the endpoint.
- sendMessage(byte[]) - Method in interface org.spincast.core.websocket.WebsocketPeerManager
-
Sends a byte array message to the peer.
- sendMessage(String) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
-
Sends a String message to all peers of the endpoint.
- sendMessage(String) - Method in interface org.spincast.core.websocket.WebsocketPeerManager
-
Sends a String message to the peer.
- sendMessage(String, byte[]) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
-
Sends a byte array message to a specific peer.
- sendMessage(String, String) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
-
Sends a String 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(Set<String>, String) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
-
Sends a String message to specific peers.
- sendMessageExcept(String, byte[]) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
-
Sends a byte array message to all peers except the specified one.
- 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>, byte[]) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
-
Sends a byte array message to all peers except the specified ones.
- sendMessageExcept(Set<String>, String) - Method in interface org.spincast.core.websocket.WebsocketEndpointWriter
-
Sends a String message to all peers except the specified ones.
- sendMessageToCurrentPeer(byte[]) - Method in interface org.spincast.core.websocket.WebsocketContext
-
Sends a byte array message to the current peer.
- sendMessageToCurrentPeer(byte[]) - Method in class org.spincast.core.websocket.WebsocketContextBase
- sendMessageToCurrentPeer(String) - Method in interface org.spincast.core.websocket.WebsocketContext
-
Sends a String message to the current peer.
- sendMessageToCurrentPeer(String) - 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 specifiedContent-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 specifiedContent-Type, and flushes, if specified. - sendParseHtml(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Parses the given String using the
TemplatingEngineand the given parameters, then sends the result astext/html,UTF-8encoded. - sendParseHtml(String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Parses the given String using the
TemplatingEngineand the given parameters, then sends the result astext/html,UTF-8encoded, and flushes, if specified. - sendPlainText(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Sends a String as
text/plain,UTF-8encoded, without flushing. - sendPlainText(String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Sends a String as
text/plain,UTF-8encoded, 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 givencontentType, 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 givencontentType, 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 givencontentType, 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 givencontentType, and flushes, if specified. - sendTemplateHtml(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Finds the
HTMLtemplate using theTemplatingEngine, evaluates it using the model that have been added to the response, then sends the result astext/html,UTF-8encoded, without flushing. - sendTemplateHtml(String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Finds the
HTMLtemplate using theTemplatingEngine, evaluates it using the given parameters, then sends the result astext/html,UTF-8encoded. - sendTemplateHtml(String, boolean, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Finds the
HTMLtemplate using theTemplatingEngine, evaluates it using the given parameters, then sends the result astext/html,UTF-8encoded, 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(Object) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Serializes the object to
XMLand sends asapplication/xml, without flushing. - sendXml(Object, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Serializes the object to
XML, sends asapplication/xml, and flushes, if specified. - sendXml(String) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Sends some
XMLusing theapplication/xmlContent-Type, without flushing. - sendXml(String, boolean) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Sends some
XMLusing theapplication/xmlContent-Type, 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
ServerStartedListenerlisteners 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(int, Object) - 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 interface org.spincast.core.json.JsonArray
-
Sets an object at the specified index.
- set(int, Object, boolean) - Method in class org.spincast.core.json.JsonArrayDefault
- set(String, Object) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
-
Adds a request scoped variable.
- set(String, Object) - 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 class org.spincast.core.json.JsonObjectArrayBase
- set(String, Object, boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Sets an element at the specified
JsonPath. - set(Map<String, Object>) - Method in interface org.spincast.core.exchange.VariablesRequestContextAddon
-
Adds request scoped variables.
- 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-Typeheader to use for the response. - setContextTypes(Module) - Method in class org.spincast.core.guice.SpincastPluginBase
- 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.
- setCookie(Cookie) - Method in interface org.spincast.core.exchange.ResponseRequestContextAddon
-
Sets a cookie.
- 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
- setIfAbsent(String, Object) - Method in class org.spincast.core.json.JsonObjectArrayBase
- setIfAbsent(String, Object) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Sets an element at the specified
JsonPathif no element exists at this path. - setIfAbsent(String, Object, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- setIfAbsent(String, Object, boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
Sets an element at the specified
JsonPathif no element exists at this path. - 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) - Method in class org.spincast.core.json.JsonObjectDefault
- 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, 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 codeto 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
JsonObjectto 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
- SIMPLE - Enum constant in enum class org.spincast.core.filters.CorsFilterResponse
- 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.isStaticResourceRoute()). - sortMapByValues(Map<K, V>) - Method in interface org.spincast.core.utils.SpincastUtils
-
Sort a Map by value
- sortMapByValues(Map<K, V>) - Method in class org.spincast.core.utils.SpincastUtilsDefault
- specs(Object, Object...) - Method in interface org.spincast.core.routing.RouteBuilder
-
Generic method to provide specifications for an endpoint.
- specsIgnore() - Method in interface org.spincast.core.routing.RouteBuilder
-
When calling this method, the associated route won't be part of the generated specs.
- 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
- SpincastFiltersDefault.LazyLoadedFlashMessageAlert - Class in org.spincast.core.filters
- 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() - Method in class org.spincast.core.guice.SpincastCorePluginModule
- SpincastInit - Class in org.spincast.core.config
-
Some basic initialization
- SpincastInit(SpincastConfig) - Constructor for class org.spincast.core.config.SpincastInit
- 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 Interface 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 Class 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
- STRICT - Enum constant in enum class org.spincast.core.cookies.CookieSameSite
- stringValueOrNull(Object) - Static method in class org.spincast.core.utils.SpincastStatics
-
Returns
nullif the specified object is null or usesString.valueOf(Object)otherwise. - stringValueOrNullInstance(Object) - Method in class org.spincast.core.utils.SpincastStatics
- SUCCESS - Enum constant in enum class org.spincast.core.flash.FlashMessageLevel
- SUCCESS - Enum constant in enum class org.spincast.core.response.AlertLevel
- SUCCESS - Enum constant in enum class org.spincast.core.validation.ValidationLevel
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 Interface in org.spincast.core.guice
-
Used to indicate if the code is run from tests!
- TEXT - Enum constant in enum class org.spincast.core.utils.ContentTypeDefaults
- 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.
- to(RedirectHandler<R, W>) - Method in interface org.spincast.core.routing.RedirectRuleBuilder
-
Will called the specified
RedirectHandlerto generate the path to redirect to. - toArray(Collection<T>, Class<? super T>) - Static method in class org.spincast.core.utils.SpincastStatics
- toArrayInstance(Collection<T>, Class<? super 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() - Method in class org.spincast.core.json.JsonObjectArrayBase
- toJsonString() - Method in interface org.spincast.core.json.JsonObjectOrArray
-
The
Jsonstring representation of the object. - toJsonString(boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- toJsonString(boolean) - Method in interface org.spincast.core.json.JsonObjectOrArray
-
The
Jsonstring representation of the object. - toJsonString(Object) - Method in interface org.spincast.core.json.JsonManager
-
Gets the
JsonString representation of the specified object. - toJsonString(Object, boolean) - Method in interface org.spincast.core.json.JsonManager
-
Gets the
JsonString representation of the specified object. - toLinkedHashMap(String, List<ValidationMessage>) - Static method in class org.spincast.core.request.FormDefault
- toList(T[], boolean) - Static method in class org.spincast.core.utils.SpincastStatics
-
Converts an array to a mutable list.
- toListInstance(T[], boolean) - Method in class org.spincast.core.utils.SpincastStatics
- 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 class 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.request.FormDefault
- toString() - Method in class org.spincast.core.routing.ResourceToPush
- 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 - Enum constant in enum class org.spincast.core.routing.HttpMethod
- TRACE() - Method in interface org.spincast.core.routing.RouteBuilder
-
Adds
TRACEas a supported HTTP method. - TRACE() - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
TRACEroute, for all path. - TRACE(String) - Method in interface org.spincast.core.routing.Router
-
Starts the creation of a
TRACEroute, at the specified position. - 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(Object) - Method in interface org.spincast.core.json.ElementTransformer
- 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
JsonPathusing the transformer. - transformAll(ElementTransformer) - Method in class org.spincast.core.json.JsonObjectArrayBase
- 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 class org.spincast.core.json.JsonArrayDefault
- transformAll(ElementTransformer, boolean) - Method in class org.spincast.core.json.JsonObjectArrayBase
- transformAll(ElementTransformer, boolean) - Method in class org.spincast.core.json.JsonObjectDefault
- 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
JsonPathif it's of typeString. - trimAll() - 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 class org.spincast.core.json.JsonObjectArrayBase
- 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
ETagand/orLast-Modifiedto 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
- ValidationHtmlEscapeType - Enum Class in org.spincast.core.validation
- ValidationLevel - Enum Class 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, ValidationHtmlEscapeType, JsonManager) - Constructor for class org.spincast.core.validation.ValidationMessageDefault
- ValidationMessageFormatType - Enum Class 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 class org.spincast.core.cookies.CookieSameSite
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.spincast.core.dictionary.DictionaryEntryNotFoundBehavior
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.spincast.core.filters.CorsFilterResponse
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.spincast.core.flash.FlashMessageLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.spincast.core.json.JsonPathUtilsDefault.JsonPathProcessingType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.spincast.core.response.AlertLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.spincast.core.routing.hotlinking.HotlinkingStategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.spincast.core.routing.HttpMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.spincast.core.routing.RoutingType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.spincast.core.routing.StaticResourceType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.spincast.core.utils.ContentTypeDefaults
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.spincast.core.utils.GzipOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.spincast.core.validation.ValidationHtmlEscapeType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.spincast.core.validation.ValidationLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.spincast.core.validation.ValidationMessageFormatType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.spincast.core.cookies.CookieSameSite
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.spincast.core.dictionary.DictionaryEntryNotFoundBehavior
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.spincast.core.filters.CorsFilterResponse
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.spincast.core.flash.FlashMessageLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.spincast.core.json.JsonPathUtilsDefault.JsonPathProcessingType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.spincast.core.response.AlertLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.spincast.core.routing.hotlinking.HotlinkingStategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.spincast.core.routing.HttpMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.spincast.core.routing.RoutingType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.spincast.core.routing.StaticResourceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.spincast.core.utils.ContentTypeDefaults
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.spincast.core.utils.GzipOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.spincast.core.validation.ValidationHtmlEscapeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.spincast.core.validation.ValidationLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.spincast.core.validation.ValidationMessageFormatType
-
Returns an array containing the constants of this enum class, 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
- WARNING - Enum constant in enum class org.spincast.core.flash.FlashMessageLevel
- WARNING - Enum constant in enum class org.spincast.core.response.AlertLevel
- WARNING - Enum constant in enum class org.spincast.core.validation.ValidationLevel
- 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 Interface 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/xmlas an acceptedContent-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
- XML - Enum constant in enum class org.spincast.core.utils.ContentTypeDefaults
- XML - Enum constant in enum class org.spincast.core.validation.ValidationMessageFormatType
- XmlManager - Interface in org.spincast.core.xml
-
Provides methods to work with
XMLstrings 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
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form