- save() - Method in interface ratpack.session.Session
-
Persists the session data.
- save() - Method in interface ratpack.session.SessionData
-
- scheduler(ExecController) - Static method in class ratpack.rx.RxRatpack
-
- scheduler() - Static method in class ratpack.rx.RxRatpack
-
- ScriptNotFoundException - Exception in ratpack.groovy.script
-
- ScriptNotFoundException(String) - Constructor for exception ratpack.groovy.script.ScriptNotFoundException
-
- ScriptNotFoundException(String...) - Constructor for exception ratpack.groovy.script.ScriptNotFoundException
-
- secure() - Method in interface ratpack.http.HttpUrlBuilder
-
Sets the protocol to be HTTPS.
- secure(Class<? extends Client<?, ?>>, Authorizer<UserProfile>...) - Static method in class ratpack.pac4j.RatpackPac4j
-
A security filter which handles authentication and authorizations.
- secure(boolean) - Method in class ratpack.session.SessionCookieConfig
-
Set session cookies attribute Secure
.
- segment(String, Object...) - Method in interface ratpack.http.HttpUrlBuilder
-
Appends one path segment to the URL.
- send() - Method in interface ratpack.http.Response
-
Sends the response back to the client, with no body.
- send(String) - Method in interface ratpack.http.Response
-
Sends the response, using "text/plain
" as the content type and the given string as the response body.
- send(CharSequence, String) - Method in interface ratpack.http.Response
-
Sends the response, using the given content type and string as the response body.
- send(byte[]) - Method in interface ratpack.http.Response
-
Sends the response, using "application/octet-stream
" as the content type (if a content type hasn't
already been set) and the given byte array as the response body.
- send(CharSequence, byte[]) - Method in interface ratpack.http.Response
-
Sends the response, using the given content type and byte array as the response body.
- send(ByteBuf) - Method in interface ratpack.http.Response
-
Sends the response, using "application/octet-stream
" as the content type (if a content type hasn't
already been set) and the given bytes as the response body.
- send(CharSequence, ByteBuf) - Method in interface ratpack.http.Response
-
Sends the response, using the given content type and bytes as the response body.
- send(String) - Method in interface ratpack.websocket.WebSocket
-
- send(ByteBuf) - Method in interface ratpack.websocket.WebSocket
-
- sender(GraphiteSender) - Method in class ratpack.dropwizard.metrics.GraphiteConfig
-
Configure the GraphiteSender
instance.
- sendFile(Path) - Method in interface ratpack.http.Response
-
Sends the response, using the file as the response body.
- sendStream(Publisher<? extends ByteBuf>) - Method in interface ratpack.http.Response
-
Sends the response, streaming the bytes emitted by the given publisher.
- SentResponse - Interface in ratpack.http
-
Represents a response that has been committed.
- serialize(Class<T>, T, OutputStream) - Method in interface ratpack.session.SessionSerializer
-
Writes the given value to the output stream as bytes.
- ServerBackedApplicationUnderTest - Class in ratpack.test
-
- ServerBackedApplicationUnderTest() - Constructor for class ratpack.test.ServerBackedApplicationUnderTest
-
- serverConfig(Closure<?>) - Method in interface ratpack.groovy.Groovy.Ratpack
-
Registers the closure used to build the configuration of the server.
- serverConfig(ServerConfig) - Method in interface ratpack.groovy.server.GroovyRatpackServerSpec
-
- serverConfig(Action<? super ServerConfigBuilder>) - Method in interface ratpack.groovy.server.GroovyRatpackServerSpec
-
- serverConfig(Closure<?>) - Method in interface ratpack.groovy.server.GroovyRatpackServerSpec
-
- serverConfig(Action<? super ServerConfigBuilder>) - Method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
Configures the server config to have no base dir and given configuration.
- serverConfig(ServerConfigBuilder) - Method in interface ratpack.server.RatpackServerSpec
-
- serverConfig(ServerConfig) - Method in interface ratpack.server.RatpackServerSpec
-
Sets the server configuration for the application.
- serverConfig(Action<? super ServerConfigBuilder>) - Method in interface ratpack.server.RatpackServerSpec
-
- ServerConfig - Interface in ratpack.server
-
The configuration of the server.
- serverConfig(Action<? super ServerConfigBuilder>) - Method in interface ratpack.test.handling.RequestFixture
-
Configures the server config to have no base dir and given configuration.
- ServerConfigBuilder - Interface in ratpack.server
-
- ServerConfigConfiguration() - Constructor for class ratpack.spring.config.RatpackConfiguration.ServerConfigConfiguration
-
- ServerConfigImposition - Class in ratpack.impose
-
An override object for imposing server configuration.
- ServerConfiguration() - Constructor for class ratpack.spring.config.RatpackConfiguration.ServerConfiguration
-
- ServerErrorHandler - Interface in ratpack.error
-
An object that can deal with errors that occur during the processing of an exchange.
- ServerSentEvents - Class in ratpack.sse
-
A
renderable
object for streaming server side events.
- serverSentEvents(Publisher<T>, Action<? super Event<T>>) - Static method in class ratpack.sse.ServerSentEvents
-
Creates a new renderable object wrapping the event stream.
- ServerSentEventStreamClient - Interface in ratpack.sse
-
- Service - Interface in ratpack.server
-
A service participates in the application lifecycle.
- Session - Interface in ratpack.session
-
A mechanism for associating semi persistent data with an individual user/client.
- SessionCookieConfig - Class in ratpack.session
-
Basic configuration for cookies related to session management.
- SessionCookieConfig() - Constructor for class ratpack.session.SessionCookieConfig
-
- SessionData - Interface in ratpack.session
-
The data associated with the user session.
- SessionId - Interface in ratpack.session
-
A handle to the session ID.
- SessionIdGenerator - Interface in ratpack.session
-
Strategy interface for generating unique session ids.
- SessionKey<T> - Interface in ratpack.session
-
A key for an object in the session.
- SessionModule - Class in ratpack.session
-
Provides support for HTTP sessions.
- SessionModule() - Constructor for class ratpack.session.SessionModule
-
- SessionSerializer - Interface in ratpack.session
-
A serializer converts objects to bytes and vice versa.
- SessionStore - Interface in ratpack.session
-
A persistent store of session data.
- set(CharSequence, Object) - Method in interface ratpack.http.MutableHeaders
-
Sets the (only) value for the header with the specified name.
- set(CharSequence, Iterable<?>) - Method in interface ratpack.http.MutableHeaders
-
Sets a new header with the specified name and values.
- set(SessionKey<T>, T) - Method in interface ratpack.session.Session
-
- set(SessionKey<T>, T, SessionSerializer) - Method in interface ratpack.session.Session
-
- set(Class<T>, T) - Method in interface ratpack.session.Session
-
- set(Class<T>, T, SessionSerializer) - Method in interface ratpack.session.Session
-
- set(String, T) - Method in interface ratpack.session.Session
-
- set(String, T, SessionSerializer) - Method in interface ratpack.session.Session
-
- set(T) - Method in interface ratpack.session.Session
-
- set(T, SessionSerializer) - Method in interface ratpack.session.Session
-
- set(SessionKey<T>, T) - Method in interface ratpack.session.SessionData
-
- set(SessionKey<T>, T, SessionSerializer) - Method in interface ratpack.session.SessionData
-
Sets the value for the given key.
- set(Class<T>, T) - Method in interface ratpack.session.SessionData
-
- set(Class<T>, T, SessionSerializer) - Method in interface ratpack.session.SessionData
-
Sets the value for the given type.
- set(String, T) - Method in interface ratpack.session.SessionData
-
Sets the value for the given name and type, using the runtime type of the value and the
default serializer
.
- set(String, T, SessionSerializer) - Method in interface ratpack.session.SessionData
-
Sets the value for the given name and type, using the runtime type of the value.
- set(T) - Method in interface ratpack.session.SessionData
-
Sets the value for the type, using the runtime type of the value and the
default serializer
.
- set(T, SessionSerializer) - Method in interface ratpack.session.SessionData
-
Sets the value for the type, using the runtime type of the value.
- setAddress(InetAddress) - Method in class ratpack.spring.config.RatpackProperties
-
- setBasedir(Resource) - Method in class ratpack.spring.config.RatpackProperties
-
- setCacheSize(int) - Method in class ratpack.spring.config.RatpackProperties
-
- setCipherAlgorithm(String) - Method in class ratpack.session.clientside.ClientSideSessionConfig
-
Set the cipher algorithm used to encrypt/decrypt the serialized session data.
- setConfig(T) - Method in class ratpack.guice.ConfigurableModule
-
Sets the config object for this module.
- setContextPath(String) - Method in class ratpack.spring.config.RatpackProperties
-
- setDate(CharSequence, Date) - Method in interface ratpack.http.MutableHeaders
-
Set a header with the given date as the value.
- setDevelopment(boolean) - Method in class ratpack.spring.config.RatpackProperties
-
- setDomain(String) - Method in class ratpack.session.SessionCookieConfig
-
Set the domain
for session cookie.
- setExpires(Duration) - Method in class ratpack.session.SessionCookieConfig
-
Set cookie's max age.
- setHost(String) - Method in class ratpack.session.store.RedisSessionModule.Config
-
Set the address for Redis.
- setHttpOnly(boolean) - Method in class ratpack.session.SessionCookieConfig
-
Set session cookies attribute HttpOnly
.
- setIdName(String) - Method in class ratpack.session.SessionCookieConfig
-
Set the name of the cookie for session id.
- setMacAlgorithm(String) - Method in class ratpack.session.clientside.ClientSideSessionConfig
-
Set mac algorithm used to sign the serialized and encrypted session data.
- setMaxInactivityInterval(Duration) - Method in class ratpack.session.clientside.ClientSideSessionConfig
-
Set maximum inactivity time (in seconds) of the cookie session.
- setMaxSessionCookieSize(int) - Method in class ratpack.session.clientside.ClientSideSessionConfig
-
Set maximum size of the session cookie.
- setMaxThreads(int) - Method in class ratpack.spring.config.RatpackProperties
-
- setPassword(String) - Method in class ratpack.session.store.RedisSessionModule.Config
-
Set the password for Redis.
- setPath(String) - Method in class ratpack.session.SessionCookieConfig
-
Set the path
for session cookie.
- setPort(Integer) - Method in class ratpack.session.store.RedisSessionModule.Config
-
Set the redis port.
- setPort(Integer) - Method in class ratpack.spring.config.RatpackProperties
-
- setSecretKey(String) - Method in class ratpack.session.clientside.ClientSideSessionConfig
-
Set the secret key used in the symmetric-key encryption/decryption of the serialized session data.
- setSecretToken(String) - Method in class ratpack.session.clientside.ClientSideSessionConfig
-
Set the {code secretToken} used to sign the serialized and encrypted session data.
- setSecure(boolean) - Method in class ratpack.session.SessionCookieConfig
-
Set session cookies attribute Secure
.
- setSessionCookieName(String) - Method in class ratpack.session.clientside.ClientSideSessionConfig
-
Set the cookie
name used to store session data.
- setSessionTimeout(Integer) - Method in class ratpack.spring.config.RatpackProperties
-
- setStaticallyCompile(boolean) - Method in class ratpack.groovy.template.TextTemplateModule.Config
-
- setStaticallyCompile(boolean) - Method in class ratpack.spring.config.RatpackProperties
-
- setTemplatesCacheSize(Integer) - Method in class ratpack.thymeleaf.ThymeleafModule
-
- setTemplatesDirectory(String) - Method in class ratpack.groovy.template.MarkupTemplateModule.Config
-
- setTemplatesMode(String) - Method in class ratpack.thymeleaf.ThymeleafModule
-
- setTemplatesPath(String) - Method in class ratpack.groovy.template.TextTemplateModule.Config
-
- setTemplatesPath(String) - Method in class ratpack.spring.config.RatpackProperties
-
- setTemplatesPrefix(String) - Method in class ratpack.thymeleaf.ThymeleafModule
-
- setTemplatesSuffix(String) - Method in class ratpack.thymeleaf.ThymeleafModule
-
- shouldReload(Registry) - Method in interface ratpack.server.ReloadInformant
-
Whether the server should reload.
- sign(ByteBuf, ByteBufAllocator) - Method in interface ratpack.session.clientside.Signer
-
- Signer - Interface in ratpack.session.clientside
-
- single(Class<T>, Supplier<? extends T>) - Static method in interface ratpack.registry.Registry
-
- single(Object) - Static method in interface ratpack.registry.Registry
-
- single(Class<? super T>, T) - Static method in interface ratpack.registry.Registry
-
- singleLazy(Class<T>, Supplier<? extends T>) - Static method in interface ratpack.registry.Registry
-
- size() - Method in interface ratpack.registry.RegistryBuilder
-
How many entries have been added so far.
- size() - Method in interface ratpack.session.SessionStore
-
The current number of sessions.
- slf4j() - Method in class ratpack.dropwizard.metrics.DropwizardMetricsConfig
-
- slf4j(Action<? super Slf4jConfig>) - Method in class ratpack.dropwizard.metrics.DropwizardMetricsConfig
-
Configure the Slf4j logger metrics publisher.
- Slf4jConfig - Class in ratpack.dropwizard.metrics
-
- Slf4jConfig() - Constructor for class ratpack.dropwizard.metrics.Slf4jConfig
-
- Spring - Class in ratpack.spring
-
Methods to facilitate integrating
Spring Boot with Ratpack.
- Spring() - Constructor for class ratpack.spring.Spring
-
- spring(ListableBeanFactory) - Static method in class ratpack.spring.Spring
-
Creates a registry backed by the given bean factory.
- spring(Class<?>, String...) - Static method in class ratpack.spring.Spring
-
Creates a registry backed by the given Spring Boot application class.
- spring(SpringApplicationBuilder, String...) - Static method in class ratpack.spring.Spring
-
Creates a registry backed by the given Spring Boot application builder.
- SqlModule - Class in ratpack.groovy.sql
-
- SqlModule() - Constructor for class ratpack.groovy.sql.SqlModule
-
- SqlProvider - Class in ratpack.groovy.sql
-
- SqlProvider(DataSource) - Constructor for class ratpack.groovy.sql.SqlProvider
-
- sse() - Method in class ratpack.hystrix.HystrixModule
-
Enable the reporting of Hystrix metrics via SSE.
- sseStreamClient(ByteBufAllocator) - Static method in interface ratpack.sse.ServerSentEventStreamClient
-
- ssl(SSLContext) - Method in interface ratpack.server.ServerConfigBuilder
-
The SSL context to use if the application serves content over HTTPS.
- sslContext(SSLContext) - Method in interface ratpack.http.client.RequestSpec
-
Sets the
SSLContext
used for client and server SSL authentication.
- sslContext(Factory<SSLContext>) - Method in interface ratpack.http.client.RequestSpec
-
Factory method to create
SSLContext
used for client and server SSL authentication.
- sslContext(URL, String) - Static method in class ratpack.ssl.SSLContexts
-
Creates an SSL context using a password-protected keystore file.
- sslContext(URL, String, URL, String) - Static method in class ratpack.ssl.SSLContexts
-
Creates an SSL context using password protected keystore as well as password protected truststore file.
- sslContext(File, String) - Static method in class ratpack.ssl.SSLContexts
-
Creates an SSL context using a password-protected keystore file.
- sslContext(File, String, File, String) - Static method in class ratpack.ssl.SSLContexts
-
Creates an SSL context using password protected keystore as well as password protected truststore file.
- sslContext(Path, String) - Static method in class ratpack.ssl.SSLContexts
-
Creates an SSL context using a password-protected keystore file.
- sslContext(Path, String, Path, String) - Static method in class ratpack.ssl.SSLContexts
-
Creates an SSL context using password protected keystore as well as password protected truststore file.
- sslContext(InputStream, String) - Static method in class ratpack.ssl.SSLContexts
-
Creates an SSL context using a password-protected keystore file.
- sslContext(InputStream, String, InputStream, String) - Static method in class ratpack.ssl.SSLContexts
-
Creates an SSL context using password protected keystore as well as password protected truststore file.
- SSLContexts - Class in ratpack.ssl
-
- start(Action<? super Execution>) - Method in interface ratpack.exec.ExecStarter
-
Starts the execution, with the given action as the initial segment.
- start(Action<? super RatpackServerSpec>) - Static method in interface ratpack.server.RatpackServer
-
- start() - Method in interface ratpack.server.RatpackServer
-
Starts the server, returning as soon as the server is up and ready to receive requests.
- StartEvent - Interface in ratpack.server
-
A start event.
- StartupFailureException - Exception in ratpack.server
-
Thrown when a server fails to start.
- StartupFailureException(String) - Constructor for exception ratpack.server.StartupFailureException
-
Constructor.
- StartupFailureException(String, Throwable) - Constructor for exception ratpack.server.StartupFailureException
-
Constructor.
- status(int) - Method in interface ratpack.http.Response
-
Sets the status line of the response.
- status(Status) - Method in interface ratpack.http.Response
-
Sets the status line of the response.
- Status - Interface in ratpack.http
-
A status line of a HTTP response.
- stop() - Method in interface ratpack.server.RatpackServer
-
Stops the server, returning as soon as the server has stopped receiving requests.
- stop() - Method in interface ratpack.server.Stopper
-
Initiates the shutdown process for the running application.
- stop() - Method in class ratpack.spring.config.RatpackConfiguration
-
- stop() - Method in class ratpack.test.ServerBackedApplicationUnderTest
-
Stops the server if it is running.
- StopEvent - Interface in ratpack.server
-
A stop event.
- Stopper - Interface in ratpack.server
-
The mechanism for stopping the application from within the application.
- store(AsciiString, ByteBuf) - Method in interface ratpack.session.SessionStore
-
Writes the session data for the given id.
- stream(Action<? super OutputStream>) - Method in interface ratpack.http.client.RequestSpec.Body
-
Specifies the request body by writing to an output stream.
- StreamedResponse - Interface in ratpack.http.client
-
A received response to a http client request with streamed response content.
- StreamEvent<T> - Interface in ratpack.stream
-
Represents an event emitted by a publisher.
- streamInterval(long) - Method in class ratpack.hystrix.HystrixModule.Config
-
Configure the number of seconds between periodic publications.
- streamMap(Publisher<T>, Function<? super WriteStream<O>, ? extends WriteStream<? super T>>) - Static method in class ratpack.stream.Streams
-
Allows transforming a stream into an entirely different stream.
- streamMap(Function<? super WriteStream<O>, ? extends WriteStream<? super T>>) - Method in interface ratpack.stream.TransformablePublisher
-
- Streams - Class in ratpack.stream
-
- Streams() - Constructor for class ratpack.stream.Streams
-
- stringChunks(Publisher<? extends CharSequence>) - Static method in class ratpack.http.ResponseChunks
-
Transmit each string emitted by the publisher as a chunk.
- stringChunks(CharSequence, Publisher<? extends CharSequence>) - Static method in class ratpack.http.ResponseChunks
-
Transmit each string emitted by the publisher as a chunk.
- stringChunks(CharSequence, Charset, Publisher<? extends CharSequence>) - Static method in class ratpack.http.ResponseChunks
-
Transmit each string emitted by the publisher as a chunk.
- success(T) - Method in interface ratpack.exec.Downstream
-
Signals the successful production of the upstream value.
- success(T) - Static method in interface ratpack.exec.Result
-
Creates a new successful result.
- success(T) - Method in class ratpack.exec.util.Promised
-
Signals the successful production of the upstream value.
- supports(Class<?>) - Method in class ratpack.spring.config.RatpackProperties
-
- sysProps() - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for system properties starting with the prefix
"ratpack.".
- sysProps(String) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for system properties starting with the specified prefix.
- sysProps() - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for system properties starting with the prefix
"ratpack.".
- sysProps(String) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for system properties starting with the specified prefix.