- accept(ExecResult<? extends T>) - Method in interface ratpack.exec.Downstream
-
Signals this downstream, based on the given result.
- accept(Result<? extends T>) - Method in interface ratpack.exec.Downstream
-
Signals this downstream, based on the given result.
- accept(CompletableFuture<? extends T>) - Method in interface ratpack.exec.Downstream
-
Sends the result of the future downstream.
- accept(ListenableFuture<? extends T>) - Method in interface ratpack.exec.Downstream
-
Sends the result of the future downstream.
- accepts(String...) - Static method in class ratpack.handling.Handlers
-
A handler that delegates to the next handler if the request claims that it can accept one of the given types, otherwise raises a 406 client error.
- Action<T> - Interface in ratpack.func
-
A generic type for an object that does some work with a thing.
- add(ConfigSource) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source.
- add(Class<? super O>, O) - Method in interface ratpack.exec.Execution
-
Adds a registry entry that is available by the given type.
- add(TypeToken<? super O>, O) - Method in interface ratpack.exec.Execution
-
Adds a registry entry that is available by the given type.
- add(Object) - Method in interface ratpack.exec.Execution
-
Adds a registry entry.
- add(CharSequence, Object) - Method in interface ratpack.http.MutableHeaders
-
Adds a new header with the specified name and value.
- add(Class<? super O>, O) - Method in interface ratpack.http.Request
-
Adds a registry entry that is available by the given type.
- add(TypeToken<? super O>, O) - Method in interface ratpack.http.Request
-
Adds a registry entry that is available by the given type.
- add(Object) - Method in interface ratpack.http.Request
-
Adds a registry entry.
- add(Object) - Method in interface ratpack.registry.RegistryBuilder
-
Adds a registry entry.
- add(Class<? super O>, O) - Method in interface ratpack.registry.RegistryBuilder
-
Adds a registry entry that is available by the given type.
- add(TypeToken<? super O>, O) - Method in interface ratpack.registry.RegistryBuilder
-
Adds a registry entry that is available by the given type.
- add(Class<? super O>, O) - Method in interface ratpack.registry.RegistrySpec
-
Adds a registry entry that is available by the given type.
- add(TypeToken<? super O>, O) - Method in interface ratpack.registry.RegistrySpec
-
Adds a registry entry that is available by the given type.
- add(Object) - Method in interface ratpack.registry.RegistrySpec
-
Adds a registry entry.
- add(ConfigSource) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source.
- addInterceptor(ExecInterceptor, Block) - Method in interface ratpack.exec.Execution
-
Adds an interceptor that wraps the rest of the current execution segment and all future segments of this execution.
- addLazy(Class<O>, Supplier<? extends O>) - Method in interface ratpack.exec.Execution
-
Adds a lazily created entry to the registry.
- addLazy(TypeToken<O>, Supplier<? extends O>) - Method in interface ratpack.exec.Execution
-
Adds a lazily created entry to the registry.
- addLazy(Class<O>, Supplier<? extends O>) - Method in interface ratpack.http.Request
-
Adds a lazily created entry to the registry.
- addLazy(TypeToken<O>, Supplier<? extends O>) - Method in interface ratpack.http.Request
-
Adds a lazily created entry to the registry.
- addLazy(Class<O>, Supplier<? extends O>) - Method in interface ratpack.registry.RegistryBuilder
-
Adds a lazily created entry to the registry.
- addLazy(TypeToken<O>, Supplier<? extends O>) - Method in interface ratpack.registry.RegistryBuilder
-
Adds a lazily created entry to the registry.
- addLazy(Class<O>, Supplier<? extends O>) - Method in interface ratpack.registry.RegistrySpec
-
Adds a lazily created entry to the registry.
- addLazy(TypeToken<O>, Supplier<? extends O>) - Method in interface ratpack.registry.RegistrySpec
-
Adds a lazily created entry to the registry.
- addLazyAsync(Class<O>, Supplier<? extends Promise<? extends O>>) - Method in interface ratpack.registry.RegistrySpec
-
- addLazyAsync(TypeToken<O>, Supplier<? extends Promise<? extends O>>) - Method in interface ratpack.registry.RegistrySpec
-
- address(InetAddress) - Method in interface ratpack.server.ServerConfigBuilder
-
Sets the address to bind to.
- adler32(ServerConfig, String, String...) - Static method in class ratpack.file.FileSystemChecksumServices
-
Get checksum service with Adler32 calculation method.
- Adler32Checksummer - Class in ratpack.file.checksummer
-
Calculate checksum with Adler32 algorithm.
- Adler32Checksummer() - Constructor for class ratpack.file.checksummer.Adler32Checksummer
-
- all(Handler) - Method in interface ratpack.handling.Chain
-
Adds the given handler to this.
- all(Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- andThen(Function<? super O, ? extends V>) - Method in interface ratpack.func.BiFunction
-
- andThen(Function<? super O, ? extends T>) - Method in interface ratpack.func.Function
-
Joins this function with the given function.
- append(Action<? super O>) - Method in interface ratpack.func.Action
-
Returns a new action that executes this action and then the given action.
- APPLICATION_FORM - Static variable in interface ratpack.http.MediaType
-
"application/x-www-form-urlencoded".
- APPLICATION_JSON - Static variable in interface ratpack.http.MediaType
-
"application/json".
- apply(Function<? super Promise<T>, ? extends Promise<O>>) - Method in interface ratpack.exec.Promise
-
Applies the custom operation function to this promise.
- apply(InputStream) - Method in class ratpack.file.checksummer.Adler32Checksummer
-
Algorythm implementation.
- apply(InputStream) - Method in class ratpack.file.checksummer.MD5Checksummer
-
Algorythm implementation.
- apply(I1, I2) - Method in interface ratpack.func.BiFunction
-
- apply(I) - Method in interface ratpack.func.Function
-
The function implementation.
- apply(T) - Method in interface ratpack.func.Predicate
-
Tests the given value.
- asBool(K) - Method in interface ratpack.util.TypeCoercingMap
-
- asByte(K) - Method in interface ratpack.util.TypeCoercingMap
-
- asInt(K) - Method in interface ratpack.util.TypeCoercingMap
-
- asLong(K) - Method in interface ratpack.util.TypeCoercingMap
-
- asMultimap() - Method in interface ratpack.util.MultiValueMap
-
- asMultiValueMap() - Method in interface ratpack.http.Headers
-
- asShort(K) - Method in interface ratpack.util.TypeCoercingMap
-
- AutoCloseWebSocketHandler<T extends AutoCloseable> - Class in ratpack.websocket
-
- AutoCloseWebSocketHandler() - Constructor for class ratpack.websocket.AutoCloseWebSocketHandler
-
- cache() - Method in interface ratpack.exec.Promise
-
Caches the promised value (or error) and returns it to all subscribers.
- CachingFileSystemChecksumService - Class in ratpack.file
-
- CachingFileSystemChecksumService(FileSystemChecksumService) - Constructor for class ratpack.file.CachingFileSystemChecksumService
-
- cast(Object) - Static method in class ratpack.util.Types
-
Simply casts the argument to T.
- Chain - Interface in ratpack.handling
-
A chain is a write only builder for composing handlers.
- chain(Action<? super Chain>) - Method in interface ratpack.handling.Chain
-
Constructs a handler using the given action to define a chain.
- chain(Class<? extends Action<? super Chain>>) - Method in interface ratpack.handling.Chain
-
- chain(ServerConfig, Action<? super Chain>) - Static method in class ratpack.handling.Handlers
-
Builds a handler chain, with no backing registry.
- chain(ServerConfig, Registry, Action<? super Chain>) - Static method in class ratpack.handling.Handlers
-
Builds a chain, backed by the given registry.
- chain(Registry, Action<? super Chain>) - Static method in class ratpack.handling.Handlers
-
Builds a chain, backed by the given registry.
- chain(List<? extends Handler>) - Static method in class ratpack.handling.Handlers
-
Creates a handler chain from the given handlers.
- chain(Handler...) - Static method in class ratpack.handling.Handlers
-
Creates a handler chain from the given handlers.
- check(Registry) - Method in interface ratpack.health.HealthCheck
-
Checks the health of the component, providing a promise for the result.
- checksum(String) - Method in class ratpack.file.CachingFileSystemChecksumService
-
- checksum(String) - Method in interface ratpack.file.FileSystemChecksumService
-
Calculate checksum for file given by path relative to server's baseDir.
- chunkedJsonList(Registry, Publisher<T>) - Static method in class ratpack.jackson.Jackson
-
Renders a data stream as a JSON list, directly streaming the JSON.
- chunkedJsonList(ObjectWriter, Publisher<T>) - Static method in class ratpack.jackson.Jackson
-
Renders a data stream as a JSON list, directly streaming the JSON.
- clear() - Method in interface ratpack.http.MutableHeaders
-
Removes all headers from this message.
- clear() - Method in interface ratpack.util.MultiValueMap
-
- clientError(int) - Method in interface ratpack.handling.Context
-
- clientError(int) - Static method in class ratpack.handling.Handlers
-
- ClientErrorHandler - Interface in ratpack.error
-
The client error handler deals with errors that are due to the client doing something wrong.
- close() - Method in interface ratpack.exec.ExecController
-
Shuts down this controller, terminating the event loop and blocking threads.
- close() - Method in interface ratpack.websocket.WebSocket
-
- close(int, String) - Method in interface ratpack.websocket.WebSocket
-
- complete() - Method in interface ratpack.exec.Downstream
-
Signals that the upstream will not be providing a value, as it has terminated.
- complete() - Method in interface ratpack.stream.WriteStream
-
Signals that the stream has completed and that no more items (or errors) are to come.
- compose(Function<? super T, ? extends I>) - Method in interface ratpack.func.Function
-
Joins the given function with this function.
- ConfigData - Interface in ratpack.config
-
Configuration data for the application, potentially built from many sources.
- ConfigDataBuilder - Interface in ratpack.config
-
Configures how configuration data will be loaded and bound to objects.
- ConfigObject<T> - Interface in ratpack.config
-
- ConfigSource - Interface in ratpack.config
-
Allows providing custom sources of configuration data.
- configureObjectMapper(Action<ObjectMapper>) - Method in interface ratpack.config.ConfigDataBuilder
-
Configures the object mapper used for binding configuration data to arbitrary objects.
- configureObjectMapper(Action<ObjectMapper>) - Method in interface ratpack.server.ServerConfigBuilder
-
Configures the object mapper used for binding configuration data to arbitrary objects.
- connect(Downstream<T>) - Method in interface ratpack.exec.Promise
-
A low level hook for consuming the promised value.
- connect(Downstream<? super T>) - Method in interface ratpack.exec.Upstream
-
Connect the downstream.
- connect(Action<? super WebSocketSpec<T>>) - Method in interface ratpack.websocket.WebSocketConnector
-
- connectTimeoutMillis(int) - Method in interface ratpack.server.ServerConfigBuilder
-
The connect timeout of the channel.
- constant(T) - Static method in interface ratpack.func.Function
-
- constant(T) - Static method in class ratpack.stream.Streams
-
Creates a new publisher, that indefinitely streams the given object to all subscribers.
- contains(CharSequence) - Method in interface ratpack.http.Headers
-
Checks whether a header has been specified for the given value.
- contains(String) - Method in interface ratpack.http.Headers
-
Checks whether a header has been specified for the given value.
- contentType(CharSequence) - Method in interface ratpack.http.Response
-
- contentType(CharSequence) - Method in interface ratpack.http.ResponseMetaData
-
Sets the response Content-Type header.
- contentTypeIfNotSet(Supplier<CharSequence>) - Method in interface ratpack.http.Response
-
- contentTypeIfNotSet(CharSequence) - Method in interface ratpack.http.Response
-
- contentTypeIfNotSet(CharSequence) - Method in interface ratpack.http.ResponseMetaData
-
Sets the response Content-Type header, if it has not already been set.
- contentTypes(String...) - Static method in class ratpack.handling.Handlers
-
A handler that delegates to the next handler if the content type of the request is one of the given types, otherwise raises a 415 client error.
- Context - Interface in ratpack.handling
-
The context of an individual
Handler invocation.
- ContextualException - Interface in ratpack.error
-
A marker interface to indicate that if an exception has a cause, it is merely providing service.
- cookie(String, String) - Method in interface ratpack.http.ResponseMetaData
-
Creates a new cookie with the given name and value.
- copy(Headers) - Method in interface ratpack.http.MutableHeaders
-
- create() - Method in interface ratpack.func.Factory
-
Creates a new object.
- current() - Static method in interface ratpack.exec.ExecController
-
Returns the execution controller bound to the current thread, if this is a Ratpack managed compute thread.
- current() - Static method in interface ratpack.exec.Execution
-
Provides the currently execution execution.
- embedded() - Static method in interface ratpack.server.ServerConfig
-
Creates a builder configured for development mode and an ephemeral port.
- empty() - Static method in interface ratpack.registry.Registry
-
Returns an empty registry.
- empty() - Static method in interface ratpack.util.MultiValueMap
-
- env() - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for environment variables starting with the prefix
"RATPACK_".
- env(String) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for environment variables starting with the specified prefix.
- env(String, Function<String, String>) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for environment variables starting with the specified prefix.
- env(EnvironmentParser) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for environment variables using custom parsing logic.
- env() - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for environment variables starting with the prefix
"RATPACK_".
- env(String) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for environment variables starting with the specified prefix.
- env(String, Function<String, String>) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for environment variables starting with the specified prefix.
- env(EnvironmentParser) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for environment variables using custom parsing logic.
- EnvironmentParser - Interface in ratpack.config
-
Strategy for parsing a set of environment variables into a form appropriate for use in a
ConfigSource.
- equals(Object) - Method in class ratpack.func.Pair
-
A pair is equal if its left and right items are equal to the left and right items of this respectively.
- error(Context, int) - Method in interface ratpack.error.ClientErrorHandler
-
Handle a client error.
- error(Context, Throwable) - Method in interface ratpack.error.ServerErrorHandler
-
Processes the given exception that occurred processing the given context.
- error(Throwable) - Method in interface ratpack.exec.Downstream
-
Signals the unsuccessful production of the upstream value.
- error(Throwable) - Static method in interface ratpack.exec.Promise
-
Creates a failed promise with the given error.
- error(Throwable) - Static method in interface ratpack.exec.Result
-
Creates a new error result.
- error(Throwable) - Method in interface ratpack.handling.Context
-
- error(Throwable) - Method in interface ratpack.stream.WriteStream
-
Signals a stream error.
- Event<T> - Interface in ratpack.sse
-
An individual event in a server sent event stream.
- event(Function<? super T, String>) - Method in interface ratpack.sse.Event
-
Sets the “event” value of the event to the return value of the given function.
- event(String) - Method in interface ratpack.sse.Event
-
Specify the event type for the server sent event.
- eventLoop(EventLoop) - Method in interface ratpack.exec.ExecBuilder
-
Specifies that the execution must run on the given event loop.
- Exceptions - Class in ratpack.util
-
Utility methods for dealing with exceptions.
- Exceptions() - Constructor for class ratpack.util.Exceptions
-
- exec(Block) - Static method in class ratpack.exec.Blocking
-
- exec() - Method in interface ratpack.exec.ExecController
-
- ExecBuilder - Interface in ratpack.exec
-
- ExecController - Interface in ratpack.exec
-
The exec controller manages the execution of operations.
- ExecInterceptor - Interface in ratpack.exec
-
Intercepts execution, primarily for traceability and recording metrics.
- ExecInterceptor.ExecType - Enum in ratpack.exec
-
The execution type (i.e.
- ExecResult<T> - Interface in ratpack.exec
-
The result of an execution.
- execute(T) - Method in interface ratpack.func.Action
-
Executes the action against the given thing.
- execute(T, U) - Method in interface ratpack.func.BiAction
-
Executes the action against the given thing.
- execute() - Method in interface ratpack.func.Block
-
Execute the action.
- Execution - Interface in ratpack.exec
-
A logical stream of execution, which is potentially serialized over many threads.
- ExecutionException - Exception in ratpack.exec
-
Thrown when an execution sequence is invalid.
- ExecutionException(String) - Constructor for exception ratpack.exec.ExecutionException
-
Constructor.
- expireCookie(String) - Method in interface ratpack.http.ResponseMetaData
-
Adds a cookie to the response with a 0 max-age, forcing the client to expire it.
- gate(Publisher<T>, Action<? super Runnable>) - Static method in class ratpack.stream.Streams
-
Allows requests from the subscriber of the return publisher to be withheld from the given publisher until an externally defined moment.
- gate(Action<? super Runnable>) - Method in interface ratpack.stream.TransformablePublisher
-
- generate(Context) - Method in interface ratpack.handling.RequestId.Generator
-
Generate a request ID with a “unique” ID value.
- get(String, Class<O>) - Method in interface ratpack.config.ConfigData
-
Binds a segment of the configuration data to the specified type.
- get(Class<O>) - Method in interface ratpack.config.ConfigData
-
Binds the root of the configuration data to the specified type.
- get(Factory<T>) - Static method in class ratpack.exec.Blocking
-
Performs a blocking operation on a separate thread, returning a promise for its value.
- get(Block) - Method in interface ratpack.handling.ByMethodSpec
-
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 that delegates to the given handler
if the relative path matches the given path and the request
HTTPMethod is GET.
- get(String, Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- get(Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler
if the request HTTPMethod is GET and the path is at the
current root.
- get(Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- 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(URI, Action<? super RequestSpec>) - Method in interface ratpack.http.client.HttpClient
-
An asynchronous method to do a GET HTTP request, the URL and all details of the request are configured by the Action acting on the RequestSpec, but the method will be defaulted to a GET.
- get(URI) - Method in interface ratpack.http.client.HttpClient
-
- get(CharSequence) - Method in interface ratpack.http.Headers
-
Returns the header value with the specified header name.
- 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(TypeToken<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.
- getActive() - Method in interface ratpack.exec.Throttle
-
How many throttled promises are currently executing.
- getAddress(Context) - Method in interface ratpack.server.PublicAddress
-
The advertised public address.
- getAddress() - Method in interface ratpack.server.ServerConfig
-
The address of the interface that the application should bind to.
- getAll(CharSequence) - Method in interface ratpack.http.Headers
-
Returns all of the header values with the specified header name.
- 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
-
Returns all of the objects whose declared type is assignment compatible with the given type.
- getAll(TypeToken<O>) - Method in interface ratpack.registry.Registry
-
Returns all of the objects whose declared type is assignment compatible with the given type.
- 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
-
- getAsConfigObject(String, Class<O>) - Method in interface ratpack.config.ConfigData
-
Binds a segment of the configuration data to the specified type.
- getBaseDir() - Method in interface ratpack.server.ServerConfig
-
- 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.
- getBlockingExecutor() - Method in interface ratpack.exec.ExecController
-
- getBody() - Method in interface ratpack.http.client.ReceivedResponse
-
- getBody() - Method in interface ratpack.http.client.RequestSpec
-
The body of the request, used for specifying the body content.
- getBody() - Method in interface ratpack.http.client.StreamedResponse
-
- getBody() - Method in interface ratpack.http.Request
-
The body of the request.
- getBoundTo() - Method in interface ratpack.path.PathBinding
-
The path of the request path that was bound to.
- getBuffer() - Method in interface ratpack.http.TypedData
-
The raw data as a (unmodifiable) buffer.
- getBytes() - Method in interface ratpack.http.TypedData
-
The raw data as bytes.
- getChannel() - Method in interface ratpack.handling.direct.DirectChannelAccess
-
The channel.
- getCharset() - Method in interface ratpack.http.MediaType
-
The value of the "charset" parameter.
- getCharset(String) - Method in interface ratpack.http.MediaType
-
The value of the "charset" parameter, or the given default value of no charset was specified.
- getClosedAt() - Method in interface ratpack.handling.RequestOutcome
-
The time at when this request was dealt with from the application's point of view.
- getCode() - Method in interface ratpack.http.Status
-
The status code.
- getConfigSources() - Method in interface ratpack.config.ConfigDataBuilder
-
Returns the config sources used for configuration binding.
- getConnection() - Method in interface ratpack.websocket.WebSocketMessage
-
- getConnectTimeoutMillis() - Method in interface ratpack.server.ServerConfig
-
The connect timeout of the channel.
- getContentType(String) - Method in interface ratpack.file.MimeTypes
-
Calculate the mime type for the given file.
- getContentType() - Method in interface ratpack.http.Request
-
The type of the data as specified in the "content-type" header.
- getContentType() - Method in class ratpack.http.ResponseChunks
-
The intended value of the content-type header.
- getContentType() - Method in interface ratpack.http.TypedData
-
The type of the data.
- getContentType() - Method in exception ratpack.parse.NoSuchParserException
-
The content type of the request.
- getContentType() - Method in interface ratpack.parse.Parser
-
The content type that this parser knows how to deserialize.
- getContentType() - Method in class ratpack.parse.ParserSupport
-
The content type that this parser knows how to deserialize.
- getContext() - Method in interface ratpack.handling.Context
-
Returns this.
- getController() - Method in interface ratpack.exec.Execution
-
The execution controller that this execution is associated with.
- getCookies() - Method in interface ratpack.http.Request
-
The cookies that were sent with the request.
- getCookies() - Method in interface ratpack.http.ResponseMetaData
-
The cookies that are to be part of the response.
- getData() - Method in interface ratpack.sse.Event
-
The “data” value of the event.
- getDate(CharSequence) - Method in interface ratpack.http.Headers
-
Returns the header value as a date with the specified header name.
- getDate(String) - Method in interface ratpack.http.Headers
-
Returns the header value as a date with the specified header name.
- getDirectChannelAccess() - Method in interface ratpack.handling.Context
-
Provides direct access to the backing Netty channel.
- getError() - Method in class ratpack.health.HealthCheck.Result
-
The exception representing an unhealthy check, may be null.
- getEvent() - Method in interface ratpack.sse.Event
-
The “event” value of the event.
- getEventLoop() - Method in interface ratpack.exec.Execution
-
- getEventLoopGroup() - Method in interface ratpack.exec.ExecController
-
The event loop group used by Netty for this application.
- getExecution() - Method in interface ratpack.handling.Context
-
The execution of handling this request.
- getExecutor() - Method in interface ratpack.exec.ExecController
-
The event loop (i.e.
- 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
-
The name given for the file.
- getFileSystemBinding() - Method in interface ratpack.handling.Context
-
- getHeaders() - Method in interface ratpack.http.client.ReceivedResponse
-
- getHeaders() - Method in interface ratpack.http.client.RequestSpec
-
- getHeaders() - Method in interface ratpack.http.client.StreamedResponse
-
- getHeaders() - Method in interface ratpack.http.Request
-
The request headers.
- getHeaders() - Method in interface ratpack.http.ResponseMetaData
-
The response headers.
- getHeaders() - Method in interface ratpack.http.SentResponse
-
The headers that were sent in the response.
- getId() - Method in interface ratpack.handling.RequestId
-
The of the request.
- getId() - Method in interface ratpack.sse.Event
-
The “id” value of the event.
- getInputStream() - Method in interface ratpack.http.TypedData
-
An input stream of the data.
- getItem() - Method in interface ratpack.sse.Event
-
The stream item that this event
- getItem() - Method in interface ratpack.stream.StreamEvent
-
The data, if this event represents an emission of data.
- getLeft() - Method in class ratpack.func.Pair
-
The left item of the pair.
- getLocalAddress() - Method in interface ratpack.http.Request
-
The address of the local network interface that received the request.
- getMaxContentLength() - Method in interface ratpack.server.ServerConfig
-
The max content length to use for the HttpObjectAggregator.
- getMaxMessagesPerRead() - Method in interface ratpack.server.ServerConfig
-
The maximum number of messages to read per read loop.
- getMessage() - Method in class ratpack.health.HealthCheck.Result
-
Any message provided as part of the check, may be null.
- 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.health.HealthCheck
-
The unique name of the health check.
- getName() - Method in class ratpack.health.HealthCheckHandler
-
The name of the path token that may indicate a particular health check to execute.
- getName() - Method in interface ratpack.http.HttpMethod
-
The name of the method, always in upper case.
- getName() - Method in interface ratpack.server.Service
-
The name of this service, used for display purposes.
- getNames() - Method in interface ratpack.http.Headers
-
All header names.
- getNettyHeaders() - Method in interface ratpack.http.Headers
-
Returns the headers in their Netty compliant form.
- getNettyStatus() - Method in interface ratpack.http.Status
-
The status as Netty's type.
- getNumThreads() - Method in interface ratpack.exec.ExecController
-
The number of threads that will be used for computation.
- getObject() - Method in interface ratpack.config.ConfigObject
-
- getObject() - Method in interface ratpack.jackson.JsonRender
-
The underlying object to be rendered.
- getObjectMapper() - Method in interface ratpack.config.ConfigDataBuilder
-
Returns the object mapper used for configuration binding.
- getObjectMapper() - Method in interface ratpack.jackson.JsonParseOpts
-
- getObjectWriter() - Method in interface ratpack.jackson.JsonRender
-
The object writer to use to render the object as JSON.
- getOpenResult() - Method in interface ratpack.websocket.WebSocketClose
-
- getOpenResult() - Method in interface ratpack.websocket.WebSocketMessage
-
- getOpts() - Method in exception ratpack.parse.NoSuchParserException
-
The parse opts.
- getOpts() - Method in class ratpack.parse.Parse
-
The type of object that provides options/configuration for the parsing.
- getOptsType() - Method in interface ratpack.parse.Parser
-
The type of option object that this parser accepts.
- getOptsType() - Method in class ratpack.parse.ParserSupport
-
The type of option object that this parser accepts.
- getParams() - Method in interface ratpack.http.MediaType
-
The parameters of the mime type.
- 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.config.ConfigObject
-
- 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.server.ServerConfig
-
The port that the application should listen to requests on.
- getProtocol() - Method in interface ratpack.http.Request
-
The HTTP protocol of the request.
- getPublicAddress() - Method in interface ratpack.server.ServerConfig
-
The public address of the site used for redirects.
- getPublisher() - Method in class ratpack.sse.ServerSentEvents
-
The stream of events.
- 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.
- getRawUri() - Method in interface ratpack.http.Request
-
The raw URI of the request.
- getReceiveBufferSize() - Method in interface ratpack.server.ServerConfig
-
- getRegistry() - Method in interface ratpack.exec.ExecResult
-
The execution registry.
- getRegistry() - Method in interface ratpack.handling.Chain
-
The registry that backs this chain.
- getRegistry() - Method in interface ratpack.server.StartEvent
-
The server registry.
- getRegistry() - Method in interface ratpack.server.StopEvent
-
The server registry.
- getRemoteAddress() - Method in interface ratpack.http.Request
-
The address of the client that initiated the request.
- getRequest() - Method in interface ratpack.handling.Context
-
The HTTP request.
- getRequest() - Method in interface ratpack.handling.RequestOutcome
-
The request.
- getRequestAmount() - Method in interface ratpack.stream.StreamEvent
-
The request amount, if this event represents a request.
- getRequestNum() - Method in interface ratpack.stream.YieldRequest
-
- getRequiredConfig() - Method in interface ratpack.server.ServerConfig
-
The config objects that were declared as required when this server config was built.
- getResponse() - Method in interface ratpack.handling.Context
-
The HTTP response.
- getResponse() - Method in interface ratpack.handling.RequestOutcome
-
The response.
- getResults() - Method in class ratpack.health.HealthCheckResults
-
The results.
- getRight() - Method in class ratpack.func.Pair
-
The right item of the pair.
- getRootNode() - Method in interface ratpack.config.ConfigData
-
- getScheme() - Method in interface ratpack.server.RatpackServer
-
The URL scheme the server uses.
- getServerConfig() - Method in interface ratpack.handling.Chain
-
The server config of the application that this chain is being created for.
- getServerConfig() - Method in interface ratpack.handling.Context
-
The server configuration for the application.
- getSize() - Method in interface ratpack.exec.Throttle
-
The size of this throttle.
- getSSLContext() - Method in interface ratpack.server.ServerConfig
-
The SSL context to use if the application will serve content over HTTPS.
- getStatus() - Method in interface ratpack.http.client.ReceivedResponse
-
- getStatus() - Method in interface ratpack.http.client.StreamedResponse
-
- getStatus() - Method in interface ratpack.http.ResponseMetaData
-
The status that will be part of the response when sent.
- getStatus() - Method in interface ratpack.http.SentResponse
-
The status line of the response.
- getStatusCode() - Method in interface ratpack.http.client.ReceivedResponse
-
- getStatusCode() - Method in interface ratpack.http.client.StreamedResponse
-
- getSubscriberNum() - Method in interface ratpack.stream.YieldRequest
-
- getSubscriptionId() - Method in interface ratpack.stream.StreamEvent
-
The opaque id of the subscription that this event relates to.
- getText() - Method in interface ratpack.http.TypedData
-
The data as text.
- getText(Charset) - Method in interface ratpack.http.TypedData
-
- getText() - Method in interface ratpack.websocket.WebSocketMessage
-
- getThreads() - Method in interface ratpack.server.ServerConfig
-
The number of threads for handling application requests.
- getThrottle() - Method in class ratpack.health.HealthCheckHandler
-
The throttle for executing health checks.
- getThrowable() - Method in interface ratpack.exec.Result
-
The error exception.
- getThrowable() - Method in interface ratpack.stream.StreamEvent
-
The error, if this event represents an error.
- getTimestamp() - Method in interface ratpack.http.Request
-
The timestamp for when this request was received.
- getTokens() - Method in interface ratpack.path.PathBinding
-
Any tokens that the binding has extracted from the path.
- getType() - Method in interface ratpack.config.ConfigObject
-
- getType() - Method in interface ratpack.http.MediaType
-
The type without parameters.
- getType() - Method in exception ratpack.parse.NoSuchParserException
-
The target type.
- getType() - Method in class ratpack.parse.Parse
-
The type of object to construct from the request body.
- getType() - Method in interface ratpack.render.RenderableDecorator
-
The type of objects that this decorator decorates.
- getType() - Method in class ratpack.render.RenderableDecoratorSupport
-
The type of objects that this decorator decorates.
- 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).
- getUrl() - Method in interface ratpack.http.client.RequestSpec
-
- getUserIdentifier() - Method in interface ratpack.auth.UserIdentifier
-
The unique user identifier.
- getValue() - Method in interface ratpack.exec.Result
-
The result value.
- getValueOrThrow() - Method in interface ratpack.exec.Result
-
Returns the value if this is a success result, or throws the exception if it's an error.
- getVersion() - Static method in class ratpack.util.RatpackVersion
-
The version of Ratpack.
- getViewClass() - Method in interface ratpack.jackson.JsonRender
-
The view class to use when rendering the object.
- getWaiting() - Method in interface ratpack.exec.Throttle
-
The number of throttled promises that are waiting to execute (that is, the queue size).
- getWriteSpinCount() - Method in interface ratpack.server.ServerConfig
-
- id(Function<? super T, String>) - Method in interface ratpack.sse.Event
-
Sets the “id” value of the event to the return value of the given function.
- id(String) - Method in interface ratpack.sse.Event
-
Specify the event id for the server sent event.
- identity() - Static method in interface ratpack.func.Function
-
Returns an identity function (return value always same as input).
- ignoreArg(Block) - Static method in interface ratpack.func.Action
-
- indexFiles(String...) - Method in interface ratpack.file.FileHandlerSpec
-
The files that should be used when a request is made for a directory.
- Init() - Constructor for class ratpack.jackson.Jackson.Init
-
- InjectionHandler - Class in ratpack.handling
-
A super class that removes the boiler plate of retrieving objects from the context registry by injecting them based on a method signature.
- InjectionHandler() - Constructor for class ratpack.handling.InjectionHandler
-
Constructor.
- InjectionHandler.NoSuitableHandleMethodException - Exception in ratpack.handling
-
Exception thrown if the subclass doesn't provide a valid handle method.
- insert(Action<? super Chain>) - Method in interface ratpack.handling.Chain
-
Inserts the given nested handler chain.
- insert(Class<? extends Action<? super Chain>>) - Method in interface ratpack.handling.Chain
-
- 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.
- instance() - Static method in class ratpack.logging.MDCInterceptor
-
- intercept(Execution, ExecInterceptor.ExecType, Block) - Method in interface ratpack.exec.ExecInterceptor
-
Intercepts the “rest” of the execution on the current thread.
- intercept(Execution, ExecInterceptor.ExecType, Block) - Method in class ratpack.logging.MDCInterceptor
-
- isAjaxRequest() - Method in interface ratpack.http.Request
-
A flag representing whether or not the request originated via AJAX.
- isCancel() - Method in interface ratpack.stream.StreamEvent
-
Whether or not this event represents cancellation of the stream.
- isComplete() - Method in interface ratpack.exec.ExecResult
-
Is the result that the execution completed without a value being returned.
- isComplete() - Method in interface ratpack.stream.StreamEvent
-
Whether or not this event represents the completion of the stream.
- isData() - Method in interface ratpack.stream.StreamEvent
-
Whether or not this event represents an emission of data.
- isDelete() - Method in interface ratpack.http.HttpMethod
-
True if the method is DELETE.
- isDevelopment() - Method in interface ratpack.server.ServerConfig
-
Whether or not the server is in "development" mode.
- isEmpty() - Method in interface ratpack.http.MediaType
-
True if this represents the absence of a value (i.e.
- isError() - Method in interface ratpack.exec.Result
-
True if this was an error result.
- isError() - Method in interface ratpack.stream.StreamEvent
-
Whether or not this event represents an error.
- 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.
- isHasBaseDir() - Method in interface ratpack.server.ServerConfig
-
Whether or not the base dir of the application has been set.
- isHead() - Method in interface ratpack.http.HttpMethod
-
True if the method is HEAD.
- isHealthy() - Method in class ratpack.health.HealthCheck.Result
-
Was the component being checked healthy?
- isHtml() - Method in interface ratpack.http.MediaType
-
- isIncludeQueryParams() - Method in interface ratpack.form.FormParseOpts
-
Whether to include the query parameters from the request in the parsed form.
- isJson() - Method in interface ratpack.http.MediaType
-
- isManagedThread() - Method in interface ratpack.exec.ExecController
-
Indicates whether the current thread is managed by this execution controller.
- 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.
- isReload() - Method in interface ratpack.server.StartEvent
-
If the server is starting in response to a reload (during development), as opposed to for the first time.
- isReload() - Method in interface ratpack.server.StopEvent
-
If the server is stopping in response to a reload (during development), as opposed to for the first time.
- isRequest() - Method in interface ratpack.stream.StreamEvent
-
Whether or not this event represents a request for more data.
- isRequireClientSslAuth() - Method in interface ratpack.server.ServerConfig
-
- isRunning() - Method in interface ratpack.server.RatpackServer
-
Returns true if the server is running.
- isSuccess() - Method in interface ratpack.exec.Result
-
True if this was a success result.
- isText() - Method in interface ratpack.http.MediaType
-
True if this type starts with "text/".
- item(T) - Method in interface ratpack.stream.WriteStream
-
Emit an item.
- itemMap(Action<? super O>) - Method in interface ratpack.stream.WriteStream
-
Creates a new write stream that passes error and complete signals on to this stream, but passes items to the given action.
- of(Action<? super ConfigDataBuilder>) - Static method in interface ratpack.config.ConfigData
-
Builds a new config data with the default object mapper, from the given definition.
- of(ObjectMapper, Action<? super ConfigDataBuilder>) - Static method in interface ratpack.config.ConfigData
-
Builds a new config data with the specified object mapper, from the given definition.
- of(Block) - Static method in interface ratpack.exec.Operation
-
- of(Upstream<T>) - Static method in interface ratpack.exec.Promise
-
Creates a promise for value that will be available later.
- of(L, R) - Static method in class ratpack.func.Pair
-
Creates a new pair.
- of(String, Function<? super Registry, ? extends Promise<HealthCheck.Result>>) - Static method in interface ratpack.health.HealthCheck
-
Convenience factory for health check implementations.
- of(int, String) - Static method in interface ratpack.http.Status
-
Creates a new status object.
- of(int) - Static method in interface ratpack.http.Status
-
Creates a new status object.
- of(TypeToken<T>, O) - Static method in class ratpack.parse.Parse
-
Creates a parse object.
- of(TypeToken<T>) - Static method in class ratpack.parse.Parse
-
- of(Class<T>, O) - Static method in class ratpack.parse.Parse
-
Creates a parse object.
- of(Class<T>) - Static method in class ratpack.parse.Parse
-
- of(boolean, Action<? super PathBinderBuilder>) - Static method in interface ratpack.path.PathBinder
-
Builds a path binder programmatically.
- of(Action<? super RegistrySpec>) - Static method in interface ratpack.registry.Registry
-
Builds a registry from the given action.
- of(Class<T>, BiFunction<? super Context, ? super T, ? extends T>) - Static method in interface ratpack.render.RenderableDecorator
-
Creates a renderable decorator implementation for the given type that uses the function as decorator.
- of(Class<T>, BiConsumer<? super Context, ? super T>) - Static method in interface ratpack.render.Renderer
-
Creates a renderer implementation from the given arguments.
- of(Action<? super RatpackServerSpec>) - Static method in interface ratpack.server.RatpackServer
-
Creates a new, unstarted, Ratpack server from the given definition.
- of(Action<? super ServerConfigBuilder>) - Static method in interface ratpack.server.ServerConfig
-
- ofAsync(Class<T>, BiFunction<? super Context, ? super T, ? extends Promise<T>>) - Static method in interface ratpack.render.RenderableDecorator
-
Creates a renderable decorator implementation for the given type that uses the function as decorator.
- ofLazy(Factory<T>) - Static method in interface ratpack.exec.Promise
-
Creates a promise for value produced by the given factory.
- ofSize(int) - Static method in interface ratpack.exec.Throttle
-
Create a new throttle of the given size.
- OK - Static variable in interface ratpack.http.Status
-
- on(Promise<T>) - Static method in class ratpack.exec.Blocking
-
Blocks execution waiting for this promise to complete and returns the promised value.
- onCleanup(AutoCloseable) - Method in interface ratpack.exec.Execution
-
- onClose(Action<? super RequestOutcome>) - Method in interface ratpack.handling.Context
-
Registers a callback to be notified when the request for this context is “closed” (i.e.
- onClose(WebSocketClose<T>) - Method in class ratpack.websocket.AutoCloseWebSocketHandler
-
- onClose(WebSocketClose<T>) - Method in interface ratpack.websocket.WebSocketHandler
-
- onClose(Action<WebSocketClose<T>>) - Method in interface ratpack.websocket.WebSocketSpec
-
- onComplete(Block) - Method in interface ratpack.exec.Downstream
-
- onComplete(Action<? super Execution>) - Method in interface ratpack.exec.ExecBuilder
-
Specifies the completion callback for the execution.
- oneCookie(String) - Method in interface ratpack.http.Request
-
Returns the value of the cookie with the specified name if it was sent.
- onError(Action<? super Throwable>) - Method in interface ratpack.config.ConfigDataBuilder
-
Sets the error all that will be used for added configuration sources.
- onError(Action<? super Throwable>) - Method in interface ratpack.exec.Downstream
-
- onError(Action<? super Throwable>) - Method in interface ratpack.exec.ExecBuilder
-
Specify the top level error handler for the execution.
- onError(BiAction<? super Execution, ? super Throwable>) - Method in interface ratpack.exec.ExecBuilder
-
Specify the top level error handler for the execution.
- onError(Action<? super Throwable>) - Method in interface ratpack.exec.Operation
-
- onError(Action<? super Throwable>) - Method in interface ratpack.exec.Promise
-
Specifies the action to take if the an error occurs trying to produce the promised value.
- onError(Action<? super Throwable>) - Method in interface ratpack.server.ServerConfigBuilder
-
Sets the error all that will be used for added configuration sources.
- onlyIf(Predicate<? super Context>, Handler) - Method in interface ratpack.handling.Chain
-
Invokes the given handler only if the predicate passes.
- onlyIf(Predicate<? super Context>, Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- onlyIf(Predicate<? super Context>, Handler) - Static method in class ratpack.handling.Handlers
-
Creates a handler that delegates to the given handler if the predicate applies to the context.
- onMessage(WebSocketMessage<T>) - Method in class ratpack.websocket.AutoCloseWebSocketHandler
-
- onMessage(WebSocketMessage<T>) - Method in interface ratpack.websocket.WebSocketHandler
-
- onMessage(Action<WebSocketMessage<T>>) - Method in interface ratpack.websocket.WebSocketSpec
-
- onNull(Block) - Method in interface ratpack.exec.Promise
-
A convenience shorthand for
routing null values.
- onOpen(WebSocket) - Method in class ratpack.websocket.AutoCloseWebSocketHandler
-
- onOpen(WebSocket) - Method in interface ratpack.websocket.WebSocketHandler
-
- onRedirect(Function<? super ReceivedResponse, Action<? super RequestSpec>>) - Method in interface ratpack.http.client.RequestSpec
-
Specifies a function to invoke when a redirectable response is received.
- onStart(Action<? super Execution>) - Method in interface ratpack.exec.ExecBuilder
-
Specifies an action to be taken just before the execution starts.
- onStart(StartEvent) - Method in interface ratpack.server.Service
-
Server startup event.
- onStop(StopEvent) - Method in interface ratpack.server.Service
-
Server stop event.
- onSuccess(Action<? super O>) - Method in interface ratpack.exec.Downstream
-
- onYield(Runnable) - Method in interface ratpack.exec.Promise
-
Registers a listener that is invoked when this promise is initiated.
- op(Block) - Static method in class ratpack.exec.Blocking
-
- Operation - Interface in ratpack.exec
-
A logical operation.
- operation() - Method in interface ratpack.exec.Promise
-
- operation(Action<? super T>) - Method in interface ratpack.exec.Promise
-
- optionalToken(String) - Method in interface ratpack.path.PathBinderBuilder
-
Add an optional token to the path.
- optionalTokenWithPattern(String, String) - Method in interface ratpack.path.PathBinderBuilder
-
Add a regular expression parameterized named optional token to the path.
- OverlappingExecutionException - Exception in ratpack.exec
-
An instance of this exception will be logged when execution overlaps.
- OverlappingExecutionException(String) - Constructor for exception ratpack.exec.OverlappingExecutionException
-
Constructor.
- OverlappingExecutionException(String, Throwable) - Constructor for exception ratpack.exec.OverlappingExecutionException
-
Constructor.
- Pair<L,R> - Class in ratpack.func
-
A generic pair implementation that can be used to cumulatively aggregate a data structure during a promise pipeline.
- pair(L, R) - Static method in class ratpack.func.Pair
-
Creates a new pair.
- params(String...) - Method in interface ratpack.http.HttpUrlBuilder
-
Add some query params to the URL.
- params(Action<? super ImmutableMultimap.Builder<String, Object>>) - Method in interface ratpack.http.HttpUrlBuilder
-
Add some query params to the URL.
- params(Map<String, ?>) - Method in interface ratpack.http.HttpUrlBuilder
-
Add some query params to the URL.
- params(Multimap<String, ?>) - Method in interface ratpack.http.HttpUrlBuilder
-
Add some query params to the URL.
- parse(Class<T>) - Method in interface ratpack.handling.Context
-
Parse the request into the given type, using no options (or more specifically an instance of
NullParseOpts as the options).
- parse(TypeToken<T>) - Method in interface ratpack.handling.Context
-
Parse the request into the given type, using no options (or more specifically an instance of
NullParseOpts as the options).
- parse(Class<T>, O) - Method in interface ratpack.handling.Context
-
- parse(TypeToken<T>, O) - Method in interface ratpack.handling.Context
-
- parse(Parse<T, O>) - Method in interface ratpack.handling.Context
-
Parses the request body into an object.
- parse(TypedData, Parse<T, O>) - Method in interface ratpack.handling.Context
-
Parses the provided request body into an object.
- parse(Context, TypedData, Parse<T, NullParseOpts>) - Method in class ratpack.parse.NoOptParserSupport
-
- parse(Context, TypedData, TypeToken<T>) - Method in class ratpack.parse.NoOptParserSupport
-
The parser implementation.
- Parse<T,O> - Class in ratpack.parse
-
The specification of a particular parse.
- parse(Context, TypedData, Parse<T, O>) - Method in interface ratpack.parse.Parser
-
Deserializes the request body of the context into an object.
- parse(String, boolean) - Static method in interface ratpack.path.PathBinder
-
Creates a path binder by parsing the given path binding specification.
- ParseException - Exception in ratpack.parse
-
A generic super type for exceptions indicate something when wrong for a parse operation.
- ParseException(String) - Constructor for exception ratpack.parse.ParseException
-
Constructor.
- ParseException(String, Throwable) - Constructor for exception ratpack.parse.ParseException
-
Constructor.
- parser(ObjectMapper) - Static method in class ratpack.jackson.Jackson.Init
-
The parser.
- Parser<O> - Interface in ratpack.parse
-
A parser converts a request body into an object.
- ParserException - Exception in ratpack.parse
-
Wraps an exception thrown by a parser while parsing.
- ParserException(Parser<?>, Throwable) - Constructor for exception ratpack.parse.ParserException
-
Constructor.
- ParserSupport<O> - Class in ratpack.parse
-
A convenience superclass for
Parser implementations.
- ParserSupport(String) - Constructor for class ratpack.parse.ParserSupport
-
Constructor.
- patch(Block) - Method in interface ratpack.handling.ByMethodSpec
-
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 that delegates to the given handler if
the relative path matches the given path and the request HTTPMethod
is PATCH.
- patch(String, Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- patch(Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if
the request HTTPMethod is PATCH and the path is at the current root.
- patch(Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- 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) - Method in interface ratpack.file.FileHandlerSpec
-
Specifies the request path to bind to for serving files.
- path(String, Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if the relative path
matches the given path exactly.
- path(Handler) - Method in interface ratpack.handling.Chain
-
- path(String, Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- path(Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- 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.http.HttpUrlBuilder
-
Appends some path to the URL.
- path(String) - Method in interface ratpack.websocket.WebSocketSpec
-
- PathBinder - Interface in ratpack.path
-
A path binder binds to a request path, extracting information from it.
- PathBinderBuilder - Interface in ratpack.path
-
A builder to generate a
PathBinder from a list of tokens and literals.
- 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.
- periodically(ScheduledExecutorService, Duration, Function<Integer, T>) - Static method in class ratpack.stream.Streams
-
Executes the given function periodically, publishing the return value to the subscriber.
- periodically(Registry, Duration, Function<Integer, T>) - Static method in class ratpack.stream.Streams
-
- PLAIN_TEXT_UTF8 - Static variable in interface ratpack.http.MediaType
-
"text/plain;charset=utf-8".
- plainText(Block) - Method in interface ratpack.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/plain".
- port(int) - Method in interface ratpack.http.HttpUrlBuilder
-
Sets the port to the given value.
- port(int) - Method in interface ratpack.server.ServerConfigBuilder
-
Sets the port to listen for requests on.
- post(Block) - Method in interface ratpack.handling.ByMethodSpec
-
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 that delegates to the given handler if
the relative path matches the given path and the request HTTPMethod
is POST.
- post(String, Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- post(Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if
the request HTTPMethod is POST and the path is at the current root.
- post(Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- 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.
- post(URI, Action<? super RequestSpec>) - Method in interface ratpack.http.client.HttpClient
-
An asynchronous method to do a POST HTTP request, the URL and all details of the request are configured by the Action acting on the RequestSpec, but the method will be defaulted to a POST.
- Predicate<T> - Interface in ratpack.func
-
A function that returns true or false for a value.
- prefix(String, Action<? super Chain>) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handlers if the
relative path starts with the given prefix.
- prefix(String, Class<? extends 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.
- prepend(Action<? super O>) - Method in interface ratpack.func.Action
-
Returns a new action that executes the given action and then this action.
- prepend(Handler) - Static method in interface ratpack.handling.HandlerDecorator
-
A factory for decorator impls that effectively inserts the given handler before the “rest” of the handlers.
- promise() - Method in interface ratpack.exec.Operation
-
- Promise<T> - Interface in ratpack.exec
-
A promise for a single value.
- promiseOf(Class<T>) - Static method in class ratpack.util.Types
-
Creates a type token for a promise of of the given type.
- promiseOf(TypeToken<T>) - Static method in class ratpack.util.Types
-
Creates a type token for a promise of of the given type.
- props(ByteSource) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for a properties file.
- props(Path) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for a properties file.
- props(Properties) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for a properties object.
- props(Map<String, String>) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for a Map (flat key-value pairs).
- props(String) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for a properties file.
- props(URL) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds a configuration source for a properties file.
- props(ByteSource) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for a properties file.
- props(String) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for a properties file.
- props(Path) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for a properties file.
- props(Properties) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for a properties object.
- props(Map<String, String>) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for a Map (flat key-value pairs).
- props(URL) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds a configuration source for a properties file.
- provide(TypeToken<T>) - Method in interface ratpack.registry.RegistryBacking
-
Provides instances to the Registry implementation which uses this method for looking up an iterable
result of Supplier instances for the given type.
- PublicAddress - Interface in ratpack.server
-
The advertised public address.
- publicAddress(URI) - Method in interface ratpack.server.ServerConfigBuilder
-
The public address of the application.
- publish(Iterable<T>) - Static method in class ratpack.stream.Streams
-
Converts an iterable to a publishable.
- publisher(ByteBufAllocator) - Method in class ratpack.http.ResponseChunks
-
Returns the chunk publisher.
- pushLeft(T) - Method in class ratpack.func.Pair
-
Creates a new pair, with this as the right item and the given value as the left.
- pushRight(T) - Method in class ratpack.func.Pair
-
Creates a new pair, with this as the left item and the given value as the right.
- put(Block) - Method in interface ratpack.handling.ByMethodSpec
-
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 that delegates to the given handler if
the relative path matches the given path and the request HTTPMethod
is PUT.
- put(String, Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- put(Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if
the request HTTPMethod is PUT and the path is at the current root.
- put(Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- 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.auth - package ratpack.auth
-
- ratpack.config - package ratpack.config
-
Provides the ability to access configuration data from a variety of sources, such as YAML, JSON,
properties files, system properties, and environment variables.
- ratpack.error - package ratpack.error
-
Types that deal with handling application errors.
- ratpack.exec - package ratpack.exec
-
The execution management.
- ratpack.file - package ratpack.file
-
Types for dealing with the file system and serving files.
- ratpack.file.checksummer - package ratpack.file.checksummer
-
- ratpack.form - package ratpack.form
-
Support for handling uploaded forms, including file uploads.
- ratpack.func - package ratpack.func
-
General functional (i.e. Single Abstract Method) types.
- ratpack.handling - package ratpack.handling
-
The handling of application requests.
- ratpack.handling.direct - package ratpack.handling.direct
-
Low level direct access to the underlying Netty internals.
- ratpack.health - package ratpack.health
-
Health checks report on the status of key components in the system and are generally used for monitoring and reporting.
- ratpack.http - package ratpack.http
-
The HTTP protocol.
- ratpack.http.client - package ratpack.http.client
-
The HTTP client.
- ratpack.jackson - package ratpack.jackson
-
- ratpack.logging - package ratpack.logging
-
- ratpack.parse - package ratpack.parse
-
Parsing in Ratpack refers to deserializing a request body into a Java object of some type.
- ratpack.path - package ratpack.path
-
Types for managing the paths of requests inside the application.
- ratpack.registry - package ratpack.registry
-
Registries hold objects that can be retrieved via type, and are a key aspect of Ratpack applications.
- 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.sse - package ratpack.sse
-
Support for Server Sent Events.
- ratpack.ssl - package ratpack.ssl
-
Convenience utitilities for dealing with SSL.
- ratpack.stream - package ratpack.stream
-
- ratpack.util - package ratpack.util
-
General purpose types and utilities.
- ratpack.websocket - package ratpack.websocket
-
Support for Websockets.
- RatpackServer - Interface in ratpack.server
-
The entry point for creating and starting a Ratpack application.
- RatpackServerSpec - Interface in ratpack.server
-
A buildable specification of a Ratpack server.
- RatpackVersion - Class in ratpack.util
-
Provides the version of the Ratpack core at runtime.
- readTimeout(Duration) - Method in interface ratpack.http.client.RequestSpec
-
- readTimeoutSeconds(int) - Method in interface ratpack.http.client.RequestSpec
-
- receiveBufferSize(int) - Method in interface ratpack.server.ServerConfigBuilder
-
- ReceivedResponse - Interface in ratpack.http.client
-
- redirect(int, String) - Method in interface ratpack.handling.Chain
-
Sends an HTTP redirect to the specified location.
- 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(int, String) - Static method in class ratpack.handling.Handlers
-
- 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.
- redirects(int) - Method in interface ratpack.http.client.RequestSpec
-
The maximum number of redirects to automatically follow, before simply returning the redirect response.
- register(Action<? super RegistrySpec>) - Method in interface ratpack.exec.ExecBuilder
-
Populates the execution's registry.
- register(Registry) - Method in interface ratpack.handling.Chain
-
Makes the contents of the given registry available for downstream handlers of the same nesting level.
- register(Action<? super RegistrySpec>) - Method in interface ratpack.handling.Chain
-
- register(Registry, Action<? super Chain>) - Method in interface ratpack.handling.Chain
-
- register(Registry, Class<? extends Action<? super Chain>>) - Method in interface ratpack.handling.Chain
-
- register(Action<? super RegistrySpec>, Action<? super Chain>) - Method in interface ratpack.handling.Chain
-
- register(Action<? super RegistrySpec>, Class<? extends Action<? super Chain>>) - Method in interface ratpack.handling.Chain
-
- register(Registry, Handler) - Static method in class ratpack.handling.Handlers
-
- register(Registry) - Static method in class ratpack.handling.Handlers
-
- register(RegistrySpec, ObjectMapper, ObjectWriter) - Static method in class ratpack.jackson.Jackson.Init
-
Registers the renderer and parsers with the given registry.
- register() - Method in interface ratpack.render.RenderableDecorator
-
- register() - Method in interface ratpack.render.Renderer
-
An action that registers this renderer with a registry.
- Registry - Interface in ratpack.registry
-
An object registry.
- registry(Registry) - Method in interface ratpack.server.RatpackServerSpec
-
Sets the user registry to exactly the given registry.
- registry(Function<? super Registry, ? extends Registry>) - Method in interface ratpack.server.RatpackServerSpec
-
Sets the user registry as the return value of the given function.
- RegistryBacking - Interface in ratpack.registry
-
Provides instances to the Registry implementation which uses an implementation of
this interface for backing the instances that the Registry contains or returns.
- RegistryBuilder - Interface in ratpack.registry
-
- registryOf(Action<? super RegistrySpec>) - Method in interface ratpack.server.RatpackServerSpec
-
Builds the user registry via the given spec action.
- RegistrySpec - Interface in ratpack.registry
-
An additive specification of a registry.
- reload() - Method in interface ratpack.server.RatpackServer
-
Reloads the server from its definition function.
- ReloadInformant - Interface in ratpack.server
-
Informs when the server should be reloaded, during
development.
- remove(CharSequence) - Method in interface ratpack.http.MutableHeaders
-
Removes the header with the specified name.
- remove(Class<T>) - Method in interface ratpack.registry.MutableRegistry
-
Remove the registration for the given type.
- remove(TypeToken<T>) - 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) - Method in class ratpack.http.ResponseChunks
-
Render this object to the response.
- render(Context) - Method in interface ratpack.render.Renderable
-
Render this object to the response.
- 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.
- render(Context) - Method in class ratpack.sse.ServerSentEvents
-
Render this object to the response.
- Renderable - Interface in ratpack.render
-
- RenderableDecorator<T> - Interface in ratpack.render
-
Decorates an object before it is
rendered.
- RenderableDecoratorSupport<T> - Class in ratpack.render
-
- RenderableDecoratorSupport() - Constructor for class ratpack.render.RenderableDecoratorSupport
-
- renderer(ObjectWriter) - Static method in class ratpack.jackson.Jackson.Init
-
The renderer.
- Renderer<T> - Interface in ratpack.render
-
A renderer is responsible for rendering an object to the response.
- RendererException - Exception in ratpack.render
-
Wraps an exception thrown by a renderer while rendering.
- RendererException(Renderer<?>, Object, Throwable) - Constructor for exception ratpack.render.RendererException
-
Constructor.
- RendererSupport<T> - Class in ratpack.render
-
- RendererSupport() - Constructor for class ratpack.render.RendererSupport
-
- RenderException - Exception in ratpack.render
-
A generic super type for exceptions indicate something when wrong for a render operation.
- RenderException(String) - Constructor for exception ratpack.render.RenderException
-
Constructor.
- RenderException(String, Throwable) - Constructor for exception ratpack.render.RenderException
-
Constructor.
- request(URI, Action<? super RequestSpec>) - Method in interface ratpack.http.client.HttpClient
-
An asynchronous method to do a HTTP request, the URL and all details of the request are configured by the Action acting on the RequestSpec.
- Request - Interface in ratpack.http
-
A request to be handled.
- request(URI, Action<? super RequestSpec>) - Method in interface ratpack.sse.ServerSentEventStreamClient
-
- request(URI) - Method in interface ratpack.sse.ServerSentEventStreamClient
-
- RequestId - Interface in ratpack.handling
-
An opaque identifier for the request.
- RequestId.Generator - Interface in ratpack.handling
-
Generates a unique request ID.
- RequestLog - Interface in ratpack.handling
-
- RequestOutcome - Interface in ratpack.handling
-
The outcome of processing a request.
- RequestSpec - Interface in ratpack.http.client
-
- RequestSpec.Body - Interface in ratpack.http.client
-
The request body.
- requestStream(URI, Action<? super RequestSpec>) - Method in interface ratpack.http.client.HttpClient
-
An asynchronous method to do a HTTP request, the URL and all details of the request are configured by the Action acting on the RequestSpec,
the received response content will be streamed.
- require() - Static method in interface ratpack.exec.ExecController
-
Returns the execution controller bound to the current thread, or throws an exception if called on a non Ratpack managed compute thread.
- require(String, Class<?>) - Method in interface ratpack.server.ServerConfigBuilder
-
Declares that it is required that the server config provide an object of the given type at the given path.
- requireClientSslAuth(boolean) - Method in interface ratpack.server.ServerConfigBuilder
-
The server needs client SSL authentication.
- Response - Interface in ratpack.http
-
A response to a request.
- ResponseChunks - Class in ratpack.http
-
A
renderable object for streaming data with HTTP chunked transfer-encoding.
- ResponseMetaData - Interface in ratpack.http
-
The metadata associated with a response.
- ResponseTimer - Class in ratpack.handling
-
A
handler, that adds a
"X-Response-Time" header to all requests indicating how long it took to start sending a response in milliseconds.
- ResponseTimer() - Constructor for class ratpack.handling.ResponseTimer
-
- result(Action<? super Result<T>>) - Method in interface ratpack.exec.Promise
-
Consume the promised value as a
Result.
- Result<T> - Interface in ratpack.exec
-
The result of an asynchronous operation, which may be an error.
- right(Promise<O>) - Method in interface ratpack.exec.Promise
-
- right - Variable in class ratpack.func.Pair
-
The right item of the pair.
- right() - Method in class ratpack.func.Pair
-
The right item of the pair.
- right(T) - Method in class ratpack.func.Pair
-
Replaces the right item with the given item.
- route(Predicate<? super T>, Action<? super T>) - Method in interface ratpack.exec.Promise
-
Allows the promised value to be handled specially if it meets the given predicate, instead of being handled by the promise subscriber.
- secure() - Method in interface ratpack.http.HttpUrlBuilder
-
Sets the protocol to be HTTPS.
- segment(String, Object...) - Method in interface ratpack.http.HttpUrlBuilder
-
Appends one path segment to the URL.
- send(Response) - Method in interface ratpack.http.client.ReceivedResponse
-
- send(Response) - Method in interface ratpack.http.client.StreamedResponse
-
Stream this received response out to the given server response.
- send(Response, Action<? super MutableHeaders>) - Method in interface ratpack.http.client.StreamedResponse
-
Stream this received response out to the given server response.
- 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
-
- 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.
- 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.
- ServerConfigBuilder - Interface in ratpack.server
-
- 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(ServerConfig) - Static method in class ratpack.file.FileSystemChecksumServices
-
Get checksum service that is backward compatible - calculates file checksum with Adler32 method.
- service(ServerConfig, Function<? super InputStream, ? extends String>) - Static method in class ratpack.file.FileSystemChecksumServices
-
Get checksum service with calculation method given as checksummer function.
- service(ServerConfig, Function<? super InputStream, ? extends String>, String, String...) - Static method in class ratpack.file.FileSystemChecksumServices
-
Get checksum service for additional path related to server's base dir and calculation method as checksummer function.
- Service - Interface in ratpack.server
-
A service participates in the application lifecycle.
- 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.
- setDate(CharSequence, Date) - Method in interface ratpack.http.MutableHeaders
-
Set a header with the given date as the value.
- shouldReload(Registry) - Method in interface ratpack.server.ReloadInformant
-
Whether the server should reload.
- 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
-
- size() - Method in interface ratpack.registry.RegistryBuilder
-
How many entries have been added so far.
- sseStreamClient(ExecController, 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.ExecBuilder
-
Initiate the new execution.
- 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
-
- status(Status) - Method in interface ratpack.http.Response
-
- status(int) - Method in interface ratpack.http.ResponseMetaData
-
Sets the status line of the response.
- status(Status) - Method in interface ratpack.http.ResponseMetaData
-
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.
- StopEvent - Interface in ratpack.server
-
A stop event.
- Stopper - Interface in ratpack.server
-
The mechanism for stopping the application from within the application.
- 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.
- streamMap(Publisher<I>, Function<? super WriteStream<O>, ? extends WriteStream<I>>) - Static method in class ratpack.stream.Streams
-
Allows transforming a stream into an entirely different stream.
- streamMap(Function<? super WriteStream<O>, ? extends WriteStream<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.
- 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.
- takeOwnership(Action<Object>) - Method in interface ratpack.handling.direct.DirectChannelAccess
-
Signals that Ratpack should no longer manage this channel.
- text(CharSequence) - Method in interface ratpack.http.client.RequestSpec.Body
-
Specifies the request body as a UTF-8 char sequence.
- text(CharSequence, Charset) - Method in interface ratpack.http.client.RequestSpec.Body
-
Specifies the request body as a char sequence of the given charset.
- TEXT_HTML - Static variable in interface ratpack.http.MediaType
-
"text/html".
- then(Block) - Method in interface ratpack.exec.Operation
-
- then() - Method in interface ratpack.exec.Operation
-
- then(Action<? super T>) - Method in interface ratpack.exec.Promise
-
Specifies what should be done with the promised object when it becomes available.
- threads(int) - Method in interface ratpack.server.ServerConfigBuilder
-
The number of threads to use.
- Throttle - Interface in ratpack.exec
-
Limits the concurrency of operations, typically access to an external resource.
- throttle(Promise<T>) - Method in interface ratpack.exec.Throttle
-
Throttles the given promise.
- throttled(Throttle) - Method in interface ratpack.exec.Promise
-
Throttles
this promise, using the given
throttle.
- throwException() - Static method in interface ratpack.func.Action
-
Returns an action that receives a throwable and immediately throws it.
- throwException(Throwable) - Static method in interface ratpack.func.Action
-
Returns an action that immediately throws the given exception.
- throwException(Throwable) - Static method in interface ratpack.func.Block
-
Returns an action that immediately throws the given exception.
- throwIfError(Throwable) - Static method in class ratpack.util.Exceptions
-
Throws the given throwable if it is an
Error, otherwise does nothing.
- to(Function<? super Operation, ? extends O>) - Method in interface ratpack.exec.Operation
-
- to(Function<? super Promise<T>, ? extends O>) - Method in interface ratpack.exec.Promise
-
Applies the given function to this and returns the result.
- toBiConsumer() - Method in interface ratpack.func.BiAction
-
- toConsumer() - Method in interface ratpack.func.Action
-
Creates a JDK
Consumer from this action.
- toException(Throwable) - Static method in class ratpack.util.Exceptions
-
Converts the given throwable to an
Exception if necessary.
- toFunction() - Method in interface ratpack.func.Function
-
Converts this function into the equivalent JDK type.
- toGuavaFunction() - Method in interface ratpack.func.Function
-
Converts this function into the equivalent Guava type.
- toGuavaPredicate() - Method in interface ratpack.func.Predicate
-
Creates a Guava
Predicate from this predicate.
- toJson(Registry) - Static method in class ratpack.jackson.Jackson
-
Creates a mapping function that returns the JSON representation as a string of the input object.
- token(String) - Method in interface ratpack.path.PathBinderBuilder
-
Add a token to the path.
- tokenize(String) - Method in interface ratpack.config.EnvironmentParser
-
Splits the name of an environment variable into per-object segments.
- tokenWithPattern(String, String) - Method in interface ratpack.path.PathBinderBuilder
-
Add a regular expression parameterized named token to the path.
- toList(Publisher<T>) - Static method in class ratpack.stream.Streams
-
Creates a promise for the given publisher's items as a List.
- toList() - Method in interface ratpack.stream.TransformablePublisher
-
Consumes the given publisher's items to a list.
- toPredicate() - Method in interface ratpack.func.Predicate
-
- toPromise(Publisher<T>) - Static method in class ratpack.stream.Streams
-
Creates a promise for the given publisher's single item.
- toPromise() - Method in interface ratpack.stream.TransformablePublisher
-
- toRunnable() - Method in interface ratpack.func.Block
-
Converts this action to a runnable.
- toString() - Method in class ratpack.func.Pair
-
Returns "Pair[«left.toString()»,«right.toString()»]
- toString() - Method in class ratpack.parse.NullParseOpts
-
- toString() - Method in interface ratpack.server.ReloadInformant
-
The description of this reload informant.
- transform(Function<? super Upstream<? extends T>, ? extends Upstream<O>>) - Method in interface ratpack.exec.Promise
-
Apply a custom transform to this promise.
- transform(Function<? super TransformablePublisher<T>, ? extends Publisher<O>>) - Method in interface ratpack.stream.TransformablePublisher
-
Convenience method to allow a non Ratpack publisher transform method to be hooked in.
- transformable(Publisher<T>) - Static method in class ratpack.stream.Streams
-
- TransformablePublisher<T> - Interface in ratpack.stream
-
A wrapper over a
Publisher that makes it more convenient to chain transformations of different kinds.
- type(String, Block) - Method in interface ratpack.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of the given MIME type.
- type(String) - Method in interface ratpack.http.client.RequestSpec.Body
-
Specifies the "Content-Type" of the request.
- TypeCoercingMap<K> - Interface in ratpack.util
-
A string valued map that can do simple type conversions from the string values to primitive types.
- typeCompatibleOf(T) - Static method in interface ratpack.render.Renderer
-
Creates a type token for a compatible renderer of the given type of object.
- TypedData - Interface in ratpack.http
-
Data that potentially has a content type.
- typeOf(Class<T>) - Static method in interface ratpack.render.RenderableDecorator
-
Creates a type token for a decorator of objects of the given type.
- typeOf(Class<T>) - Static method in interface ratpack.render.Renderer
-
Creates a type token for a renderer of the given type of object.
- Types - Class in ratpack.util
-
Static utility methods for dealing with types.