- callRouteHandlers(R, IRoutingResult<R>) - Method in class org.spincast.core.controllers.SpincastFrontController
-
Call the handlers, in order they are specified.
- classpath(String) - Method in interface org.spincast.core.routing.IStaticResourceBuilder
-
The path to the resource, on the classpath.
- clear() - Method in interface org.spincast.core.json.IJsonArray
-
Clears all elements.
- clear() - Method in class org.spincast.core.json.JsonArray
-
- configure() - Method in class org.spincast.core.guice.SpincastCoreGuiceModule
-
- ContentTypeDefaults - Enum in org.spincast.core.utils
-
Some often used Content-Types.
- COOKIE_NAME_LOCALE_TO_USE - Static variable in class org.spincast.core.config.SpincastConstants
-
Name of the Cookie to save the user Locale.
- cookies() - Method in interface org.spincast.core.exchange.IRequestContext
-
Cookies related methods.
- cookies() - Method in class org.spincast.core.exchange.RequestContextBase
-
- cors(R) - Method in interface org.spincast.core.filters.ISpincastFilters
-
Cross-Origin Resource Sharing (Cors) handling.
- cors(R, Set<String>) - Method in interface org.spincast.core.filters.ISpincastFilters
-
Cross-Origin Resource Sharing (Cors) handling.
- cors(R, Set<String>, Set<String>) - Method in interface org.spincast.core.filters.ISpincastFilters
-
Cross-Origin Resource Sharing (Cors) handling.
- cors(R, Set<String>, Set<String>, Set<String>) - Method in interface org.spincast.core.filters.ISpincastFilters
-
Cross-Origin Resource Sharing (Cors) handling.
- cors(R, Set<String>, Set<String>, Set<String>, boolean) - Method in interface org.spincast.core.filters.ISpincastFilters
-
Cross-Origin Resource Sharing (Cors) handling.
- cors(R, Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>) - Method in interface org.spincast.core.filters.ISpincastFilters
-
Cross-Origin Resource Sharing (Cors) handling.
- cors(R, Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>, int) - Method in interface org.spincast.core.filters.ISpincastFilters
-
Cross-Origin Resource Sharing (Cors) handling.
- cors(R) - Method in class org.spincast.core.filters.SpincastFilters
-
- cors(R, Set<String>) - Method in class org.spincast.core.filters.SpincastFilters
-
- cors(R, Set<String>, Set<String>) - Method in class org.spincast.core.filters.SpincastFilters
-
- cors(R, Set<String>, Set<String>, Set<String>) - Method in class org.spincast.core.filters.SpincastFilters
-
- cors(R, Set<String>, Set<String>, Set<String>, boolean) - Method in class org.spincast.core.filters.SpincastFilters
-
- cors(R, Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>) - Method in class org.spincast.core.filters.SpincastFilters
-
- cors(R, Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>, int) - Method in class org.spincast.core.filters.SpincastFilters
-
- cors() - Method in interface org.spincast.core.routing.IRouter
-
Enables Cross-Origin Resource Sharing (Cors) on all
matching requests (except the static resources,
for whom cors has to be activated directly!)
- cors(Set<String>) - Method in interface org.spincast.core.routing.IRouter
-
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.IRouter
-
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.IRouter
-
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.IRouter
-
Enables Cross-Origin Resource Sharing (Cors) on
matching requests (except the static resources,
for whom cors has to be activated directly!)
- cors(Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>) - Method in interface org.spincast.core.routing.IRouter
-
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.IRouter
-
Enables Cross-Origin Resource Sharing (Cors) on
matching requests (except the static resources,
for whom cors has to be activated directly!)
- cors(String) - Method in interface org.spincast.core.routing.IRouter
-
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.IRouter
-
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.IRouter
-
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.IRouter
-
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.IRouter
-
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.IRouter
-
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.IRouter
-
Enables Cross-Origin Resource Sharing (Cors) on
requests matching the specified path (except the static resources,
for whom cors has to be activated directly!)
- cors() - Method in interface org.spincast.core.routing.IStaticResourceBuilder
-
Enables Cross-Origin Resource Sharing (Cors)
- cors(Set<String>) - Method in interface org.spincast.core.routing.IStaticResourceBuilder
-
Enables Cross-Origin Resource Sharing (Cors)
- cors(Set<String>, Set<String>) - Method in interface org.spincast.core.routing.IStaticResourceBuilder
-
Enables Cross-Origin Resource Sharing (Cors)
- cors(Set<String>, Set<String>, Set<String>) - Method in interface org.spincast.core.routing.IStaticResourceBuilder
-
Enables Cross-Origin Resource Sharing (Cors)
- cors(Set<String>, Set<String>, Set<String>, boolean) - Method in interface org.spincast.core.routing.IStaticResourceBuilder
-
Enables Cross-Origin Resource Sharing (Cors)
- cors(Set<String>, Set<String>, Set<String>, boolean, int) - Method in interface org.spincast.core.routing.IStaticResourceBuilder
-
Enables Cross-Origin Resource Sharing (Cors)
- corsAddAllowCookies(ICorsFilterClient) - Method in class org.spincast.core.filters.CorsFilter
-
- corsAddAllowMethods(ICorsFilterClient, Set<HttpMethod>) - Method in class org.spincast.core.filters.CorsFilter
-
- corsAddAllowOrigin(ICorsFilterClient) - Method in class org.spincast.core.filters.CorsFilter
-
- corsAddExtraHeadersAllowedToBeRead(ICorsFilterClient, Set<String>) - Method in class org.spincast.core.filters.CorsFilter
-
- corsAddExtraHeadersAllowedToBeSent(ICorsFilterClient, Set<String>) - Method in class org.spincast.core.filters.CorsFilter
-
- corsAddMaxAge(ICorsFilterClient, int) - Method in class org.spincast.core.filters.CorsFilter
-
- corsCore(ICorsFilterClient, Set<String>, boolean) - Method in class org.spincast.core.filters.CorsFilter
-
- CorsFilter - Class in org.spincast.core.filters
-
Cors filter implementation.
- CorsFilter() - Constructor for class org.spincast.core.filters.CorsFilter
-
- CorsFilterResponse - Enum in org.spincast.core.filters
-
A response from the cors filter.
- create() - Method in interface org.spincast.core.json.IJsonManager
-
Creates an empty JsonObject
- create(String) - Method in interface org.spincast.core.json.IJsonManager
-
Creates a JsonObject from a Json
String.
- create(InputStream) - Method in interface org.spincast.core.json.IJsonManager
-
Creates a JsonObject from an inputStream.
- create() - Method in interface org.spincast.core.json.IJsonObjectFactory
-
- create(IHandler<R>) - Method in interface org.spincast.core.routing.IRouteBuilder
-
Creates and returns the route without adding it to
the router.
- create() - Method in interface org.spincast.core.routing.IRouteBuilderFactory
-
Creates a route builder without using a router.
- create(IRouter<R>) - Method in interface org.spincast.core.routing.IRouteBuilderFactory
-
Creates a route builder using the specified router.
- create() - Method in interface org.spincast.core.routing.IStaticResourceBuilder
-
Creates and returns the static resource without adding it to
the router.
- create(boolean) - Method in interface org.spincast.core.routing.IStaticResourceBuilderFactory
-
Creates a static resources builder by specifying
if the resource to build is a file or a directory, but without
using a router.
- create(IRouter<R>, boolean) - Method in interface org.spincast.core.routing.IStaticResourceBuilderFactory
-
Creates a static resources builder by specifying
if the resource to build is a file or a directory.
- createArray() - Method in interface org.spincast.core.json.IJsonManager
-
Creates an empty JsonArray.
- createArray(String) - Method in interface org.spincast.core.json.IJsonManager
-
Creates a JsonArray from a Json
String.
- createArray(InputStream) - Method in interface org.spincast.core.json.IJsonManager
-
Creates a JsonArray from an inputStream.
- createArray() - Method in interface org.spincast.core.json.IJsonObjectFactory
-
- createCookie(String) - Method in interface org.spincast.core.cookies.ICookieFactory
-
Creates a cookie using the given name (null value).
- createCookie(String, String) - Method in interface org.spincast.core.cookies.ICookieFactory
-
Creates a cookie using the given name and value.
- createCookie(String, String, String, String, Date, boolean, boolean, boolean, int) - Method in interface org.spincast.core.cookies.ICookieFactory
-
Creates a cookie using all possible configurations.
- createCorsFilterClient(R, Set<String>, Set<String>, Set<String>, boolean, Set<HttpMethod>, int) - Method in class org.spincast.core.filters.SpincastFilters
-
Creates a client for the cors filter.
- createForwardedRequestContext(R, String) - Method in class org.spincast.core.controllers.SpincastFrontController
-
- createPlaceholder(String) - Method in interface org.spincast.core.templating.ITemplatingEngine
-
Creates a placeholder using the current templating engine
implementation.
- createPlaceholder(String) - Method in interface org.spincast.core.templating.ITemplatingRequestContextAddon
-
Creates a placeholder using the current templating engine
implementation.
- createRequestContext(Object) - Method in interface org.spincast.core.exchange.IRequestContextFactory
-
- customExceptionHandling(Throwable, R, IRoutingResult<R>) - Method in class org.spincast.core.controllers.SpincastFrontController
-
Custom exception handling.
- CustomStatusCodeException - Exception in org.spincast.core.exceptions
-
- CustomStatusCodeException() - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeException
-
- CustomStatusCodeException(String) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeException
-
- CustomStatusCodeException(String, int) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeException
-
- CustomStatusCodeException(boolean) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeException
-
- CustomStatusCodeException(String, boolean) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeException
-
- CustomStatusCodeException(String, int, boolean) - Constructor for exception org.spincast.core.exceptions.CustomStatusCodeException
-
- geNumericAliasKey() - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
-
Numeric alias
- geNumericPlusAliasKey() - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
-
Numeric + "_" and "-" alias
- get(Class<T>) - Method in interface org.spincast.core.exchange.IRequestContext
-
Shortcut to get an instance from Guice.
- get(Key<T>) - Method in interface org.spincast.core.exchange.IRequestContext
-
Shortcut to get an instance from Guice.
- get(String) - Method in interface org.spincast.core.exchange.IVariablesRequestContextAddon
-
Gets the specified request scoped variable.
- get(String, Class<T>) - Method in interface org.spincast.core.exchange.IVariablesRequestContextAddon
-
Gets the specified request scoped variable as the
specified class.
- get(String, Key<T>) - Method in interface org.spincast.core.exchange.IVariablesRequestContextAddon
-
Gets the specified request scoped variable as the
specified Key.
- get(Class<T>) - Method in class org.spincast.core.exchange.RequestContextBase
-
- get(Key<T>) - Method in class org.spincast.core.exchange.RequestContextBase
-
- get(int) - Method in interface org.spincast.core.json.IJsonArray
-
Gets an element at the specified position.
- get(String) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property.
- get(String, Object) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property.
- get(int) - Method in class org.spincast.core.json.JsonArray
-
- get(String) - Method in class org.spincast.core.json.JsonObject
-
- get(String, Object) - Method in class org.spincast.core.json.JsonObject
-
- GET() - Method in interface org.spincast.core.routing.IRouteBuilder
-
Addss GET as a supported HTTP method.
- GET(String) - Method in interface org.spincast.core.routing.IRouter
-
Starts the creation of a GET route.
- getAcceptedContentTypes() - Method in interface org.spincast.core.routing.IRoute
-
The Content-Types this route
accepts (names all lowercased).
- getAfterFilters() - Method in interface org.spincast.core.routing.IRoute
-
The "after" filters, if any.
- getAll() - Method in interface org.spincast.core.exchange.IVariablesRequestContextAddon
-
Gets all the request scoped variables.
- getAllContentTypesVariations() - Static method in enum org.spincast.core.utils.ContentTypeDefaults
-
- getAllowedMethods() - Method in interface org.spincast.core.filters.ICorsFilterClient
-
The allowed HTTP methods, for the cors request.
- getAllowedOrigins() - Method in interface org.spincast.core.filters.ICorsFilterClient
-
The allowed origins, for the cors request.
- getAllowedOrigins() - Method in interface org.spincast.core.routing.IStaticResourceCorsConfig
-
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.ISpincastUtils
-
Returns the working directory: the directory
in which the executable .jar is located.
- getAppJarDirectory() - Method in class org.spincast.core.utils.SpincastUtils
-
- getAsJsonObject(String) - Method in interface org.spincast.core.exchange.IVariablesRequestContextAddon
-
Gets the specified request scoped variable as JsonObject.
- getAsString(String) - Method in interface org.spincast.core.exchange.IVariablesRequestContextAddon
-
Gets the specified request scoped variable as a String.
- getBeforeFilters() - Method in interface org.spincast.core.routing.IRoute
-
The "before" filters, if any.
- getBigDecimal(int) - Method in interface org.spincast.core.json.IJsonArray
-
Gets an element as BigDecimal.
- getBigDecimal(String) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as BigDecimal.
- getBigDecimal(String, BigDecimal) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as BigDecimal.
- getBigDecimal(int) - Method in class org.spincast.core.json.JsonArray
-
- getBigDecimal(String) - Method in class org.spincast.core.json.JsonObject
-
- getBigDecimal(String, BigDecimal) - Method in class org.spincast.core.json.JsonObject
-
- getBigDecimalValue(String, boolean, BigDecimal) - Method in class org.spincast.core.json.JsonObject
-
- getBodyAsByteArray() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The bytes of the request's body.
- getBodyAsInputStream() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The raw InputStream of the request's body.
- getBodyAsString() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The request's body as a String, using the UTF-8 encoding.
- getBodyAsString(String) - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The request's body as a String, using the specified encoding.
- getBoolean(int) - Method in interface org.spincast.core.json.IJsonArray
-
Gets an element as Boolean.
- getBoolean(String) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as Boolean.
- getBoolean(String, Boolean) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as Boolean.
- getBoolean(int) - Method in class org.spincast.core.json.JsonArray
-
- getBoolean(String) - Method in class org.spincast.core.json.JsonObject
-
- getBoolean(String, Boolean) - Method in class org.spincast.core.json.JsonObject
-
- getBooleanValue(String, boolean, Boolean) - Method in class org.spincast.core.json.JsonObject
-
- getBytesFromBase64String(String) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a byte array, from a base 64 encoded property.
- getBytesFromBase64String(String, byte[]) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a byte array, from a base 64 encoded property.
- getBytesFromBase64String(String) - Method in class org.spincast.core.json.JsonObject
-
- getBytesFromBase64String(String, byte[]) - Method in class org.spincast.core.json.JsonObject
-
- getBytesFromBase64StringValue(String, boolean, byte[]) - Method in class org.spincast.core.json.JsonObject
-
- getCharactersCharsetName() - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
The charset to use to convert characters to bytes.
- getContentType() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The Content-Type of the request, if any.
- getContentType() - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
The current Content-Type sent or to be send.
- getContentTypeBestMatch() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
Finds the best Content-Type to use for a response
using the "Accept" header of the request.
- getContentTypeBestMatch(Object) - Method in interface org.spincast.core.server.IServer
-
Gets the best Content-Type to use for the current request.
- getContentTypesToSkipGziping() - Method in interface org.spincast.core.config.ISpincastConfig
-
Even if gziping of the response is enabled, those Content-Types
still won't be gzipped.
- getCookie(String) - Method in interface org.spincast.core.cookies.ICookiesRequestContextAddon
-
Gets a cookie.
- getCookies() - Method in interface org.spincast.core.cookies.ICookiesRequestContextAddon
-
Gets the current cookies in a Map, using their names as the keys.
- getCookies(Object) - Method in interface org.spincast.core.server.IServer
-
Gets the current cookies.
- getCookiesRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBase
-
- getCookiesRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
-
- getCorsConfig() - Method in interface org.spincast.core.routing.IStaticResource
-
The cors configurations for the static resource.
- getCorsDefaultAllowedMethods() - Method in class org.spincast.core.filters.SpincastFilters
-
The HTTP methods allowed by default.
- getCorsDefaultAllowedOrigins() - Method in class org.spincast.core.filters.SpincastFilters
-
The origins allowed, by default.
- getCorsDefaultExtraHeadersAllowedToBeRead() - Method in class org.spincast.core.filters.SpincastFilters
-
The extra headers allowed to be read, by default,
- getCorsDefaultExtraHeadersAllowedToBeSent() - Method in class org.spincast.core.filters.SpincastFilters
-
The extra headers allowed to be sent, by default,
- getCorsDefaultIsCookiesAllowed() - Method in class org.spincast.core.filters.SpincastFilters
-
Are cookies allowed by default?
- getCorsDefaultMaxAgeInSeconds() - Method in class org.spincast.core.filters.SpincastFilters
-
If <= 0, the "Access-Control-Max-Age" header
won't be sent.
- getCorsFilter() - Method in class org.spincast.core.filters.SpincastFilters
-
- getCorsFilterClass() - Method in class org.spincast.core.guice.SpincastCoreGuiceModule
-
- getCurrentRouteHandlerMatch() - Method in interface org.spincast.core.routing.IRoutingRequestContextAddon
-
The current route handler being run (may be a filter) and its
associated information.
- getCurrentVersionFromPom() - Method in class org.spincast.core.utils.SpincastUtils
-
- getDate(String) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a UTC timezoned date from a ISO 8601 date property.
- getDate(String, Date) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a UTC timezoned date from a ISO 8601 date property.
- getDate(String) - Method in class org.spincast.core.json.JsonObject
-
- getDate(String, Date) - Method in class org.spincast.core.json.JsonObject
-
- getDateValue(String, boolean, Date) - Method in class org.spincast.core.json.JsonObject
-
- getDefaultExceptionHandlingCharset() - Method in class org.spincast.core.controllers.SpincastFrontController
-
Charset used by the default exception handling.
- getDefaultHeadersAllowedToBeSent() - Method in class org.spincast.core.filters.CorsFilter
-
- getDefaultLocale() - Method in interface org.spincast.core.config.ISpincastConfig
-
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.
- getDomain() - Method in interface org.spincast.core.cookies.ICookie
-
Gets the cookie domain.
- getDouble(int) - Method in interface org.spincast.core.json.IJsonArray
-
Gets an element as Double.
- getDouble(String) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as Double.
- getDouble(String, Double) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as Double.
- getDouble(int) - Method in class org.spincast.core.json.JsonArray
-
- getDouble(String) - Method in class org.spincast.core.json.JsonObject
-
- getDouble(String, Double) - Method in class org.spincast.core.json.JsonObject
-
- getDoubleValue(String, boolean, Double) - Method in class org.spincast.core.json.JsonObject
-
- getElements() - Method in class org.spincast.core.json.JsonArray
-
- getEnvironmentName() - Method in interface org.spincast.core.config.ISpincastConfig
-
Returns the name of the environment.
- getExpires() - Method in interface org.spincast.core.cookies.ICookie
-
Gets the date the cookie will expire at.
- getExtraHeadersAllowedToBeRead() - Method in interface org.spincast.core.filters.ICorsFilterClient
-
The extra headers allowed to be read, for the cors request.
- getExtraHeadersAllowedToBeRead() - Method in interface org.spincast.core.routing.IStaticResourceCorsConfig
-
The extra headers a browser will be allowed to read.
- getExtraHeadersAllowedToBeSent() - Method in interface org.spincast.core.filters.ICorsFilterClient
-
The extra headers allowed to be sent, for the cors request.
- getExtraHeadersAllowedToBeSent() - Method in interface org.spincast.core.routing.IStaticResourceCorsConfig
-
The extra headers a browser will be allowed to send.
- getFloat(String) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as Float.
- getFloat(String, Float) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as Float.
- getFloat(String) - Method in class org.spincast.core.json.JsonObject
-
- getFloat(String, Float) - Method in class org.spincast.core.json.JsonObject
-
- getFloatValue(String, boolean, Float) - Method in class org.spincast.core.json.JsonObject
-
- getFormData(String) - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
A specific parameter submitted from a FORM via a POST method.
- getFormDataFirst(String) - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The first (and often only) value of a specific parameter submitted from a FORM via a POST method.
- getFormDatas() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The parameters submitted from a FORM via a POST method.
- getFormDatas(Object) - Method in interface org.spincast.core.server.IServer
-
The form datas, if any.
- getFrontControllerKey() - Method in class org.spincast.core.guice.SpincastCoreGuiceModule
-
- getFullUrl() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
Returns the full URL, including the queryString.
- getFullUrl() - Method in interface org.spincast.core.filters.ICorsFilterClient
-
Gets the full URL of the request.
- getFullUrl(Object) - Method in interface org.spincast.core.server.IServer
-
The full encoded URL of the original request, including the queryString.
- getGenerator() - Method in interface org.spincast.core.routing.IStaticResource
-
The generator to call to generate this resource if it
doesn't exist yet.
- getGlobalAfterFiltersRoutes() - Method in interface org.spincast.core.routing.IRouter
-
Gets the global "after" filters.
- getGlobalBeforeFiltersRoutes() - Method in interface org.spincast.core.routing.IRouter
-
Gets the global "before" filters.
- getGzipOption() - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
The currently set gzip options.
- getHandler() - Method in interface org.spincast.core.routing.IRouteHandlerMatch
-
The route handler.
- getHeader(String) - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
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.IResponseRequestContextAddon
-
The values of a specific response header.
- getHeaderFirst(String) - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The first value of the specified header from the current request.
- getHeaderFirst(String) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
The first value of a specific header.
- getHeaderFirst(String) - Method in interface org.spincast.core.filters.ICorsFilterClient
-
Gets the first value of an header.
- getHeaders() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
Returns all headers of the current request.
- getHeaders() - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
The currently set response headers.
- getHttpMethod() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
Gets the request's HTTP method.
- getHttpMethod() - Method in interface org.spincast.core.filters.ICorsFilterClient
-
Gets the request's HTTP method.
- getHttpMethod(Object) - Method in interface org.spincast.core.server.IServer
-
Gets the HTTP method associated with the request.
- getHttpMethods() - Method in interface org.spincast.core.routing.IRoute
-
The HTTP methods this route applies to.
- getHttpServerPort() - Method in interface org.spincast.core.config.ISpincastConfig
-
The HTTP (unsecure) port on which the server will listen on.
- getHttpsKeyStoreKeypass() - Method in interface org.spincast.core.config.ISpincastConfig
-
The "keypass" of the KeyStore, for SSL.
- getHttpsKeyStorePath() - Method in interface org.spincast.core.config.ISpincastConfig
-
The path to the KeyStore, for SSL.
- getHttpsKeyStoreStorePass() - Method in interface org.spincast.core.config.ISpincastConfig
-
The "storepass" of the KeyStore, for SSL.
- getHttpsKeyStoreType() - Method in interface org.spincast.core.config.ISpincastConfig
-
The type of the KeyStore, for SSL.
- getHttpsServerPort() - Method in interface org.spincast.core.config.ISpincastConfig
-
The HTTPS (secure) port on which the server will listen on.
- getId() - Method in interface org.spincast.core.routing.IRoute
-
The route id.
- getInjectorProvider() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
-
- getInstance() - Static method in class org.spincast.core.utils.SpincastStatics
-
- getInstanceFromGuiceCache() - Method in class org.spincast.core.exchange.RequestContextBase
-
- getInteger(int) - Method in interface org.spincast.core.json.IJsonArray
-
Gets an element as Integer.
- getInteger(String) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as Integer.
- getInteger(String, Integer) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as Integer.
- getInteger(int) - Method in class org.spincast.core.json.JsonArray
-
- getInteger(String) - Method in class org.spincast.core.json.JsonObject
-
- getInteger(String, Integer) - Method in class org.spincast.core.json.JsonObject
-
- getIntegerValue(String, boolean, Integer) - Method in class org.spincast.core.json.JsonObject
-
- 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
-
- getJsonArray(int) - Method in interface org.spincast.core.json.IJsonArray
-
Gets an element as IJsonArray.
- getJsonArray(String) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as IJsonArray.
- getJsonArray(String, IJsonArray) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as IJsonArray.
- getJsonArray(int) - Method in class org.spincast.core.json.JsonArray
-
- getJsonArray(String) - Method in class org.spincast.core.json.JsonObject
-
- getJsonArray(String, IJsonArray) - Method in class org.spincast.core.json.JsonObject
-
- getJsonArrayKey() - Method in class org.spincast.core.guice.SpincastCoreGuiceModule
-
- getJsonArrayValue(String, boolean, IJsonArray) - Method in class org.spincast.core.json.JsonObject
-
- getJsonBody(Class<T>) - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The request's body deserialized to the specified class.
- getJsonBodyAsJsonObject() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The request's body deserialized to a IJsonObject.
- getJsonBodyAsMap() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The request's body deserialized to a Map<String, Object>.
- getJsonManager() - Method in class org.spincast.core.exchange.RequestContextBase
-
- getJsonManager() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
-
- getJsonManager() - Method in class org.spincast.core.json.JsonArray
-
- getJsonManager() - Method in class org.spincast.core.json.JsonObject
-
- getJsonObject(int) - Method in interface org.spincast.core.json.IJsonArray
-
Gets an element as IJsonObject.
- getJsonObject(String) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as IJsonObject.
- getJsonObject(String, IJsonObject) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as IJsonObject.
- getJsonObject(int) - Method in class org.spincast.core.json.JsonArray
-
- getJsonObject(String) - Method in class org.spincast.core.json.JsonObject
-
- getJsonObject(String, IJsonObject) - Method in class org.spincast.core.json.JsonObject
-
- getJsonObjectKey() - Method in class org.spincast.core.guice.SpincastCoreGuiceModule
-
- getJSONObjectValue(String, boolean, IJsonObject) - Method in class org.spincast.core.json.JsonObject
-
- getKey() - Method in exception org.spincast.core.json.IJsonObject.KeyNotFoundException
-
The key that wasn not found.
- getLocaleBestMatch() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
Find the best Locale to use for a response
using the "Accept-Language" header of
the request.
- getLocaleBestMatchFromAcceptLanguageHeader(String) - Method in interface org.spincast.core.utils.ISpincastUtils
-
Gets the best Locale to use given a "Accept-Language" HTTP header.
- getLocaleBestMatchFromAcceptLanguageHeader(String) - Method in class org.spincast.core.utils.SpincastUtils
-
- getLocaleResolver() - Method in class org.spincast.core.exchange.RequestContextBase
-
- getLocaleResolver() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
-
- getLocaleToUse() - Method in interface org.spincast.core.exchange.IRequestContext
-
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.ILocaleResolver
-
The best Locale to use.
- getLong(int) - Method in interface org.spincast.core.json.IJsonArray
-
Gets an element as Long.
- getLong(String) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as Long.
- getLong(String, Long) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as Long.
- getLong(int) - Method in class org.spincast.core.json.JsonArray
-
- getLong(String) - Method in class org.spincast.core.json.JsonObject
-
- getLong(String, Long) - Method in class org.spincast.core.json.JsonObject
-
- getLongValue(String, boolean, Long) - Method in class org.spincast.core.json.JsonObject
-
- getMainArgs() - Method in class org.spincast.core.guice.SpincastCoreGuiceModule
-
- getMainHandler() - Method in interface org.spincast.core.routing.IRoute
-
The main handler.
- getMainRouteHandlerMatch() - Method in interface org.spincast.core.routing.IRoutingResult
-
The main route handler and its information, from the routing result.
- getMainRoutes() - Method in interface org.spincast.core.routing.IRouter
-
Gets the main routes.
- getMainVariation() - Method in enum org.spincast.core.utils.ContentTypeDefaults
-
- getMainVariationWithUtf8Charset() - Method in enum org.spincast.core.utils.ContentTypeDefaults
-
- getMaxAgeInSeconds() - Method in interface org.spincast.core.filters.ICorsFilterClient
-
The max age to cache a cors preflight response.
- getMaxAgeInSeconds() - Method in interface org.spincast.core.routing.IStaticResourceCorsConfig
-
The max Age a preflight request can be cached.
- getMimeTypeFromExtension(String) - Method in interface org.spincast.core.utils.ISpincastUtils
-
Gets the mime type from the extension.
- getMimeTypeFromExtension(String) - Method in class org.spincast.core.utils.SpincastUtils
-
- getMimeTypeFromPath(String) - Method in interface org.spincast.core.utils.ISpincastUtils
-
Gets the mime type from a path, using its extension.
- getMimeTypeFromPath(String) - Method in class org.spincast.core.utils.SpincastUtils
-
- getName() - Method in interface org.spincast.core.cookies.ICookie
-
Gets the cookie name.
- 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.
- getOriginalFullUrl() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
If the request has been forwarded,
getFullUrl() is
going to return the new, forwarded, url.
- getParameters() - Method in interface org.spincast.core.routing.IRouteHandlerMatch
-
The values parsed from the URL, given
the dynamic parameters of the route's path, if any.
- getPath() - Method in interface org.spincast.core.cookies.ICookie
-
Gets the cookie path.
- getPath() - Method in interface org.spincast.core.routing.IRoute
-
The route path.
- getPathParam(String) - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
A specific value parsed from a dynamic parameter of the route path.
- getPathParams() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The values parsed from the dynamic parameters of the route path.
- getPosition() - Method in interface org.spincast.core.routing.IRouteHandlerMatch
-
The position the handler should be run at.
- getPosition() - Method in interface org.spincast.core.routing.IRoutingRequestContextAddon
-
The current route handler position.
- getPositions() - Method in interface org.spincast.core.routing.IRoute
-
The positions at which this route should be run during a
routing process.
- getQueryString() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The queryString of the request, without the "?".
- getQueryStringParam(String) - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
A specific parameter taken from the queryString of the request.
- getQueryStringParamFirst(String) - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
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.IRequestRequestContextAddon
-
The parameters taken from the queryString of the request.
- getQueryStringParams(Object) - Method in interface org.spincast.core.server.IServer
-
Gets the queryString parameters.
- getRawInputStream(Object) - Method in interface org.spincast.core.server.IServer
-
The raw InputStream of the current request.
- getRequestContextFactory() - Method in class org.spincast.core.controllers.SpincastFrontController
-
- getRequestContextImplementationClass() - Method in class org.spincast.core.guice.SpincastCoreGuiceModule
-
The implementation to use for the request context objects.
- getRequestContextType() - Method in class org.spincast.core.controllers.SpincastFrontController
-
- getRequestContextType() - Method in class org.spincast.core.guice.SpincastCoreGuiceModule
-
- getRequestContextType() - Method in class org.spincast.core.guice.SpincastGuiceModuleBase
-
The type of the request context objects.
- getRequestContextType() - Method in class org.spincast.core.guice.SpincastPluginGuiceModuleBase
-
- getRequestHeaders(Object) - Method in interface org.spincast.core.server.IServer
-
The headers from the request.
- getRequestPath() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
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.IServer
-
Gets the request scheme, "http" for example.
- getResourcePath() - Method in interface org.spincast.core.routing.IStaticResource
-
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.IServer
-
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.IRouter
-
Gets a route using its routeId.
- getRouteForwardingMaxNumber() - Method in interface org.spincast.core.config.ISpincastConfig
-
The maximum number of time a request can be forwarded to another
route.
- getRouteHandlerMatches() - Method in interface org.spincast.core.routing.IRoutingResult
-
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.IRouter
-
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.IRoutingRequestContextAddon
-
The routing result for the current request,
as returned by the router.
- getRoutingTypes() - Method in interface org.spincast.core.routing.IRoute
-
The routing types the route should be considered for.
- getScopedObjectMap(Key<T>) - Method in class org.spincast.core.guice.SpincastRequestScope
-
- getSeedErrorProvider(Key) - Static method in class org.spincast.core.guice.SpincastRequestScope
-
Returns a provider that always throws exception complaining that the
object in question must be seeded before it can be injected.
- getServer() - Method in class org.spincast.core.controllers.SpincastFrontController
-
- getServerHost() - Method in interface org.spincast.core.config.ISpincastConfig
-
The host/IP on which the server will listen to.
- getServerMaxRequestBodyBytes() - Method in interface org.spincast.core.config.ISpincastConfig
-
Maximum number of bytes a request's body can have.
- getSourceRoute() - Method in interface org.spincast.core.routing.IRouteHandlerMatch
-
The route associated with this match.
- getSpincastConfig() - Method in class org.spincast.core.controllers.SpincastFrontController
-
- getSpincastConfig() - Method in class org.spincast.core.utils.SpincastUtils
-
- getSpincastCurrentVersion() - Method in interface org.spincast.core.utils.ISpincastUtils
-
Gets the current Spincast version
- getSpincastCurrentVersion() - Method in class org.spincast.core.utils.SpincastUtils
-
- getSpincastDictionary() - Method in class org.spincast.core.controllers.SpincastFrontController
-
- getSpincastFiltersKey() - Method in class org.spincast.core.guice.SpincastCoreGuiceModule
-
- getSpincastRequestScope() - Method in class org.spincast.core.controllers.SpincastFrontController
-
- getSpincastUtilsKey() - Method in class org.spincast.core.guice.SpincastCoreGuiceModule
-
- getSpincastWritableDir() - Method in interface org.spincast.core.config.ISpincastConfig
-
A directory where generated files and temporary files
can be written by Spincast.
- getStackTrace(Throwable) - Static method in class org.spincast.core.utils.SpincastStatics
-
Gets the stack trace of an Exception.
- getStackTraceInstance(Throwable) - Method in class org.spincast.core.utils.SpincastStatics
-
- getStaticResourceServed(String) - Method in interface org.spincast.core.server.IServer
-
Gets a static resource served directly by the server, using its path.
- getStaticResourcesServed() - Method in interface org.spincast.core.server.IServer
-
Gets all static resource served directly by the server.
- getStaticResourceType() - Method in interface org.spincast.core.routing.IStaticResource
-
The type of static resource.
- getStatusCode() - Method in exception org.spincast.core.exceptions.CustomStatusCodeException
-
- getStatusCode() - Method in interface org.spincast.core.exceptions.ICustomStatusCodeException
-
The status code to use for the response.
- getStatusCode() - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
The current status code sent or to be send.
- getString(int) - Method in interface org.spincast.core.json.IJsonArray
-
Gets an element as String.
- getString(String) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as String.
- getString(String, String) - Method in interface org.spincast.core.json.IJsonObject
-
Gets a property as String.
- getString(int) - Method in class org.spincast.core.json.JsonArray
-
- getString(String) - Method in class org.spincast.core.json.JsonObject
-
- getString(String, String) - Method in class org.spincast.core.json.JsonObject
-
- getStringValue(String, boolean, String) - Method in class org.spincast.core.json.JsonObject
-
- getTemplatingGlobalVariable(String) - Method in interface org.spincast.core.templating.ITemplatingRequestContextAddon
-
Gets a global templating variable.
- getTemplatingGlobalVariables() - Method in interface org.spincast.core.templating.ITemplatingRequestContextAddon
-
The global templating variables.
- getTemplatingRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBase
-
- getTemplatingRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
-
- getUnderlyingList() - Method in interface org.spincast.core.json.IJsonArray
-
The underlying list.
- getUnderlyingList() - Method in class org.spincast.core.json.JsonArray
-
- getUnderlyingMap() - Method in interface org.spincast.core.json.IJsonObject
-
The underlying map.
- getUnderlyingMap() - Method in class org.spincast.core.json.JsonObject
-
- getUnsentBytes() - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Gets the current unsent bytes (AKA the buffer).
- getUnsentCharacters() - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Gets the current unsent characters (AKA the buffer), using the
UTF-8 encoding.
- getUnsentCharacters(String) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Gets the current unsent characters (AKA the buffer), using the
specified encoding.
- getUploadedFileFirst(String) - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The first (and often only) uploaded file of the specified name.
- getUploadedFiles() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The uploaded files, with their names as the keys.
- getUploadedFiles(String) - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The uploaded files of the specified name.
- getUploadedFiles(Object) - Method in interface org.spincast.core.server.IServer
-
The uploaded files, if any.
- getUrlPath() - Method in interface org.spincast.core.routing.IStaticResource
-
The URL to reach this static resource.
- getValue() - Method in interface org.spincast.core.cookies.ICookie
-
Gets the cookie value.
- getValue(String, boolean, Object) - Method in class org.spincast.core.json.JsonObject
-
- getValueDyn(String, boolean, T, Class<T>, Function<Object, T>) - Method in class org.spincast.core.json.JsonObject
-
- getVariablesRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBase
-
- getVariablesRequestContextAddonProvider() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
-
- getVariations() - Method in enum org.spincast.core.utils.ContentTypeDefaults
-
- getVersion() - Method in interface org.spincast.core.cookies.ICookie
-
Gets the cookie version.
- getXmlBody(Class<T>) - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The request's body deserialized to the specified class.
- getXmlBodyAsJsonObject() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The request's body deserialized to a IJsonObject.
- getXmlBodyAsMap() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
The request's body deserialized to a Map<String, Object>.
- getXmlManager() - Method in class org.spincast.core.exchange.RequestContextBase
-
- getXmlManager() - Method in class org.spincast.core.exchange.RequestContextBaseDeps
-
- guice() - Method in interface org.spincast.core.exchange.IRequestContext
-
Easy access to the Guice context.
- guice() - Method in class org.spincast.core.exchange.RequestContextBase
-
- GzipOption - Enum in org.spincast.core.utils
-
Control how gzip should be applied on a route.
- ICookie - Interface in org.spincast.core.cookies
-
An HTTP cookie.
- ICookieFactory - Interface in org.spincast.core.cookies
-
Factory to create cookies.
- ICookiesRequestContextAddon<R extends IRequestContext<?>> - Interface in org.spincast.core.cookies
-
Request context add-on to work with cookies.
- ICorsFilter - 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.
- ICorsFilterClient - Interface in org.spincast.core.filters
-
Interface for a client of the Cors filter.
- ICustomStatusCodeException - Interface in org.spincast.core.exceptions
-
An exception on which it is possible to specify the
response status code to send to the user.
- id(String) - Method in interface org.spincast.core.routing.IRouteBuilder
-
An id that can be used to identify the route.
- IDefaultRequestContext - Interface in org.spincast.core.exchange
-
The unparamaterized interface for the default
request context.
- IFrontController - Interface in org.spincast.core.controllers
-
The front controller is called by the HTTP server when a request for
something else than a static resource arrives.
- IHandler<R extends IRequestContext<?>> - Interface in org.spincast.core.routing
-
A route handler.
- IJsonArray - Interface in org.spincast.core.json
-
Represents a Json array "[]", and makes it easier
to get its elements in a typed way.
- IJsonManager - Interface in org.spincast.core.json
-
Provides methods to play with Json strings and objects.
- IJsonObject - Interface in org.spincast.core.json
-
Represents a Json object "{}", and makes it easier
to get its properties in a typed way.
- IJsonObject.KeyNotFoundException - Exception in org.spincast.core.json
-
Exception thrown when a key is not found on a IJsonObject object.
- IJsonObjectFactory - Interface in org.spincast.core.json
-
Factory to create IJsonObject and IJsonArray objects.
- ILocaleResolver - Interface in org.spincast.core.locale
-
Component which finds the best Locale to use, using a cookie, a
Accept-Language header or using a custom way.
- init(ISpincastConfig, IRouter<R>) - Method in class org.spincast.core.routing.DefaultRouteParamAliasesBinder
-
Init : binds the aliases.
- IPublicException - 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.
- IRequestContext<R extends IRequestContext<?>> - Interface in org.spincast.core.exchange
-
The base interface for a request context.
- IRequestContextFactory<R extends IRequestContext<?>> - Interface in org.spincast.core.exchange
-
Assisted factory to create request context instances.
- IRequestRequestContextAddon<R extends IRequestContext<?>> - Interface in org.spincast.core.exchange
-
Methods related to the current request.
- IResponseRequestContextAddon<R extends IRequestContext<?>> - Interface in org.spincast.core.exchange
-
Methods to manipulate the response.
- IResponseResetableException - 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.
- IRoute<R extends IRequestContext<?>> - Interface in org.spincast.core.routing
-
Represents a route and all its informations.
- IRouteBuilder<R extends IRequestContext<?>> - Interface in org.spincast.core.routing
-
Builder to create a route.
- IRouteBuilderFactory<R extends IRequestContext<?>> - Interface in org.spincast.core.routing
-
Factory to create a route builder.
- IRouteHandlerMatch<R extends IRequestContext<?>> - Interface in org.spincast.core.routing
-
Reprensents a match found by the router.
- IRouter<R extends IRequestContext<?>> - Interface in org.spincast.core.routing
-
The router.
- IRoutingRequestContextAddon<R extends IRequestContext<?>> - Interface in org.spincast.core.routing
-
Add-on to get information about
the current routing process.
- IRoutingResult<R extends IRequestContext<?>> - Interface in org.spincast.core.routing
-
The result of the router, when asked to find matches for
a request.
- 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.
- isAllowCookies() - Method in interface org.spincast.core.filters.ICorsFilterClient
-
Are cookies allowed in the cors request?
- isAllowCookies() - Method in interface org.spincast.core.routing.IStaticResourceCorsConfig
-
Are cookies allowed?
- isCanBeGenerated() - Method in interface org.spincast.core.routing.IStaticResource
-
Can this resource be generated?
- isClasspath() - Method in interface org.spincast.core.routing.IStaticResource
-
Is the resource on the classpath?
- isClosed() - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Is the response closed? If so, nothing more can be sent...
- isContentTypeToSkipGziping(String) - Method in interface org.spincast.core.utils.ISpincastUtils
-
Should the specified Content-Type be gzipped?
- isContentTypeToSkipGziping(String) - Method in class org.spincast.core.utils.SpincastUtils
-
- isCorsOriginValid(ICorsFilterClient, Set<String>) - Method in class org.spincast.core.filters.CorsFilter
-
- isCorsRequestedHeadersToBeSentValid(ICorsFilterClient, Set<String>) - Method in class org.spincast.core.filters.CorsFilter
-
- isCorsRequestMethodHeaderValid(ICorsFilterClient, Set<HttpMethod>) - Method in class org.spincast.core.filters.CorsFilter
-
- isDebugEnabled() - Method in interface org.spincast.core.config.ISpincastConfig
-
Let this to true on development environment,
where errors can be publicly displayed, where cache can
be disabled, etc.
- isDirResource() - Method in interface org.spincast.core.routing.IStaticResource
-
Is the resource a directory?
- isDiscard() - Method in interface org.spincast.core.cookies.ICookie
-
Is this cookie to be discarded?
- IServer - Interface in org.spincast.core.server
-
The interface a HTTP server implementation must implement.
- isExceptionRoute() - Method in interface org.spincast.core.routing.IRoutingRequestContextAddon
-
Are we currently on an "Exception" routing type?
- isExpired() - Method in interface org.spincast.core.cookies.ICookie
-
Is this cookie expired?
- isFileResource() - Method in interface org.spincast.core.routing.IStaticResource
-
Is the resource a file?
- isFileSytem() - Method in interface org.spincast.core.routing.IStaticResource
-
Is the resource on the file system?
- isForwarded() - Method in interface org.spincast.core.routing.IRoutingRequestContextAddon
-
Is the current route forwarded?
- isHeadersSent() - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
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.ICorsFilterClient
-
Are the headers sent?
- isHttpOnly() - Method in interface org.spincast.core.cookies.ICookie
-
Is the cookie availableto the server
and not to javascript?
- isJsonRequest() - Method in interface org.spincast.core.exchange.IRequestRequestContextAddon
-
Will return true if the request specifies
that Json should be returned.
- isKeyExists(String) - Method in interface org.spincast.core.json.IJsonObject
-
Does the object contain the specified key?
- isKeyExists(String) - Method in class org.spincast.core.json.JsonObject
-
- isNotFoundRoute() - Method in interface org.spincast.core.routing.IRoutingRequestContextAddon
-
Are we currently on a "Not Found" routing type?
- ISpincastConfig - Interface in org.spincast.core.config
-
The configurations required by Spincast.
- ISpincastDictionary - Interface in org.spincast.core.config
-
Labels required by Spincast.
- ISpincastFilters<R extends IRequestContext<?>> - Interface in org.spincast.core.filters
-
Some filters provided by Spincast.
- ISpincastUtils - Interface in org.spincast.core.utils
-
Spincast utilities.
- isPreflightRequest(ICorsFilterClient) - Method in class org.spincast.core.filters.CorsFilter
-
- isRedirectPermanently() - Method in exception org.spincast.core.exceptions.RedirectException
-
Is this a temporary or permanent redirection?
- isResetResponse() - Method in interface org.spincast.core.exceptions.IResponseResetableException
-
Should the the response be reset before starting the
"Exception" routing process?
- isResetResponse() - Method in exception org.spincast.core.exceptions.ResponseResetableException
-
- isResponseClosed(Object) - Method in interface org.spincast.core.server.IServer
-
Is the response closed?
- isResponseHeadersSent(Object) - Method in interface org.spincast.core.server.IServer
-
Are the response headers sent?
- isRoutesCaseSensitive() - Method in interface org.spincast.core.config.ISpincastConfig
-
Are the URLS case-sensitive or not, during the route matching
process?
The default value is false.
- isSecure() - Method in interface org.spincast.core.cookies.ICookie
-
Is the "secure" feature on?
- IStaticResource<R extends IRequestContext<?>> - Interface in org.spincast.core.routing
-
A static resource, from the classpath or the
file system.
- IStaticResourceBuilder<R extends IRequestContext<?>> - Interface in org.spincast.core.routing
-
Builder to create static resources.
- IStaticResourceBuilderFactory<R extends IRequestContext<?>> - Interface in org.spincast.core.routing
-
Factory to create static resources builders.
- IStaticResourceCorsConfig - Interface in org.spincast.core.routing
-
Cors configurations available for a static resource.
- ITemplatingEngine - Interface in org.spincast.core.templating
-
Component that "evaluates" some templates or inline content, using some parameters.
- ITemplatingRequestContextAddon<R extends IRequestContext<?>> - Interface in org.spincast.core.templating
-
Provides methods to deal with templating.
- iterator() - Method in class org.spincast.core.json.JsonArray
-
- iterator() - Method in class org.spincast.core.json.JsonObject
-
- IVariablesRequestContextAddon<R extends IRequestContext<?>> - Interface in org.spincast.core.exchange
-
Methods to read and write request scoped variables.
- IXmlManager - Interface in org.spincast.core.xml
-
Provides methods to work with XML strings and objects.
- save(IHandler<R>) - Method in interface org.spincast.core.routing.IRouteBuilder
-
Creates the route and saves it to the router.
- save() - Method in interface org.spincast.core.routing.IStaticResourceBuilder
-
Saves the static resource route to the router.
- save(IHandler<R>) - Method in interface org.spincast.core.routing.IStaticResourceBuilder
-
Saves the static resource route.
- saveGeneratedResource(R, String) - Method in interface org.spincast.core.filters.ISpincastFilters
-
Used by Spincast to save a "dynamic resource" once it is
generated.
- saveGeneratedResource(R, String) - Method in class org.spincast.core.filters.SpincastFilters
-
- scope(Key<T>, Provider<T>) - Method in class org.spincast.core.guice.SpincastRequestScope
-
- seed(Key<T>, T) - Method in class org.spincast.core.guice.SpincastRequestScope
-
- seed(Class<T>, T) - Method in class org.spincast.core.guice.SpincastRequestScope
-
- sendBytes(byte[]) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Sends some bytes, without flushing.
- sendBytes(byte[], String) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Sends some bytes using the specified Content-Type,
without flushing.
- sendBytes(byte[], String, boolean) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Sends some bytes using the specified Content-Type and flushes,
if specified.
- sendCharacters(String) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
- sendCharacters(String, String) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Sends a String, using the encoding returned by
getCharactersCharsetName and
using the specified
Content-Type, without flushing.
- sendCharacters(String, String, boolean) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
- 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.IResponseRequestContextAddon
-
Sends a String as text/html, UTF-8 encoded, without flushing.
- sendHtml(String, boolean) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Sends a String as text/html, UTF-8 encoded,
and flushes, if specified.
- sendHtmlParse(String, Map<String, Object>) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Parses the given String using the ITemplatingEngine and
the given parameters, then sends the result as text/html,
UTF-8 encoded, without flushing.
- sendHtmlParse(String, Map<String, Object>, boolean) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Parses the given String using the ITemplatingEngine and
the given parameters, then sends the result as text/html,
UTF-8 encoded, and flushes, if specified.
- sendHtmlTemplate(String, Map<String, Object>) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Finds the HTML template using the ITemplatingEngine, evaluates it using
the given parameters, then sends the
result as text/html, UTF-8 encoded, without flushing.
- sendHtmlTemplate(String, Map<String, Object>, boolean) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Finds the HTML template using the ITemplatingEngine, evaluates it using
the given parameters, then sends the
result as text/html, UTF-8 encoded, and flushes, if specified.
- sendHtmlTemplate(String, boolean, Map<String, Object>) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Finds the HTML template using the ITemplatingEngine, evaluates it using
the given parameters, then sends the
result as text/html, UTF-8 encoded, without flushing.
- sendHtmlTemplate(String, boolean, Map<String, Object>, boolean) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Finds the HTML template using the ITemplatingEngine, evaluates it using
the given parameters, then sends the
result as text/html, UTF-8 encoded, and flushes, if specified.
- sendJson(Object) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Serializes to Json and sends as application/json, without flushing.
- sendJson(Object, boolean) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Serializes to Json, sends as application/json ,
and flushes, if specified.
- sendParse(String, String, Map<String, Object>) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Parses the given String using the ITemplatingEngine and
the given parameters, then sends the result using the specified
Content-Type, without flushing.
- sendParse(String, String, Map<String, Object>, boolean) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Parses the given String using the ITemplatingEngine and
the given parameters, then sends the result using the specified
Content-Type, and flushes, if specified.
- sendPlainText(String) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Sends a String as text/plain, UTF-8 encoded, without flushing.
- sendPlainText(String, boolean) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Sends a String as text/plain, UTF-8 encoded,
and flushes, if specified.
- sendTemplate(String, String, Map<String, Object>) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Finds the specified template using the ITemplatingEngine, evaluates it using
the given parameters, then sends the
result using the given contentType, without flushing.
- sendTemplate(String, String, Map<String, Object>, boolean) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Finds the specified template using the ITemplatingEngine, evaluates it using
the given parameters, then sends the
result using the given contentType, and flushes, if specified.
- sendTemplate(String, boolean, String, Map<String, Object>) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Finds the specified template using the ITemplatingEngine, evaluates it using
the given parameters, then sends the
result using the given contentType, without flushing.
- sendTemplate(String, boolean, String, Map<String, Object>, boolean) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Finds the specified template using the ITemplatingEngine, evaluates it using
the given parameters, then sends the
result using the given contentType, and flushes, if specified.
- sendXml(Object) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Serializes to XML and sends as application/xml, without flushing.
- sendXml(Object, boolean) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Serializes to XML, sends as application/xml, and flushes, if specified.
- setCharactersCharsetName(String) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Sets the charset to use to convert characters to bytes.
- setContentType(String) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
The Content-Type header to use for the response.
- setDomain(String) - Method in interface org.spincast.core.cookies.ICookie
-
Sets the cookie domain.
- setExpires(Date) - Method in interface org.spincast.core.cookies.ICookie
-
Sets the date the cookie will expire.
- setExpiresUsingMaxAge(Integer) - Method in interface org.spincast.core.cookies.ICookie
-
Sets the number of seconds for a cookie to live.
- setGzipOption(GzipOption) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Enable or disable gzipping of the response.
- setHeader(String, String) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Set the value to a response header.
- setHeader(String, List<String>) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Set multiple values to a response header.
- setHttpOnly(boolean) - Method in interface org.spincast.core.cookies.ICookie
-
Sets if the cookie is available only for to the server
anbd not to javascript.
- setInstance(SpincastStatics) - Static method in class org.spincast.core.utils.SpincastStatics
-
- setPath(String) - Method in interface org.spincast.core.cookies.ICookie
-
Sets the cookie path.
- setResponseHeader(Object, String, List<String>) - Method in interface org.spincast.core.server.IServer
-
Sets a response header.
- setResponseHeaders(Object, Map<String, List<String>>) - Method in interface org.spincast.core.server.IServer
-
Sets the response headers.
- setResponseStatusCode(Object, int) - Method in interface org.spincast.core.server.IServer
-
Sets the response status code.
- setSecure(boolean) - Method in interface org.spincast.core.cookies.ICookie
-
Sets the "secure" feature on or off.
- setStatusCode(int) - Method in interface org.spincast.core.exchange.IResponseRequestContextAddon
-
Sets the response's status code to use.
- setStatusCode(int) - Method in interface org.spincast.core.filters.ICorsFilterClient
-
Sets the response's status code.
- setValue(String) - Method in interface org.spincast.core.cookies.ICookie
-
Sets the cookie value.
- size() - Method in interface org.spincast.core.json.IJsonArray
-
The array size.
- size() - Method in class org.spincast.core.json.JsonArray
-
- SkipRemainingHandlersException - Exception in org.spincast.core.exceptions
-
Exception that will simply stop the current routing process
without starting any new one.
- SkipRemainingHandlersException() - Constructor for exception org.spincast.core.exceptions.SkipRemainingHandlersException
-
- SOME(Set<HttpMethod>) - Method in interface org.spincast.core.routing.IRouteBuilder
-
Adds the specified HTTP methods as being supported.
- SOME(HttpMethod...) - Method in interface org.spincast.core.routing.IRouteBuilder
-
Adds the specified HTTP methods as being supported.
- SOME(String, Set<HttpMethod>) - Method in interface org.spincast.core.routing.IRouter
-
Starts the creation of a route matching the specified
HTTP methods.
- SOME(String, HttpMethod...) - Method in interface org.spincast.core.routing.IRouter
-
Starts the creation of a route matching the specified
HTTP methods.
- SpincastConstants - Class in org.spincast.core.config
-
Spincast constants.
- SpincastConstants() - Constructor for class org.spincast.core.config.SpincastConstants
-
- SpincastConstants.RequestScopedVariables - Class in org.spincast.core.config
-
Request scoped variables that Spincast may set.
- SpincastCoreGuiceModule - Class in org.spincast.core.guice
-
The Spincast core Guice module.
- SpincastCoreGuiceModule() - Constructor for class org.spincast.core.guice.SpincastCoreGuiceModule
-
Constructor
- SpincastCoreGuiceModule(String[]) - Constructor for class org.spincast.core.guice.SpincastCoreGuiceModule
-
Constructor
- SpincastFilters<R extends IRequestContext<?>> - Class in org.spincast.core.filters
-
Spincast filters implementations.
- SpincastFilters(ICorsFilter) - Constructor for class org.spincast.core.filters.SpincastFilters
-
Constructor
- SpincastFrontController<R extends IRequestContext<R>> - Class in org.spincast.core.controllers
-
- SpincastFrontController(IRouter<R>, ISpincastConfig, ISpincastDictionary, IServer, IRequestContextFactory<R>, SpincastRequestScope, Type) - 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
-
- SpincastGuiceScopes - Interface in org.spincast.core.guice
-
Custom Guice scoped defined by Spincast.
- SpincastPluginGuiceModuleBase - Class in org.spincast.core.guice
-
Base class for Spincast plugins' Guice modules.
- SpincastPluginGuiceModuleBase(Type) - Constructor for class org.spincast.core.guice.SpincastPluginGuiceModuleBase
-
Constructor.
- SpincastRequestScope - Class in org.spincast.core.guice
-
Guice scope for a request.
- SpincastRequestScope() - Constructor for class org.spincast.core.guice.SpincastRequestScope
-
- SpincastRequestScoped - Annotation Type in org.spincast.core.guice
-
Annotation for object that need to be request scoped.
- SpincastStatics - Class in org.spincast.core.utils
-
Some very few static methods.
- SpincastStatics() - Constructor for class org.spincast.core.utils.SpincastStatics
-
- SpincastUtils - Class in org.spincast.core.utils
-
Implementations of the Spincast utilities.
- SpincastUtils(ISpincastConfig) - Constructor for class org.spincast.core.utils.SpincastUtils
-
- start() - Method in interface org.spincast.core.server.IServer
-
Starts the server.
- StaticResourceType - Enum in org.spincast.core.routing
-
The possible types of a static resource.
- stop() - Method in interface org.spincast.core.server.IServer
-
Stops the server