- Background - Interface in ratpack.background
-
Allows blocking operations to be executed off of a main request handling thread.
- background(Callable<T>) - Method in interface ratpack.handling.Context
-
Perform a blocking operation, off the request thread.
- Background.Success<T> - Interface in ratpack.background
-
A builder for specifying the result handling strategy for a blocking operation that succeeds.
- Background.SuccessOrError<T> - Interface in ratpack.background
-
A builder for specifying the result handling strategy for a blocking operation.
- backgroundExecutorService(ExecutorService) - Method in class ratpack.launch.LaunchConfigBuilder
-
The executor service to use for blocking operations.
- baseDir(File) - Static method in class ratpack.launch.LaunchConfigBuilder
-
Create a new builder, using the given file as the base dir.
- baseDir(Path) - Static method in class ratpack.launch.LaunchConfigBuilder
-
Create a new builder, using the given file as the base dir.
- bind(String, PathBinding) - Method in interface ratpack.path.PathBinder
-
Creates a binding for the given path, if this binder can bind to this path.
- BindAddress - Interface in ratpack.server
-
Represents the address that the server is listening on for requests.
- binding(String) - Method in interface ratpack.file.FileSystemBinding
-
Construct a new binding by using the given path as a relative path from this bind point.
- bufferAllocator(ByteBufAllocator) - Method in class ratpack.launch.LaunchConfigBuilder
-
The allocator to use when creating buffers in the application.
- build(HandlerFactory) - Method in class ratpack.launch.LaunchConfigBuilder
-
Builds the launch config, based on the current state and the handler factory.
- build() - Method in class ratpack.registry.RegistryBuilder
-
- build(Registry) - Method in class ratpack.registry.RegistryBuilder
-
- build(LaunchConfig) - Static method in class ratpack.server.RatpackServerBuilder
-
Constructs a new server based on the builder's state.
- builder() - Static method in class ratpack.registry.RegistryBuilder
-
- ByContentHandler - Interface in ratpack.handling
-
A buildable strategy for responding based on the HTTP "Accepts" request header.
- ByMethodHandler - Interface in ratpack.handling
-
A buildable strategy for processing an exchange based on HTTP method.
- get(Runnable) - Method in interface ratpack.handling.ByMethodHandler
-
Defines the action to to take if the request has a HTTP method of GET.
- get(String, Handler) - Method in interface ratpack.handling.Chain
-
Adds a Handler to this GroovyChain that delegates to the given Handler
if the relative path matches the given path and the request
HTTPMethod is GET.
- get(Handler) - Method in interface ratpack.handling.Chain
-
Adds a Handler to this GroovyChain that delegates to the given Handler
if the request HTTPMethod is GET and the path is at the
current root.
- get() - Static method in class ratpack.handling.Handlers
-
A handler that delegates to the next handler if the request is GET, otherwise raises a 405 client error.
- get(String) - Method in interface ratpack.http.Headers
-
Returns the header value with the specified header name.
- get(Class<O>) - Method in interface ratpack.registry.Registry
-
Provides an object of the specified type, or throws an exception if no object of that type is available.
- get(Object) - Method in interface ratpack.util.MultiValueMap
-
Get the first value for the key, or null if there are no values for the key.
- getAddress() - Method in interface ratpack.launch.LaunchConfig
-
The address of the interface that the application should bind to.
- getAddress(Context) - Method in interface ratpack.server.PublicAddress
-
The advertised public address.
- getAll(String) - Method in interface ratpack.http.Headers
-
Returns all of the header values with the specified header name.
- getAll(Class<O>) - Method in interface ratpack.registry.Registry
-
- getAll(K) - Method in interface ratpack.util.MultiValueMap
-
All of the values for the given key.
- getAll() - Method in interface ratpack.util.MultiValueMap
-
Returns a new view of the map where each map value is a list of all the values for the given key (i.e.
- getAllPathTokens() - Method in interface ratpack.handling.Context
-
- getAllTokens() - Method in interface ratpack.path.PathBinding
-
- getBackground() - Method in interface ratpack.handling.Context
-
An object to be used when executing blocking IO, or long operations.
- getBackgroundExecutorService() - Method in interface ratpack.launch.LaunchConfig
-
The executor service to use to perform background operations.
- getBaseDir() - Method in interface ratpack.launch.LaunchConfig
-
- getBindAddress() - Method in interface ratpack.handling.Context
-
The address that this request was received on.
- getBindHost() - Method in interface ratpack.server.RatpackServer
-
The actual host/ip that the application is bound to.
- getBindPort() - Method in interface ratpack.server.RatpackServer
-
The actual port that the application is bound to.
- getBody() - Method in interface ratpack.http.Response
-
The (mutable) buffer that is the body to be sent.
- getBoundTo() - Method in interface ratpack.path.PathBinding
-
The path of the request path that was bound to.
- getBuffer() - Method in interface ratpack.form.UploadedFile
-
- getBuffer() - Method in interface ratpack.http.Request
-
- getBuffer() - Method in interface ratpack.http.RequestBody
-
- getBufferAllocator() - Method in interface ratpack.launch.LaunchConfig
-
The allocator for buffers needed by the application.
- getByContent() - Method in interface ratpack.handling.Context
-
A buildable handler useful for performing content negotiation.
- getByMethod() - Method in interface ratpack.handling.Context
-
A buildable handler for conditional processing based on the HTTP request method.
- getBytes() - Method in interface ratpack.form.UploadedFile
-
- getBytes() - Method in interface ratpack.http.Request
-
The request body as bytes.
- getBytes() - Method in interface ratpack.http.RequestBody
-
- getChannel() - Method in interface ratpack.handling.direct.DirectChannelAccess
-
- getCharset() - Method in interface ratpack.http.MediaType
-
The value of the "charset" parameter, or the HTTP default of "ISO-8859-1".
- getClosedAt() - Method in interface ratpack.handling.RequestOutcome
-
- getCode() - Method in interface ratpack.http.Status
-
The status code.
- getConnection() - Method in interface ratpack.websocket.WebSocketMessage
-
- getContentType(String) - Method in interface ratpack.file.MimeTypes
-
Calculate the mime type for the given file.
- getContentType() - Method in interface ratpack.form.UploadedFile
-
- getContentType() - Method in interface ratpack.http.Request
-
A structured representation of the "Content-Type" header value of the request.
- getContentType() - Method in interface ratpack.parse.Parser
-
The content type that this parser knows how to deserialize.
- getContext() - Method in interface ratpack.handling.Context
-
Returns this.
- getCookies() - Method in interface ratpack.http.Request
-
The cookies that were sent with the request.
- getCookies() - Method in interface ratpack.http.Response
-
The cookies that are to be part of the response.
- getDate(String) - Method in interface ratpack.http.Headers
-
Returns the header value as a date with the specified header name.
- getDefaultPrefixedProperties() - Static method in class ratpack.launch.LaunchConfigFactory
-
Extracts the properties prefixed with
"ratpack." from the system properties, without the prefix.
- getDirectChannelAccess() - Method in interface ratpack.handling.Context
-
- getFailure() - Method in class ratpack.util.Result
-
The failure exception.
- getFile() - Method in interface ratpack.file.FileSystemBinding
-
The actual point on the filesystem that this binding is bound to.
- getFileName() - Method in interface ratpack.form.UploadedFile
-
- getForegroundExecutorService() - Method in interface ratpack.handling.Context
-
- getHandlerFactory() - Method in interface ratpack.launch.LaunchConfig
-
The handler factory that can create the root handler for the application.
- getHeaders() - Method in interface ratpack.http.Request
-
The request headers.
- getHeaders() - Method in interface ratpack.http.Response
-
The response headers.
- getHost() - Method in interface ratpack.server.BindAddress
-
The host name.
- getIndexFiles() - Method in interface ratpack.launch.LaunchConfig
-
The names of files that can be served if a request is made to serve a directory.
- getInputStream() - Method in interface ratpack.http.Request
-
Provides an input stream of the request body.
- getInputStream() - Method in interface ratpack.http.RequestBody
-
- getLaunchConfig() - Method in interface ratpack.handling.Chain
-
The launch config of the application that this chain is being created for.
- getLaunchConfig() - Method in interface ratpack.server.RatpackServer
-
The (read only) configuration that was used to launch this server.
- getMainThreads() - Method in interface ratpack.launch.LaunchConfig
-
The number of threads for handling application requests.
- getMaxContentLength() - Method in interface ratpack.launch.LaunchConfig
-
The max content length to use for the HttpObjectAggregator
- getMessage() - Method in interface ratpack.http.Status
-
The message of the status.
- getMethod() - Method in interface ratpack.http.Request
-
The method of the request.
- getName() - Method in interface ratpack.http.HttpMethod
-
The name of the method, always in upper case.
- getNames() - Method in interface ratpack.http.Headers
-
All header names.
- getOpenResult() - Method in interface ratpack.websocket.WebSocketClose
-
- getOpenResult() - Method in interface ratpack.websocket.WebSocketMessage
-
- getOther(String, String) - Method in interface ratpack.launch.LaunchConfig
-
Provides access to any "other" properties that were specified.
- getParams() - Method in interface ratpack.http.MediaType
-
The parameters of the mime type.
- getParsedType() - Method in interface ratpack.parse.Parser
-
The type that this parser can deserialize to.
- getParsedType() - Method in class ratpack.parse.ParserSupport
-
- getParseType() - Method in interface ratpack.parse.Parser
-
The type of the
Parse object for this parser.
- getParseType() - Method in class ratpack.parse.ParserSupport
-
- getPastBinding() - Method in interface ratpack.path.PathBinding
-
The section of the path that is "past" where the binding bound to.
- getPath() - Method in interface ratpack.http.Request
-
The URI without the query string and leading forward slash.
- getPathTokens() - Method in interface ratpack.handling.Context
-
- getPort() - Method in interface ratpack.launch.LaunchConfig
-
The port that the application should listen to requests on.
- getPort() - Method in interface ratpack.server.BindAddress
-
The port number.
- getPublicAddress() - Method in interface ratpack.launch.LaunchConfig
-
The public address of the site used for redirects.
- getQuery() - Method in interface ratpack.http.Request
-
The query string component of the request URI, without the "?".
- getQueryParams() - Method in interface ratpack.http.Request
-
TBD.
- getRegistry() - Method in interface ratpack.handling.Chain
-
The registry that backs this GroovyChain.
- getRequest() - Method in interface ratpack.handling.Context
-
The HTTP request.
- getRequest() - Method in interface ratpack.handling.RequestOutcome
-
- getResponse() - Method in interface ratpack.handling.Context
-
The HTTP response.
- getResponse() - Method in interface ratpack.handling.RequestOutcome
-
- getScheme() - Method in interface ratpack.server.RatpackServer
-
The URL scheme the server uses.
- getSSLContext() - Method in interface ratpack.launch.LaunchConfig
-
The SSL context to use if the application will serve content over HTTPS.
- getStatus() - Method in interface ratpack.http.Response
-
The status that will be part of the response when sent.
- getText() - Method in interface ratpack.form.UploadedFile
-
- getText() - Method in interface ratpack.http.Request
-
The request body as text.
- getText() - Method in interface ratpack.http.RequestBody
-
- getText() - Method in interface ratpack.websocket.WebSocketMessage
-
- getTokens() - Method in interface ratpack.path.PathBinding
-
Any tokens that the binding has extracted from the path.
- getType() - Method in interface ratpack.http.MediaType
-
The type without parameters.
- getType() - Method in class ratpack.parse.NoOptionParse
-
- getType() - Method in interface ratpack.parse.Parse
-
- getType() - Method in class ratpack.parse.ParseSupport
-
- getType() - Method in interface ratpack.render.Renderer
-
The type of object that this renderer can render.
- getType() - Method in class ratpack.render.RendererSupport
-
The type of object that this renderer can render (the type for T).
- getUri() - Method in interface ratpack.http.Request
-
The complete URI of the request (path + query string).
- getValue() - Method in class ratpack.util.Result
-
The result value.
- getVersion() - Static method in class ratpack.util.RatpackVersion
-
The version of Ratpack.
- INDEX_FILES - Static variable in class ratpack.launch.LaunchConfigFactory.Property
-
The comma separated list of file names of files that can be served in place of a directory.
- indexFiles(String...) - Method in class ratpack.launch.LaunchConfigBuilder
-
Adds the given values as potential index file names.
- indexFiles(List<String>) - Method in class ratpack.launch.LaunchConfigBuilder
-
Adds the given values as potential index file names.
- insert(Handler...) - Method in interface ratpack.handling.Context
-
Inserts some handlers into the pipeline, then delegates to the first.
- insert(Registry, Handler...) - Method in interface ratpack.handling.Context
-
Inserts some handlers into the pipeline to execute with the given registry, then delegates to the first.
- insert(Class<T>, Factory<? extends T>, Handler...) - Method in interface ratpack.handling.Context
-
Inserts some handlers into the pipeline to execute with the given object created by the factory made available, then delegates to the first.
- insert(Class<P>, T, Handler...) - Method in interface ratpack.handling.Context
-
Inserts some handlers into the pipeline to execute with the given object made available, then delegates to the first.
- insert(Object, Handler...) - Method in interface ratpack.handling.Context
-
Inserts some handlers into the pipeline to execute with the the given object added to the service, then delegates to the first.
- isDelete() - Method in interface ratpack.http.HttpMethod
-
True if the method is DELETE.
- isEmpty() - Method in interface ratpack.http.MediaType
-
True if this represents the absence of a value (i.e.
- isFailure() - Method in class ratpack.util.Result
-
True if this was a failure result.
- isForm() - Method in interface ratpack.http.MediaType
-
- isFromClient() - Method in interface ratpack.websocket.WebSocketClose
-
- isFromServer() - Method in interface ratpack.websocket.WebSocketClose
-
- isGet() - Method in interface ratpack.http.HttpMethod
-
True if the method is GET or HEAD.
- isHead() - Method in interface ratpack.http.HttpMethod
-
True if the method is HEAD.
- isHtml() - Method in interface ratpack.http.MediaType
-
- isJson() - Method in interface ratpack.http.MediaType
-
- isOpen() - Method in interface ratpack.websocket.WebSocket
-
- isOptions() - Method in interface ratpack.http.HttpMethod
-
True if the method is OPTIONS.
- isPatch() - Method in interface ratpack.http.HttpMethod
-
True if the method is PATCH.
- isPost() - Method in interface ratpack.http.HttpMethod
-
True if the method is POST.
- isPut() - Method in interface ratpack.http.HttpMethod
-
True if the method is PUT.
- isReloadable() - Method in interface ratpack.launch.LaunchConfig
-
Whether or not the server is in "reloadable" (i.e.
- isRunning() - Method in interface ratpack.server.RatpackServer
-
Returns true if the server is running.
- isSuccess() - Method in class ratpack.util.Result
-
True if this was a success result.
- isText() - Method in interface ratpack.http.MediaType
-
True if this type starts with "text/".
- parse(Parse<T>) - Method in interface ratpack.handling.Context
-
- Parse<T> - Interface in ratpack.parse
-
- parse(Context, RequestBody, P) - Method in interface ratpack.parse.Parser
-
Deserializes the request body of the context into an object.
- Parser<T,P extends Parse<T>> - Interface in ratpack.parse
-
A parser is able to deserialize the body of a request into an object representation.
- ParserSupport<T,P extends Parse<T>> - Class in ratpack.parse
-
- ParserSupport() - Constructor for class ratpack.parse.ParserSupport
-
- ParseSupport<T> - Class in ratpack.parse
-
- ParseSupport() - Constructor for class ratpack.parse.ParseSupport
-
- patch(Runnable) - Method in interface ratpack.handling.ByMethodHandler
-
Defines the action to to take if the request has a HTTP method of PATCH.
- patch(String, Handler) - Method in interface ratpack.handling.Chain
-
Adds a Handler to this GroovyChain that delegates to the given Handler if
the relative path matches the given path and the request HTTPMethod
is PATCH.
- patch(Handler) - Method in interface ratpack.handling.Chain
-
Adds a Handler to this GroovyChain that delegates to the given Handler if
the request HTTPMethod is PATCH and the path is at the current root.
- patch() - Static method in class ratpack.handling.Handlers
-
A handler that delegates to the next handler if the request is PATCH, otherwise raises a 405 client error.
- path(String, Handler) - Static method in class ratpack.handling.Handlers
-
Creates a handler that delegates to the given handlers if the request matches the given path exactly.
- path(PathBinder, Handler) - Static method in class ratpack.handling.Handlers
-
Creates a handler that delegates to the given handlers if the request can be bound by the given path binder.
- path(String) - Method in interface ratpack.websocket.WebSocketBuilder
-
- PathBinder - Interface in ratpack.path
-
A path binder binds to a request path, extracting information from it.
- PathBinding - Interface in ratpack.path
-
A path binding represents some kind of "match" on the path of a request.
- PathTokens - Interface in ratpack.path
-
A marker interface for the contextual object that represents the tokens extracted from the request path.
- plainText(Runnable) - Method in interface ratpack.handling.ByContentHandler
-
Convenience method to respond with "text/plain" mime type.
- port(int) - Method in class ratpack.launch.LaunchConfigBuilder
-
Sets the port to bind to.
- PORT - Static variable in class ratpack.launch.LaunchConfigFactory.Property
-
The port to listen for requests on.
- post(Runnable) - Method in interface ratpack.handling.ByMethodHandler
-
Defines the action to to take if the request has a HTTP method of POST.
- post(String, Handler) - Method in interface ratpack.handling.Chain
-
Adds a Handler to this GroovyChain that delegates to the given Handler if
the relative path matches the given path and the request HTTPMethod
is POST.
- post(Handler) - Method in interface ratpack.handling.Chain
-
Adds a Handler to this GroovyChain that delegates to the given Handler if
the request HTTPMethod is POST and the path is at the current root.
- post() - Static method in class ratpack.handling.Handlers
-
A handler that delegates to the next handler if the request is POST, otherwise raises a 405 client error.
- prefix(String, Handler) - Method in interface ratpack.handling.Chain
-
Adds a Handler to this GroovyChain that delegates to the given handlers if the
relative path starts with the given prefix.
- prefix(String, Action<? super Chain>) - Method in interface ratpack.handling.Chain
-
- prefix(String, Handler) - Static method in class ratpack.handling.Handlers
-
Creates a handler that delegates to the given handlers if the request path starts with the given prefix.
- PUBLIC_ADDRESS - Static variable in class ratpack.launch.LaunchConfigFactory.Property
-
The public address of the site.
- publicAddress(URI) - Method in class ratpack.launch.LaunchConfigBuilder
-
The public address of the application.
- PublicAddress - Interface in ratpack.server
-
The advertised public address.
- put(Runnable) - Method in interface ratpack.handling.ByMethodHandler
-
Defines the action to to take if the request has a HTTP method of PUT.
- put(String, Handler) - Method in interface ratpack.handling.Chain
-
Adds a Handler to this GroovyChain that delegates to the given Handler if
the relative path matches the given path and the request HTTPMethod
is PUT.
- put(Handler) - Method in interface ratpack.handling.Chain
-
Adds a Handler to this GroovyChain that delegates to the given Handler if
the request HTTPMethod is PUT and the path is at the current root.
- put() - Static method in class ratpack.handling.Handlers
-
A handler that delegates to the next handler if the request is PUT, otherwise raises a 405 client error.
- put(K, V) - Method in interface ratpack.util.MultiValueMap
-
- putAll(Map<? extends K, ? extends V>) - Method in interface ratpack.util.MultiValueMap
-
- ratpack.api - package ratpack.api
-
Annotations that are used to further specify API contracts.
- ratpack.background - package ratpack.background
-
Mechanisms for executing operations that performing operations in the background (i.e.
- ratpack.error - package ratpack.error
-
Types that deal with handling application errors.
- ratpack.file - package ratpack.file
-
Types for dealing with the file system and serving files.
- ratpack.form - package ratpack.form
-
- ratpack.handling - package ratpack.handling
-
The handling of application requests.
- ratpack.handling.direct - package ratpack.handling.direct
-
- ratpack.http - package ratpack.http
-
The HTTP protocol.
- ratpack.launch - package ratpack.launch
-
Classes used to bootstrap a Ratpack application.
- ratpack.parse - package ratpack.parse
-
- ratpack.path - package ratpack.path
-
Types for managing the paths of requests inside the application.
- ratpack.registry - package ratpack.registry
-
Handlers communicate with each other by binding a "service" on to each
Context.
- ratpack.render - package ratpack.render
-
The renderer framework provides a pluggable mechanism for serializing objects to the response.
- ratpack.server - package ratpack.server
-
Objects used to start a ratpack application.
- ratpack.ssl - package ratpack.ssl
-
- ratpack.util - package ratpack.util
-
General purpose types and utilities.
- ratpack.websocket - package ratpack.websocket
-
- RatpackMain - Class in ratpack.launch
-
An application entry point for starting a Ratpack application.
- RatpackMain() - Constructor for class ratpack.launch.RatpackMain
-
- RatpackServer - Interface in ratpack.server
-
A Ratpack server.
- RatpackServerBuilder - Class in ratpack.server
-
- RatpackVersion - Class in ratpack.util
-
Provides the version of the Ratpack core at runtime.
- redirect(String) - Method in interface ratpack.handling.Context
-
Sends a temporary redirect response (i.e.
- redirect(int, String) - Method in interface ratpack.handling.Context
-
Sends a redirect response location URL and status code (which should be in the 3xx range).
- redirect(Context, String, int) - Method in interface ratpack.handling.Redirector
-
Issue a redirect to the client.
- Redirector - Interface in ratpack.handling
-
Contextual strategy for issuing redirects.
- register(Object, Handler) - Method in interface ratpack.handling.Chain
-
Adds a Handler to this GroovyChain that inserts the given handler with the given service addition.
- register(Object, Action<? super Chain>) - Method in interface ratpack.handling.Chain
-
- register(Class<? super T>, T, Handler) - Method in interface ratpack.handling.Chain
-
Adds a Handler to this GroovyChain that inserts the given handlers with the given service addition.
- register(Class<? super T>, T, Action<? super Chain>) - Method in interface ratpack.handling.Chain
-
- register(T, Handler) - Static method in class ratpack.handling.Handlers
-
Creates a handler that inserts the handler chain defined by the builder, with the given service addition.
- register(Class<? super T>, T, Handler) - Static method in class ratpack.handling.Handlers
-
Creates a handler that inserts the handler chain defined by the builder, with the given service addition.
- register(Class<O>, O) - Method in interface ratpack.registry.MutableRegistry
-
Register the given object under the given type.
- register(T) - Method in interface ratpack.registry.MutableRegistry
-
Registers the given object with its concrete type.
- Registry - Interface in ratpack.registry
-
An object that can potentially provide objects of given types.
- RegistryBuilder - Class in ratpack.registry
-
- reloadable(boolean) - Method in class ratpack.launch.LaunchConfigBuilder
-
Whether or not the application is "reloadable".
- RELOADABLE - Static variable in class ratpack.launch.LaunchConfigFactory.Property
-
Whether to reload the application if the script changes at runtime.
- remove(String) - Method in interface ratpack.http.MutableHeaders
-
Removes the header with the specified name.
- remove(Class<O>) - Method in interface ratpack.registry.MutableRegistry
-
Remove the registration for the given type.
- remove(Object) - Method in interface ratpack.util.MultiValueMap
-
- render(Object) - Method in interface ratpack.handling.Context
-
Render the given object, using the rendering framework.
- render(Context, T) - Method in interface ratpack.render.Renderer
-
Render the given object to the response.
- render(Context, T) - Method in class ratpack.render.RendererSupport
-
Render the given object to the response.
- Renderer<T> - Interface in ratpack.render
-
A renderer is responsible for rendering an object to the response.
- RendererSupport<T> - Class in ratpack.render
-
- RendererSupport() - Constructor for class ratpack.render.RendererSupport
-
Constructor.
- RendererSupport(Class<?>) - Constructor for class ratpack.render.RendererSupport
-
Constructor.
- Request - Interface in ratpack.http
-
A request to be handled.
- RequestBody - Interface in ratpack.http
-
- RequestOutcome - Interface in ratpack.handling
-
- respond(Handler) - Method in interface ratpack.handling.Context
-
Convenience method for delegating to a single handler.
- Response - Interface in ratpack.http
-
A response to a request.
- Result<T> - Class in ratpack.util
-
The result of an asynchronous operation, which may be a failure.
- Result(Exception) - Constructor for class ratpack.util.Result
-
Creates a failure result object.
- Result(Y) - Constructor for class ratpack.util.Result
-
Creates a successful result object.
- resultAction(Action<T>) - Method in interface ratpack.handling.Context
-
Creates a result action that uses the contextual error handler if the result is failure.
- ResultAction<T> - Interface in ratpack.util
-
Convenience subtype for an action that takes a result.
- 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(String, 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(String, byte[]) - Method in interface ratpack.http.Response
-
Sends the response, using the given content type and byte array as the response body.
- send(InputStream) - 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 contents of the given input stream as the response body.
- send(String, InputStream) - Method in interface ratpack.http.Response
-
Sends the response, using the given content type and the content of the given input stream 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(String, 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
-
- sendFile(Background, String, Path) - Method in interface ratpack.http.Response
-
Sends the response, using the given content type and the content of the given type as the response body.
- sendFile(Background, String, BasicFileAttributes, Path) - Method in interface ratpack.http.Response
-
Sends the response, using the given content type and the content of the given type as the response body.
- server(Properties, Properties) - Method in class ratpack.launch.RatpackMain
-
- ServerErrorHandler - Interface in ratpack.error
-
An object that can deal with errors that occur during the processing of an exchange.
- ServiceUsingHandler - Class in ratpack.handling
-
Convenience handler super class that provides syntactic sugar for accessing contextual objects.
- ServiceUsingHandler() - Constructor for class ratpack.handling.ServiceUsingHandler
-
Constructor.
- ServiceUsingHandler.NoSuitableHandleMethodException - Exception in ratpack.handling
-
Exception thrown if the subclass doesn't provide a valid handle method.
- set(String, Object) - Method in interface ratpack.http.MutableHeaders
-
Sets the (only) value for the header with the specified name.
- set(String, Iterable<?>) - Method in interface ratpack.http.MutableHeaders
-
Sets a new header with the specified name and values.
- set(int) - Method in interface ratpack.http.Status
-
Update the status to be the given code, and the default message for that code.
- set(int, String) - Method in interface ratpack.http.Status
-
Update the status to be the given code and message.
- setDate(String, Date) - Method in interface ratpack.http.MutableHeaders
-
Set a header with the given date as the value.
- ssl(InputStream, String) - Method in class ratpack.launch.LaunchConfigBuilder
-
A convenience method for configuring an SSL context using a password-protected keystore file.
- ssl(URL, String) - Method in class ratpack.launch.LaunchConfigBuilder
-
A convenience method for configuring an SSL context using a password-protected keystore file.
- ssl(File, String) - Method in class ratpack.launch.LaunchConfigBuilder
-
A convenience method for configuring an SSL context using a password-protected keystore file.
- SSL_KEYSTORE_FILE - Static variable in class ratpack.launch.LaunchConfigFactory.Property
-
The absolute file path, URI or classpath location of the SSL keystore file.
- SSL_KEYSTORE_PASSWORD - Static variable in class ratpack.launch.LaunchConfigFactory.Property
-
The password for the SSL keystore file.
- sslContext(SSLContext) - Method in class ratpack.launch.LaunchConfigBuilder
-
The SSL context to use if the application serves content over HTTPS.
- sslContext(URL, String) - Static method in class ratpack.ssl.SSLContexts
-
Creates an SSL context using a password-protected keystore file.
- sslContext(File, String) - Static method in class ratpack.ssl.SSLContexts
-
Creates an SSL context using a password-protected keystore file.
- sslContext(InputStream, String) - Static method in class ratpack.ssl.SSLContexts
-
Creates an SSL context using a password-protected keystore file.
- SSLContexts - Class in ratpack.ssl
-
- start() - Method in class ratpack.launch.RatpackMain
-
- start() - Method in interface ratpack.server.RatpackServer
-
Starts the server, returning as soon as the server is up and ready to receive requests.
- status(int) - Method in interface ratpack.http.Response
-
Sets the status line of the response.
- status(int, String) - 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.
- Stopper - Interface in ratpack.server
-
The mechanism for stopping the application from within the application.
- SYSPROP_PREFIX_DEFAULT - Static variable in class ratpack.launch.LaunchConfigFactory
-
Value: "ratpack.".
- SYSPROP_PREFIX_PROPERTY - Static variable in class ratpack.launch.LaunchConfigFactory
-
Value: "ratpack.syspropPrefix".