Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addBuilderOptions(Undertow.Builder) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- addCacheHeaders(HttpServerExchange) - Method in class org.spincast.plugins.undertow.SpincastResourceHandlerDefault
-
Adds cache headers if required.
- addContentTypeHeader(HttpServerExchange) - Method in class org.spincast.plugins.undertow.SpincastResourceHandlerDefault
- addCookies(Object, Map<String, Cookie>) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- addHttpAuthentication(String, String, String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- addHttpListener(Undertow.Builder, String, int) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- addHttpsListener(Undertow.Builder, String, int) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- addMaxEntitySize(Undertow.Builder) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- addStaticResourceToServe(StaticResource<?>) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- addUser(String, String) - Method in interface org.spincast.plugins.undertow.SpincastHttpAuthIdentityManager
-
Adds a user to this identity manager.
- addUser(String, String) - Method in class org.spincast.plugins.undertow.SpincastHttpAuthIdentityManagerDefault
- apply(Module) - Method in class org.spincast.plugins.undertow.SpincastUndertowPlugin
B
- bindCacheBusterRemovalHandlerFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- bindCorsHandlerFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- bindFileClassPathResourceManagerFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- bindGzipCheckerHandlerFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- bindHttpAuthIdentityManagerFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- bindSkipResourceOnQueryStringHandlerFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- bindSpincastResourceHandlerFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- bindSpincastUndertowUtils() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- bindUndertowWebsocketEndpointWriterFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- bindWebsocketEndpointFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
C
- CacheBusterRemovalHandler - Interface in org.spincast.plugins.undertow
-
Handler to remove cache busters from the request path.
- CacheBusterRemovalHandlerDefault - Class in org.spincast.plugins.undertow
-
Handler to remove cache buster codes from the request URL.
- CacheBusterRemovalHandlerDefault(HttpHandler, SpincastUtils, SpincastUndertowUtils) - Constructor for class org.spincast.plugins.undertow.CacheBusterRemovalHandlerDefault
- CacheBusterRemovalHandlerFactory - Interface in org.spincast.plugins.undertow
-
Factory to create CacheBusterRemovalHandler
- castExchange(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- close() - Method in class org.spincast.plugins.undertow.SpincastClassPathDirResourceManagerDefault
- close() - Method in class org.spincast.plugins.undertow.SpincastClassPathFileResourceManagerDefault
- ClosedEventSentCallback - Interface in org.spincast.plugins.undertow
- closeEndpoint() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- closeEndpoint(boolean) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- closeEndpoint(int, String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- closeEndpoint(int, String, boolean) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- closePeer(String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- closePeer(String, int, String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- configure() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- connectionClosed(Set<String>) - Method in interface org.spincast.plugins.undertow.WebsocketPeersWriteCallback
-
The ids of the peers for which a connection has been found as closed.
- convertHeadersToUndertowHeaderMap(Map<String, List<String>>) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- convertHttpMethodToUndertowHttpString(HttpMethod) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- CorsHandler - Interface in org.spincast.plugins.undertow
-
Handler that will add cors headers, when required.
- CorsHandlerDefault - Class in org.spincast.plugins.undertow
- CorsHandlerDefault(HttpHandler, StaticResourceCorsConfig, CorsFilter) - Constructor for class org.spincast.plugins.undertow.CorsHandlerDefault
- CorsHandlerFactory - Interface in org.spincast.plugins.undertow
- create() - Method in interface org.spincast.plugins.undertow.SpincastHttpAuthIdentityManagerFactory
- create(ResourceManager, StaticResource<?>) - Method in interface org.spincast.plugins.undertow.SpincastResourceHandlerFactory
- create(ResourceManager, StaticResource<?>, HttpHandler) - Method in interface org.spincast.plugins.undertow.SpincastResourceHandlerFactory
- create(HttpHandler) - Method in interface org.spincast.plugins.undertow.CacheBusterRemovalHandlerFactory
- create(HttpHandler, HttpHandler) - Method in interface org.spincast.plugins.undertow.SkipResourceOnQueryStringHandlerFactory
- create(HttpHandler, String) - Method in interface org.spincast.plugins.undertow.GzipCheckerHandlerFactory
- create(HttpHandler, StaticResourceCorsConfig) - Method in interface org.spincast.plugins.undertow.CorsHandlerFactory
- create(String, WebsocketEndpointHandler) - Method in interface org.spincast.plugins.undertow.WebsocketEndpointFactory
- create(Map<String, WebSocketChannel>) - Method in interface org.spincast.plugins.undertow.UndertowWebsocketEndpointWriterFactory
- createAccount(String) - Method in class org.spincast.plugins.undertow.SpincastHttpAuthIdentityManagerDefault
- createCorsFilterClient(HttpServerExchange, StaticResourceCorsConfig) - Method in class org.spincast.plugins.undertow.CorsHandlerDefault
-
Create the client for the cors filter.
- createDirManager(String, String) - Method in interface org.spincast.plugins.undertow.SpincastClassPathResourceManagerFactory
- createFileManage(String) - Method in interface org.spincast.plugins.undertow.SpincastClassPathResourceManagerFactory
- createHttpAuthenticationRealm(String, String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- createLearningPushHandler() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- createUndertowTempDir() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- createUndertowWebsocketEndpointHandler(String, WebsocketEndpointHandler) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
D
- done() - Method in interface org.spincast.plugins.undertow.ClosedEventSentCallback
E
- enableHttp2(Undertow.Builder) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- end(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- EXCHANGE_VARIABLE_EXCHANGE_COMPLETED - Static variable in class org.spincast.plugins.undertow.SpincastUndertowServer
- EXCHANGE_VARIABLE_ORIGINAL_REQUEST_URL - Static variable in class org.spincast.plugins.undertow.CacheBusterRemovalHandlerDefault
- EXCHANGE_VARIABLE_PEER_ID - Static variable in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
F
- flushBytes(Object, byte[], boolean) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- forceRequestSizeValidation(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- FullPathMatchingPathHandler - Class in org.spincast.plugins.undertow
-
Custom PathHandler that always match on the full path, not the remaining path, if previous PathHandler matched.
- FullPathMatchingPathHandler(HttpHandler) - Constructor for class org.spincast.plugins.undertow.FullPathMatchingPathHandler
G
- getAccounts() - Method in class org.spincast.plugins.undertow.SpincastHttpAuthIdentityManagerDefault
- getBaseUrl() - Method in class org.spincast.plugins.undertow.SpincastFileSystemDirResourceManager
- getCacheBusterRemovalHandler() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
-
Handler to remove cache busters from the request's URL.
- getCacheBusterRemovalHandlerClass() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- getCacheBusterRemovalHandlerFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getChannelsMap() - Method in class org.spincast.plugins.undertow.SpincastUndertowWebsocketEndpointWriter
- getCloseExchangeCallback() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getConfig() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getContentTypeBestMatch(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getCookieEncoding() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getCookieFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getCookies(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getCorsConfig() - Method in class org.spincast.plugins.undertow.CorsHandlerDefault
- getCorsFilter() - Method in class org.spincast.plugins.undertow.CorsHandlerDefault
- getCorsHandlerClass() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- getCorsHandlerFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getCredentials() - Method in class org.spincast.plugins.undertow.SpincastHttpAuthIdentityManagerDefault
- getDir() - Method in class org.spincast.plugins.undertow.SpincastFileSystemDirResourceManager
- getDirClassPathResourceManagerClass() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- getDirPath() - Method in class org.spincast.plugins.undertow.SpincastClassPathDirResourceManagerDefault
- getDoNothingCallback() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getEndpointId() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- getEventsHandler() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- getFile() - Method in class org.spincast.plugins.undertow.SpincastFileSystemFileResourceManager
- getFileClassPathResourceManagerClass() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- getFileClassPathResourceManagerFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getFilePath() - Method in class org.spincast.plugins.undertow.SpincastClassPathFileResourceManagerDefault
- getFinalHandler() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
-
The very first handler considered by Undertow.
- getFormData(HttpServerExchange) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
-
May return NULL.
- getFormData(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getFormParserFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getFrontController() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getFullUrlOriginal(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getFullUrlOriginal(Object, boolean) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getFullUrlProxied(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getFullUrlProxied(Object, boolean) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getGzipCheckerHandlerClass() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- getGzipCheckerHandlerFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getGzipNoNextHandler() - Method in class org.spincast.plugins.undertow.GzipCheckerHandlerDefault
- getHtmlFormEncoding() - Method in interface org.spincast.plugins.undertow.config.SpincastUndertowConfig
-
The encoding the use to parse the data from HTML forms.
- getHtmlFormEncoding() - Method in class org.spincast.plugins.undertow.config.SpincastUndertowConfigDefault
- getHttpAuthActiveRealms() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getHttpAuthenticationHandler() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
-
Handler to check for HTTP authentication requirement.
- getHttpAuthenticationRealms() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getHttpAuthHandlerNextHandler() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getHttpAuthIdentityManagersByRealmName() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getHttpMethod(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getId() - Method in class org.spincast.plugins.undertow.SpincastUndertowPlugin
- getIp(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getLearningPushHandler() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getMilliSecondsIncrementWhenWaitingForWebSocketEndpointsToBeProperlyClosedBeforeKillingTheServer() - Method in interface org.spincast.plugins.undertow.config.SpincastUndertowConfig
-
The number of milliseconds to sleep between two validations that all endpoints are closed properly before calling the killing server.stop() method.
- getMilliSecondsIncrementWhenWaitingForWebSocketEndpointsToBeProperlyClosedBeforeKillingTheServer() - Method in class org.spincast.plugins.undertow.config.SpincastUndertowConfigDefault
- getMilliSecondsIncrementWhenWaitingForWebSocketEndpointsToBeProperlyClosedBeforeKillingTheServer() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getNewPeerIdLock(String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
Gets the creation lock for a peer id.
- getNext() - Method in class org.spincast.plugins.undertow.CacheBusterRemovalHandlerDefault
- getNext() - Method in class org.spincast.plugins.undertow.SpincastResourceHandlerDefault
- getNextHandler() - Method in class org.spincast.plugins.undertow.CorsHandlerDefault
- getNextHandler() - Method in class org.spincast.plugins.undertow.GzipCheckerHandlerDefault
- getOrCreateHttpAuthIdentityManagersByRealmName(String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getOrigninalRequestUrlWithPotentialCacheBusters(HttpServerExchange) - Method in interface org.spincast.plugins.undertow.CacheBusterRemovalHandler
-
Get the original URL of the request potentially containing cache busters.
- getOrigninalRequestUrlWithPotentialCacheBusters(HttpServerExchange) - Method in class org.spincast.plugins.undertow.CacheBusterRemovalHandlerDefault
- getPeersIds() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- getPingBytes() - Method in class org.spincast.plugins.undertow.SpincastUndertowWebsocketEndpointWriter
- getPluginModule() - Method in class org.spincast.plugins.undertow.SpincastUndertowPlugin
- getQueryStringParams(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getRawInputStream(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getRealmNameToDisplay(String, String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
-
The realm name to display.
- getRequestCustomVariables(HttpServerExchange) - Method in interface org.spincast.plugins.undertow.SpincastUndertowUtils
-
Gets the custom variables Map associated with the specified exchange object.
- getRequestCustomVariables(HttpServerExchange) - Method in class org.spincast.plugins.undertow.SpincastUndertowUtilsDefault
- getRequestCustomVariables(WebSocketHttpExchange) - Method in interface org.spincast.plugins.undertow.SpincastUndertowUtils
-
Gets the custom variables Map associated with the specified exchange object (when wrpped inside a WebSocketHttpExchange).
- getRequestCustomVariables(WebSocketHttpExchange) - Method in class org.spincast.plugins.undertow.SpincastUndertowUtilsDefault
- getRequestHeaders(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
-
The names of the headers are case insensitive.
- getRequestScheme(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getResource(String) - Method in class org.spincast.plugins.undertow.SpincastClassPathDirResourceManagerDefault
- getResource(String) - Method in class org.spincast.plugins.undertow.SpincastClassPathFileResourceManagerDefault
- getResource(String) - Method in class org.spincast.plugins.undertow.SpincastFileSystemDirResourceManager
- getResource(String) - Method in class org.spincast.plugins.undertow.SpincastFileSystemFileResourceManager
- getResponseContentType(HttpServerExchange) - Method in class org.spincast.plugins.undertow.GzipCheckerHandlerDefault
- getResponseHeaders(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getRootUrl() - Method in class org.spincast.plugins.undertow.SpincastClassPathDirResourceManagerDefault
- getRunHandler() - Method in class org.spincast.plugins.undertow.SkipResourceOnQueryStringHandlerDefault
- getSecondsToWaitForWebSocketEndpointsToBeProperlyClosedBeforeKillingTheServer() - Method in interface org.spincast.plugins.undertow.config.SpincastUndertowConfig
-
The number of seconds max to wait for all endpoints to be closed properly before calling the killing server.stop() method.
- getSecondsToWaitForWebSocketEndpointsToBeProperlyClosedBeforeKillingTheServer() - Method in class org.spincast.plugins.undertow.config.SpincastUndertowConfigDefault
- getSecondsToWaitForWebSocketEndpointsToBeProperlyClosedBeforeKillingTheServer() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getServerBuilder() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getServerStartTryNbr() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getSkipHandler() - Method in class org.spincast.plugins.undertow.SkipResourceOnQueryStringHandlerDefault
- getSkipResourceOnQueryStringHandlerClass() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- getSkipResourceOnQueryStringHandlerFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getSpecificTargetFilePath() - Method in class org.spincast.plugins.undertow.GzipCheckerHandlerDefault
- getSpincastConfig() - Method in class org.spincast.plugins.undertow.SpincastResourceHandlerDefault
- getSpincastFrontControllerHandler() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getSpincastHttpAuthIdentityManagerClass() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- getSpincastHttpAuthIdentityManagerFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getSpincastResourceHandlerClass() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- getSpincastResourceHandlerFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getSpincastRoutingUtils() - Method in class org.spincast.plugins.undertow.SpincastResourceHandlerDefault
- getSpincastUndertowConfig() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getSpincastUndertowConfig() - Method in class org.spincast.plugins.undertow.SpincastUndertowWebsocketEndpointWriter
- getSpincastUndertowConfig() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- getSpincastUndertowServerClass() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- getSpincastUndertowUtils() - Method in class org.spincast.plugins.undertow.CacheBusterRemovalHandlerDefault
- getSpincastUndertowUtils() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getSpincastUndertowUtils() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- getSpincastUndertowUtilsClass() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- getSpincastUtils() - Method in class org.spincast.plugins.undertow.CacheBusterRemovalHandlerDefault
- getSpincastUtils() - Method in class org.spincast.plugins.undertow.GzipCheckerHandlerDefault
- getSpincastUtils() - Method in class org.spincast.plugins.undertow.SpincastClassPathDirResourceManagerDefault
- getSpincastUtils() - Method in class org.spincast.plugins.undertow.SpincastResourceHandlerDefault
- getSpincastUtils() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getSpincastUtils() - Method in class org.spincast.plugins.undertow.SpincastUndertowUtilsDefault
- getSpincastWebsocketEndpointFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getSslContextFactory() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getStartServerSleepMilliseconds() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getStaticResource() - Method in class org.spincast.plugins.undertow.SpincastResourceHandlerDefault
- getStaticResourceCorsAllowedMethods() - Method in class org.spincast.plugins.undertow.CorsHandlerDefault
-
Those are the valid HTTP methods for requests to static resources served directly by the HTTP server.
- getStaticResourceServed(String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getStaticResourcesPathHandler() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getStaticResourcesServed() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getStaticResourcesServedByUrlPath() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getThreadExecutorForAppEvents() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
The ExecutorService to use to send events to the application.
- getThreadExecutorForAppEventsThreadNumber() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
The maximum number of concurrent threads used when sending events to the application.
- getThreadExecutorForAppEventsThreadThreadFactory() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
The ThreadFactory to use for the Executor that sends events to the application.
- getThreadExecutorForAppEventsTimeoutAmount() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
The timeout amount before cancelling a task when sending events to the application.
- getThreadExecutorForAppEventsTimeoutTimeUnit() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
The timeout unit before cancelling a task when sending events to the application.
- getUndertowWebsocketEndpointWriterClass() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- getUndertowWebsocketEndpointWriterFactory() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- getUndertowWebsocketWriter() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- getUploadedFiles(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getWebsocketAutomaticPingIntervalSeconds() - Method in interface org.spincast.plugins.undertow.config.SpincastUndertowConfig
-
When the automatic WebSocket pings are enabled, this is the interval (in seconds) between two pings.
- getWebsocketAutomaticPingIntervalSeconds() - Method in class org.spincast.plugins.undertow.config.SpincastUndertowConfigDefault
- getWebSocketChannelByPeerId() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- getWebsocketDefaultClosingCode() - Method in interface org.spincast.plugins.undertow.config.SpincastUndertowConfig
-
The default code to use when sending a "closing Websocket connection" event to a peer.
- getWebsocketDefaultClosingCode() - Method in class org.spincast.plugins.undertow.config.SpincastUndertowConfigDefault
- getWebsocketDefaultClosingReason() - Method in interface org.spincast.plugins.undertow.config.SpincastUndertowConfig
-
The default reason to use when sending a "closing Websocket connection" event to a peer.
- getWebsocketDefaultClosingReason() - Method in class org.spincast.plugins.undertow.config.SpincastUndertowConfigDefault
- getWebsocketEndpointClass() - Method in class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- getWebsocketEndpointCreationLock(String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
-
Gets the creation/close lock for a specific Websocket endpoint.
- getWebsocketEndpointManager(String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getWebsocketEndpointManagers() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getWebsocketEndpointsMap() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- getWebsocketPingMessageString() - Method in interface org.spincast.plugins.undertow.config.SpincastUndertowConfig
-
The ping text to use.
- getWebsocketPingMessageString() - Method in class org.spincast.plugins.undertow.config.SpincastUndertowConfigDefault
- getWebSocketProtocolHandshakeHandler() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
The handler to use for the Websocket connection.
- getWebsocketThreadExecutorForAppEventsThreadFactory() - Method in interface org.spincast.plugins.undertow.config.SpincastUndertowConfig
-
The
ThreadFactoryto use to create threads when sending WebSocket events to the application. - getWebsocketThreadExecutorForAppEventsThreadFactory() - Method in class org.spincast.plugins.undertow.config.SpincastUndertowConfigDefault
- getWebsocketThreadExecutorForAppEventsThreadNumber() - Method in interface org.spincast.plugins.undertow.config.SpincastUndertowConfig
-
The maximum number of concurrent threads used when sending WebSocket events to the application.
- getWebsocketThreadExecutorForAppEventsThreadNumber() - Method in class org.spincast.plugins.undertow.config.SpincastUndertowConfigDefault
- getWebsocketThreadExecutorForAppEventsTimeoutAmount() - Method in interface org.spincast.plugins.undertow.config.SpincastUndertowConfig
-
The timeout
amountbefore cancelling a task when sending WebSocket events to the application. - getWebsocketThreadExecutorForAppEventsTimeoutAmount() - Method in class org.spincast.plugins.undertow.config.SpincastUndertowConfigDefault
- getWebsocketThreadExecutorForAppEventsTimeoutTimeUnit() - Method in interface org.spincast.plugins.undertow.config.SpincastUndertowConfig
-
The timeout
TimeUnitbefore cancelling a task when sending WebSocket events to the application. - getWebsocketThreadExecutorForAppEventsTimeoutTimeUnit() - Method in class org.spincast.plugins.undertow.config.SpincastUndertowConfigDefault
- GzipCheckerHandler - Interface in org.spincast.plugins.undertow
-
Handler that will check if gzip compression is required for the resource and, if so, will call a gzip handler before calling the next handler.
- GzipCheckerHandlerDefault - Class in org.spincast.plugins.undertow
- GzipCheckerHandlerDefault(HttpHandler, String, SpincastUtils) - Constructor for class org.spincast.plugins.undertow.GzipCheckerHandlerDefault
- GzipCheckerHandlerFactory - Interface in org.spincast.plugins.undertow
-
Factory to create GzipCheckerHandlers
H
- handleConnectionRequest(HttpServerExchange, String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- handleConnectionRequest(HttpServerExchange, String) - Method in interface org.spincast.plugins.undertow.WebsocketEndpoint
- handleRequest(HttpServerExchange) - Method in class org.spincast.plugins.undertow.CacheBusterRemovalHandlerDefault
- handleRequest(HttpServerExchange) - Method in class org.spincast.plugins.undertow.CorsHandlerDefault
- handleRequest(HttpServerExchange) - Method in class org.spincast.plugins.undertow.FullPathMatchingPathHandler
- handleRequest(HttpServerExchange) - Method in class org.spincast.plugins.undertow.GzipCheckerHandlerDefault
- handleRequest(HttpServerExchange) - Method in class org.spincast.plugins.undertow.SkipResourceOnQueryStringHandlerDefault
- handleRequest(HttpServerExchange) - Method in class org.spincast.plugins.undertow.SpincastResourceHandlerDefault
I
- init() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- isClosed() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- isClosing() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- isContentTypeToSkipGziping(HttpServerExchange) - Method in class org.spincast.plugins.undertow.GzipCheckerHandlerDefault
- isEnableLearningPushHandler() - Method in interface org.spincast.plugins.undertow.config.SpincastUndertowConfig
-
Should
LearningPushHandlerbe enabled? - isEnableLearningPushHandler() - Method in class org.spincast.plugins.undertow.config.SpincastUndertowConfigDefault
- isPushSupported(ServerConnection) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- isResourceChangeListenerSupported() - Method in class org.spincast.plugins.undertow.SpincastClassPathDirResourceManagerDefault
- isResourceChangeListenerSupported() - Method in class org.spincast.plugins.undertow.SpincastClassPathFileResourceManagerDefault
- isResponseClosed(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- isResponseHeadersSent(Object) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- isRunning() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- isWebsocketAutomaticPing() - Method in interface org.spincast.plugins.undertow.config.SpincastUndertowConfig
-
If
true, pings will automatically be sent to peers of a WebSocket endpoint as an heartbeat. - isWebsocketAutomaticPing() - Method in class org.spincast.plugins.undertow.config.SpincastUndertowConfigDefault
K
- keepOriginalRequestUrlInformation(HttpServerExchange) - Method in class org.spincast.plugins.undertow.CacheBusterRemovalHandlerDefault
L
- logger - Static variable in class org.spincast.plugins.undertow.CorsHandlerDefault
- logger - Static variable in class org.spincast.plugins.undertow.SkipResourceOnQueryStringHandlerDefault
- logger - Static variable in class org.spincast.plugins.undertow.SpincastUndertowServer
- logger - Static variable in class org.spincast.plugins.undertow.SpincastUndertowWebsocketEndpointWriter
- logger - Static variable in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
M
- managePeersWriteConnectionClosed(Set<String>) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
Called when a write operation detected a closed connection on some peers.
O
- org.spincast.plugins.undertow - package org.spincast.plugins.undertow
- org.spincast.plugins.undertow.config - package org.spincast.plugins.undertow.config
P
- PLUGIN_ID - Static variable in class org.spincast.plugins.undertow.SpincastUndertowPlugin
- push(Object, Set<ResourceToPush>) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- pushResource(ServerConnection, String, HttpString, HeaderMap) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
R
- registerResourceChangeListener(ResourceChangeListener) - Method in class org.spincast.plugins.undertow.SpincastClassPathDirResourceManagerDefault
- registerResourceChangeListener(ResourceChangeListener) - Method in class org.spincast.plugins.undertow.SpincastClassPathFileResourceManagerDefault
- removeAllStaticResourcesServed() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- removeAllUsers() - Method in interface org.spincast.plugins.undertow.SpincastHttpAuthIdentityManager
-
Removes all users from this identity manager.
- removeAllUsers() - Method in class org.spincast.plugins.undertow.SpincastHttpAuthIdentityManagerDefault
- removeCacheBusterCode(HttpServerExchange) - Method in class org.spincast.plugins.undertow.CacheBusterRemovalHandlerDefault
- removeHttpAuthentication(String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- removeHttpAuthentication(String, String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- removePeerChannel(String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- removePeerChannelAndSendPeerClosedAppEvent(String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- removeResourceChangeListener(ResourceChangeListener) - Method in class org.spincast.plugins.undertow.SpincastClassPathDirResourceManagerDefault
- removeResourceChangeListener(ResourceChangeListener) - Method in class org.spincast.plugins.undertow.SpincastClassPathFileResourceManagerDefault
- removeResponseHeader(Object, String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- removeStaticResource(StaticResourceType, String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- removeStaticResourcesServed(StaticResourceType, String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- removeUser(String) - Method in interface org.spincast.plugins.undertow.SpincastHttpAuthIdentityManager
-
Removes a user from this identity manager.
- removeUser(String) - Method in class org.spincast.plugins.undertow.SpincastHttpAuthIdentityManagerDefault
S
- sendAppEventInNewThread(Runnable) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
Sends an event to the application in a separated thread.
- sendClosingConnection(int, String, Set<String>, ClosedEventSentCallback) - Method in class org.spincast.plugins.undertow.SpincastUndertowWebsocketEndpointWriter
- sendClosingConnection(int, String, Set<String>, ClosedEventSentCallback) - Method in interface org.spincast.plugins.undertow.UndertowWebsocketEndpointWriter
-
Sends a "closing connection" message to specified peers.
- sendMessage(byte[]) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- sendMessage(String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- sendMessage(String, byte[]) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- sendMessage(String, String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- sendMessage(Set<String>, byte[]) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- sendMessage(Set<String>, byte[], WebsocketPeersWriteCallback) - Method in class org.spincast.plugins.undertow.SpincastUndertowWebsocketEndpointWriter
- sendMessage(Set<String>, byte[], WebsocketPeersWriteCallback) - Method in interface org.spincast.plugins.undertow.UndertowWebsocketEndpointWriter
-
Sends a byte array message to specific peers.
- sendMessage(Set<String>, String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- sendMessage(Set<String>, String, WebsocketPeersWriteCallback) - Method in class org.spincast.plugins.undertow.SpincastUndertowWebsocketEndpointWriter
- sendMessage(Set<String>, String, WebsocketPeersWriteCallback) - Method in interface org.spincast.plugins.undertow.UndertowWebsocketEndpointWriter
-
Sends a String message to specific peers.
- sendMessageExcept(String, byte[]) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- sendMessageExcept(String, String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- sendMessageExcept(Set<String>, byte[]) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- sendMessageExcept(Set<String>, String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
- sendOnBytesMessageAppEvent(String, byte[]) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
Sends a "byte[] message" event to the app.
- sendOnPeerConnectedAppEvent(String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
Sends a "Peer connected " event to the app.
- sendOnStringMessageAppEvent(String, String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
Sends a "String message" event to the app.
- sendPeerClosedAppEvent(String) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
Sends a "peer closed" event to the app.
- sendPings(WebsocketPeersWriteCallback) - Method in class org.spincast.plugins.undertow.SpincastUndertowWebsocketEndpointWriter
- sendPings(WebsocketPeersWriteCallback) - Method in interface org.spincast.plugins.undertow.UndertowWebsocketEndpointWriter
-
Sends a
pingmessage to all peers. - sendPushHeaders(HttpServerExchange, ResourceToPush) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
-
In case the server is behind a reverse-proxy such as Nginx: it is this proxy that will do the actual push of the resource.
- sendWebsocketEnpointsClosedWhenServerStops() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- setCacheTime(Integer) - Method in class org.spincast.plugins.undertow.SpincastResourceHandlerDefault
- setResponseHeader(Object, String, List<String>) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- setResponseHeaders(Object, Map<String, List<String>>) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- setResponseStatusCode(Object, int) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- SkipResourceOnQueryStringHandler - Interface in org.spincast.plugins.undertow
-
Handler that will skip the default resource handler if there is at least one queryString parameter.
- SkipResourceOnQueryStringHandlerDefault - Class in org.spincast.plugins.undertow
- SkipResourceOnQueryStringHandlerDefault(HttpHandler, HttpHandler) - Constructor for class org.spincast.plugins.undertow.SkipResourceOnQueryStringHandlerDefault
- SkipResourceOnQueryStringHandlerFactory - Interface in org.spincast.plugins.undertow
- SpincastClassPathDirResourceManager - Interface in org.spincast.plugins.undertow
-
Undertow's ClassPathResourceManager adds a "/" at the end of the "prefix" so it can't be used to serve a specific file.
- SpincastClassPathDirResourceManagerDefault - Class in org.spincast.plugins.undertow
- SpincastClassPathDirResourceManagerDefault(String, String, SpincastUtils) - Constructor for class org.spincast.plugins.undertow.SpincastClassPathDirResourceManagerDefault
- SpincastClassPathFileResourceManager - Interface in org.spincast.plugins.undertow
-
Undertow's ClassPathResourceManager adds a "/" at the end of the "prefix" so it can't be used to serve a specific file.
- SpincastClassPathFileResourceManagerDefault - Class in org.spincast.plugins.undertow
- SpincastClassPathFileResourceManagerDefault(String) - Constructor for class org.spincast.plugins.undertow.SpincastClassPathFileResourceManagerDefault
- SpincastClassPathResourceManagerFactory - Interface in org.spincast.plugins.undertow
- SpincastFileSystemDirResourceManager - Class in org.spincast.plugins.undertow
-
Manager to serve files under a specific directory.
- SpincastFileSystemDirResourceManager(String, File) - Constructor for class org.spincast.plugins.undertow.SpincastFileSystemDirResourceManager
- SpincastFileSystemDirResourceManager(String, File, long) - Constructor for class org.spincast.plugins.undertow.SpincastFileSystemDirResourceManager
- SpincastFileSystemFileResourceManager - Class in org.spincast.plugins.undertow
-
Manager to get a specific File.
- SpincastFileSystemFileResourceManager(File) - Constructor for class org.spincast.plugins.undertow.SpincastFileSystemFileResourceManager
- SpincastFileSystemFileResourceManager(File, long) - Constructor for class org.spincast.plugins.undertow.SpincastFileSystemFileResourceManager
- SpincastHttpAuthIdentityManager - Interface in org.spincast.plugins.undertow
-
Custom identity manager for Undertow's HTTP auth protection.
- SpincastHttpAuthIdentityManagerDefault - Class in org.spincast.plugins.undertow
-
Implementation of the SpincastHttpAuthIdentityManager based on a simple Map.
- SpincastHttpAuthIdentityManagerDefault() - Constructor for class org.spincast.plugins.undertow.SpincastHttpAuthIdentityManagerDefault
-
Constructor.
- SpincastHttpAuthIdentityManagerFactory - Interface in org.spincast.plugins.undertow
-
Factory to create identity managers.
- SpincastResourceHandler - Interface in org.spincast.plugins.undertow
- SpincastResourceHandlerDefault - Class in org.spincast.plugins.undertow
-
Spincast's custom ResourceHandler for Undertow.
- SpincastResourceHandlerDefault(ResourceManager, StaticResource<?>, HttpHandler, SpincastUtils, SpincastConfig, SpincastRoutingUtils) - Constructor for class org.spincast.plugins.undertow.SpincastResourceHandlerDefault
- SpincastResourceHandlerDefault(ResourceManager, StaticResource<?>, SpincastUtils, SpincastConfig, SpincastRoutingUtils) - Constructor for class org.spincast.plugins.undertow.SpincastResourceHandlerDefault
- SpincastResourceHandlerFactory - Interface in org.spincast.plugins.undertow
-
Factory to create SpincastResourceHandler
- SpincastUndertowConfig - Interface in org.spincast.plugins.undertow.config
-
Configurations for the Spincast Undertow plugin.
- SpincastUndertowConfigDefault - Class in org.spincast.plugins.undertow.config
-
Default configuration for Spincast Undertow plugin.
- SpincastUndertowConfigDefault() - Constructor for class org.spincast.plugins.undertow.config.SpincastUndertowConfigDefault
- SpincastUndertowPlugin - Class in org.spincast.plugins.undertow
- SpincastUndertowPlugin() - Constructor for class org.spincast.plugins.undertow.SpincastUndertowPlugin
- SpincastUndertowPluginModule - Class in org.spincast.plugins.undertow
- SpincastUndertowPluginModule() - Constructor for class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- SpincastUndertowPluginModule(Class<? extends RequestContext<?>>, Class<? extends WebsocketContext<?>>) - Constructor for class org.spincast.plugins.undertow.SpincastUndertowPluginModule
- SpincastUndertowServer - Class in org.spincast.plugins.undertow
-
Serverimplementation using Undertow. - SpincastUndertowServer(SpincastUndertowUtils, SpincastConfig, SpincastUndertowConfig, FrontController, SpincastUtils, CookieFactory, CorsHandlerFactory, GzipCheckerHandlerFactory, SkipResourceOnQueryStringHandlerFactory, SpincastResourceHandlerFactory, CacheBusterRemovalHandlerFactory, SpincastClassPathResourceManagerFactory, SpincastHttpAuthIdentityManagerFactory, WebsocketEndpointFactory, SSLContextFactory) - Constructor for class org.spincast.plugins.undertow.SpincastUndertowServer
-
Constructor
- SpincastUndertowUtils - Interface in org.spincast.plugins.undertow
-
Undertow utilities.
- SpincastUndertowUtilsDefault - Class in org.spincast.plugins.undertow
- SpincastUndertowUtilsDefault(SpincastUtils) - Constructor for class org.spincast.plugins.undertow.SpincastUndertowUtilsDefault
- SpincastUndertowWebsocketEndpointWriter - Class in org.spincast.plugins.undertow
- SpincastUndertowWebsocketEndpointWriter(Map<String, WebSocketChannel>, SpincastUndertowConfig) - Constructor for class org.spincast.plugins.undertow.SpincastUndertowWebsocketEndpointWriter
-
Constructor
- SpincastUndertowWebsocketEndpointWriter.IWriteExecutor - Interface in org.spincast.plugins.undertow
-
Interface to create a write executor.
- SpincastWebsocketEndpoint - Class in org.spincast.plugins.undertow
- SpincastWebsocketEndpoint(String, WebsocketEndpointHandler, UndertowWebsocketEndpointWriterFactory, SpincastUndertowConfig, SpincastUndertowUtils) - Constructor for class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
Constructor
- start() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- startSendingPings() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
Starts sending automatic pings to the peers.
- stop() - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- stop(boolean) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- stopSendingPings() - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
U
- UNDERTOW_EXCEPTION_CODE_REQUEST_TOO_LARGE - Static variable in class org.spincast.plugins.undertow.SpincastUndertowServer
- UndertowWebsocketEndpointWriter - Interface in org.spincast.plugins.undertow
- UndertowWebsocketEndpointWriterFactory - Interface in org.spincast.plugins.undertow
V
- validateWebsocketClosingCode(int) - Method in class org.spincast.plugins.undertow.SpincastWebsocketEndpoint
-
Is the Websocket closing code valid?
- verify(Account) - Method in class org.spincast.plugins.undertow.SpincastHttpAuthIdentityManagerDefault
- verify(Credential) - Method in class org.spincast.plugins.undertow.SpincastHttpAuthIdentityManagerDefault
- verify(String, Credential) - Method in class org.spincast.plugins.undertow.SpincastHttpAuthIdentityManagerDefault
W
- websocketCloseEndpoint(String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- websocketCloseEndpoint(String, int, String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- websocketConnection(Object, String, String) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- websocketCreateEndpoint(String, WebsocketEndpointHandler) - Method in class org.spincast.plugins.undertow.SpincastUndertowServer
- WebsocketEndpoint - Interface in org.spincast.plugins.undertow
- WebsocketEndpointFactory - Interface in org.spincast.plugins.undertow
-
Factory to create Websocket endpoints.
- WebsocketPeersWriteCallback - Interface in org.spincast.plugins.undertow
-
Callback to handle the errors found after writing to some peers.
- write(WebSocketChannel, WebSocketCallback<Void>) - Method in interface org.spincast.plugins.undertow.SpincastUndertowWebsocketEndpointWriter.IWriteExecutor
- write(Set<String>, SpincastUndertowWebsocketEndpointWriter.IWriteExecutor) - Method in class org.spincast.plugins.undertow.SpincastUndertowWebsocketEndpointWriter
-
Calls the executor's write(...) method for each peers and, when all asynchrounous calls are done, calls its writeErrors(...) with the ids of the peers for which the write failed with an IOException.
- writeErrors(Set<String>) - Method in interface org.spincast.plugins.undertow.SpincastUndertowWebsocketEndpointWriter.IWriteExecutor
All Classes and Interfaces|All Packages|Constant Field Values