- capacity() - Method in class ratpack.bytebuf.ByteBufRef
-
- capacity(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- 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.
- checkAll(Registry, Iterable<? extends HealthCheck>) - Static method in interface ratpack.health.HealthCheck
-
Execute health checks.
- checkAll(Registry, Throttle, Iterable<? extends HealthCheck>) - Static method in interface ratpack.health.HealthCheck
-
Execute health checks.
- 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 class ratpack.bytebuf.ByteBufRef
-
- clear() - Method in interface ratpack.http.MutableHeaders
-
Removes all headers from this message.
- clientError(int) - Method in interface ratpack.handling.Context
-
- clientError(int) - Static method in class ratpack.handling.Handlers
-
- ClientErrorException - Exception in ratpack.http
-
Indicates that this exception represents a client error.
- ClientErrorException(String) - Constructor for exception ratpack.http.ClientErrorException
-
- ClientErrorException(String, Throwable) - Constructor for exception ratpack.http.ClientErrorException
-
- 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.http.client.HttpClient
-
Closes any pooled connections.
- close() - Method in interface ratpack.websocket.WebSocket
-
- close(int, String) - Method in interface ratpack.websocket.WebSocket
-
- comment(String) - Method in interface ratpack.sse.Event
-
Specify a comment to include as part of this event.
- compareTo(ByteBuf) - Method in class ratpack.bytebuf.ByteBufRef
-
- 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
-
An object deserialized from 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.
- CONFLICT - Static variable in interface ratpack.http.Status
-
The 409 status code.
- connect(Action<? super WebSocketSpec<T>>) - Method in interface ratpack.websocket.WebSocketConnector
-
- ConnectionClosedException - Exception in ratpack.http
-
Thrown when an operation is attempted against a connection that is closed.
- ConnectionClosedException(String) - Constructor for exception ratpack.http.ConnectionClosedException
-
- connectQueueSize(int) - Method in interface ratpack.server.ServerConfigBuilder
-
The maximum amount of connections that may be waiting to be accepted at any time.
- connectTimeout(Duration) - Method in interface ratpack.http.client.HttpClientSpec
-
The connect timeout value for requests.
- connectTimeout(Duration) - Method in interface ratpack.http.client.RequestSpec
-
Sets the socket connection timeout.
- connectTimeoutMillis(int) - Method in interface ratpack.server.ServerConfigBuilder
-
The connect timeout of the channel.
- connectTimeoutSeconds(int) - Method in interface ratpack.http.client.RequestSpec
-
- 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
-
Sets the response Content-Type header.
- contentTypeIfNotSet(Supplier<CharSequence>) - Method in interface ratpack.http.Response
-
- contentTypeIfNotSet(CharSequence) - Method in interface ratpack.http.Response
-
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.
- CONTINUE - Static variable in interface ratpack.http.Status
-
The 100 status code.
- cookie(String, String) - Method in interface ratpack.http.Response
-
Creates a new cookie with the given name and value.
- copy() - Method in class ratpack.bytebuf.ByteBufRef
-
- copy(int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- copy(Headers) - Method in interface ratpack.http.MutableHeaders
-
- copyWith(Action<? super HttpClientSpec>) - Method in interface ratpack.http.client.HttpClient
-
Create a new HttpClient by appending the provided configuration to this client.
- CREATED - Static variable in interface ratpack.http.Status
-
The 201 status code.
- current() - Static method in class ratpack.impose.Impositions
-
The currently imposed impositions.
- data(Function<? super T, String>) - Method in interface ratpack.sse.Event
-
Sets the “data” value of the event to the return value of the given function.
- data(String) - Method in interface ratpack.sse.Event
-
Specify the event data for the server sent event.
- decompressResponse(boolean) - Method in interface ratpack.http.client.RequestSpec
-
Enables automatic decompression of the response.
- decorate(Registry, Handler) - Method in interface ratpack.handling.HandlerDecorator
-
Creates a new handler that decorates the application handlers, given as the rest argument.
- decorate(Context, T) - Method in interface ratpack.render.RenderableDecorator
-
Decorates the given object on its way to being rendered.
- decorator() - Static method in class ratpack.handling.ResponseTimer
-
Creates a handler decorator that prepends a response timer to the rest of the handlers.
- DEFAULT_BASE_DIR_MARKER_FILE_PATH - Static variable in class ratpack.server.BaseDir
-
The default name for the base dir sentinel properties file.
- DEFAULT_ENV_PREFIX - Static variable in interface ratpack.config.ConfigDataBuilder
-
- DEFAULT_MAX_CHUNK_SIZE - Static variable in interface ratpack.server.ServerConfig
-
The default maximum chunk size to use when reading request/response bodies.
- DEFAULT_MAX_CONTENT_LENGTH - Static variable in interface ratpack.server.ServerConfig
-
The default max content length.
- DEFAULT_MAX_HEADER_SIZE - Static variable in interface ratpack.server.ServerConfig
-
The default maximum header size to use when reading requests.
- DEFAULT_MAX_INITIAL_LINE_LENGTH - Static variable in interface ratpack.server.ServerConfig
-
The default maximum initial line length to use when reading requests.
- DEFAULT_MAX_REDIRECTS - Static variable in interface ratpack.http.client.RequestSpec
-
The default number of redirects to follow automatically.
- DEFAULT_NAME_TOKEN - Static variable in class ratpack.health.HealthCheckHandler
-
The default path token name that indicates the individual health check to run.
- DEFAULT_PORT - Static variable in interface ratpack.server.ServerConfig
-
The default port for Ratpack applications, 5050.
- DEFAULT_PROP_PREFIX - Static variable in interface ratpack.config.ConfigDataBuilder
-
- DEFAULT_THREADS - Static variable in interface ratpack.server.ServerConfig
-
The default number of threads an application should use.
- define(ServiceDependenciesSpec) - Method in interface ratpack.service.ServiceDependencies
-
Declares service depenencies via the given spec.
- delete(Block) - Method in interface ratpack.handling.ByMethodSpec
-
Defines the action to to take if the request has a HTTP method of DELETE.
- delete(Class<? extends Handler>) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of DELETE.
- delete(Handler) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of DELETE.
- delete(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 DELETE.
- delete(String, Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- delete(Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if
the request HTTPMethod is DELETE and the path is at the current root.
- delete(Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- delete() - Static method in class ratpack.handling.Handlers
-
A handler that delegates to the next handler if the request is DELETE, otherwise raises a 405 client error.
- delete() - Method in interface ratpack.http.client.RequestSpec
-
Specifies to use the DELETE request method.
- DELETE - Static variable in interface ratpack.http.HttpMethod
-
The DELETE method.
- DependsOn - Annotation Type in ratpack.service
-
Declares the other service types that services of the annotated type depend on.
- dependsOn(Predicate<? super Service>, Predicate<? super Service>) - Method in interface ratpack.service.ServiceDependenciesSpec
-
Specifies that all services that match the dependents predicate are dependent on all services that match the dependencies predicate.
- dependsOn(Class<T1>, Predicate<? super T1>, Class<T2>, Predicate<? super T2>) - Method in interface ratpack.service.ServiceDependenciesSpec
-
Specifies that all services that are of the given dependentsType that match the dependents predicate are dependent on all services that are of the dependenciesType that match the dependencies predicate.
- dependsOn(Class<?>, Class<?>) - Method in interface ratpack.service.ServiceDependenciesSpec
-
- development(boolean) - Method in interface ratpack.server.ServerConfigBuilder
-
Whether or not the application is "development".
- dir(String) - Method in interface ratpack.file.FileHandlerSpec
-
Specifies the file system path to the files.
- DirectChannelAccess - Interface in ratpack.handling.direct
-
Provides direct access to the underlying Netty Channel.
- discardReadBytes() - Method in class ratpack.bytebuf.ByteBufRef
-
- discardSomeReadBytes() - Method in class ratpack.bytebuf.ByteBufRef
-
- duplicate() - Method in class ratpack.bytebuf.ByteBufRef
-
- GATEWAY_TIMEOUT - Static variable in interface ratpack.http.Status
-
The 504 status code.
- generate(Request) - Method in interface ratpack.handling.RequestId.Generator
-
Generate the ID for the request.
- 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(Block) - Method in interface ratpack.handling.ByMethodSpec
-
Defines the action to to take if the request has a HTTP method of GET.
- get(Class<? extends Handler>) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of GET.
- get(Handler) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain 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() - Method in interface ratpack.http.client.RequestSpec
-
Specifies to use the GET request method.
- 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 - Static variable in interface ratpack.http.HttpMethod
-
The GET method.
- get(Class<T>) - Method in class ratpack.impose.Impositions
-
Return an imposition of the given type, if one is currently imposed.
- get(Context) - Method in interface ratpack.server.PublicAddress
-
- get() - Method in interface ratpack.server.PublicAddress
-
Returns the public address.
- get(Context, Action<? super HttpUrlBuilder>) - Method in interface ratpack.server.PublicAddress
-
- get(Action<? super HttpUrlBuilder>) - Method in interface ratpack.server.PublicAddress
-
Creates a URL by building a URL based on the public address.
- get(Context, String) - Method in interface ratpack.server.PublicAddress
-
- get(String) - Method in interface ratpack.server.PublicAddress
-
Creates a URL by appending the given path to the public address
- getAdapted() - Method in interface ratpack.service.LegacyServiceAdapter
-
Deprecated.
The legacy service being adapted.
- 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.
- 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.
- getAsConfigObject(String, TypeToken<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.
- 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.
- getBody(Block) - Method in interface ratpack.http.Request
-
The body of the request.
- getBody(long) - Method in interface ratpack.http.Request
-
The body of the request allowing up to the provided size for the content.
- getBody(long, Block) - Method in interface ratpack.http.Request
-
The body of the request allowing up to the provided size for the content.
- getBodyStream() - Method in interface ratpack.http.Request
-
Allows reading the body as a stream, with back pressure.
- getBodyStream(long) - Method in interface ratpack.http.Request
-
Allows reading the body as a stream, with back pressure.
- getBoolean(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- 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.
- getByte(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getByteBufAllocator() - Method in interface ratpack.http.client.HttpClient
-
The buffer allocator used by the client.
- getBytes(int, ByteBuf) - Method in class ratpack.bytebuf.ByteBufRef
-
- getBytes(int, ByteBuf, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getBytes(int, ByteBuf, int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getBytes(int, byte[]) - Method in class ratpack.bytebuf.ByteBufRef
-
- getBytes(int, byte[], int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getBytes(int, ByteBuffer) - Method in class ratpack.bytebuf.ByteBufRef
-
- getBytes(int, OutputStream, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getBytes(int, GatheringByteChannel, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getBytes(int, FileChannel, long, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getBytes() - Method in interface ratpack.http.TypedData
-
The raw data as bytes.
- getChannel() - Method in interface ratpack.handling.direct.DirectChannelAccess
-
The channel.
- getChar(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getCharSequence(int, int, Charset) - Method in class ratpack.bytebuf.ByteBufRef
-
- 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.
- getClientCertificate() - Method in interface ratpack.http.Request
-
The client's verified certificate if the connection was made with HTTPS
and client authentication is enabled.
- getClientErrorCode() - Method in exception ratpack.http.ClientErrorException
-
- getClientErrorCode() - Method in exception ratpack.http.RequestBodyTooLargeException
-
- getCode() - Method in interface ratpack.http.Status
-
The status code.
- getComment() - Method in interface ratpack.sse.Event
-
The comment for this event.
- getConfigSources() - Method in interface ratpack.config.ConfigDataBuilder
-
Returns the config sources used for configuration binding.
- getConnection() - Method in interface ratpack.websocket.WebSocketMessage
-
- getConnectQueueSize() - Method in interface ratpack.server.ServerConfig
-
The maximum amount of connections that may be waiting to be accepted at any time.
- getConnectTimeout() - Method in interface ratpack.http.client.HttpClient
-
The default read timeout value.
- getConnectTimeout() - Method in interface ratpack.http.client.RequestSpec
-
Gets the configured socket connection timeout.
- getConnectTimeoutMillis() - Method in interface ratpack.server.ServerConfig
-
The connect timeout of the channel.
- getContentLength() - Method in interface ratpack.http.Request
-
The advertised content length of the request body.
- 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.
- 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.
- 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.
- getDecompressResponse() - Method in interface ratpack.http.client.RequestSpec
-
Gets if responses are automatically decompressed.
- getDescription() - Method in interface ratpack.path.PathBinding
-
Describes the kind of path that this binder binds to.
- getDirectChannelAccess() - Method in interface ratpack.handling.Context
-
Provides direct access to the backing Netty channel.
- getDouble(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getDoubleLE(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getDuration() - Method in interface ratpack.handling.RequestOutcome
-
- 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.
- getExecution() - Method in interface ratpack.handling.Context
-
The execution of handling this request.
- 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
-
Returns the current filesystem binding from the context registry.
- getFloat(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getFloatLE(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getHeaders() - Method in interface ratpack.http.client.HttpResponse
-
- getHeaders() - Method in interface ratpack.http.client.RequestSpec
-
- getHeaders() - Method in interface ratpack.http.Request
-
The request headers.
- getHeaders() - Method in interface ratpack.http.Response
-
The response headers.
- getHeaders() - Method in interface ratpack.http.SentResponse
-
The headers that were sent in the response.
- getId() - Method in interface ratpack.sse.Event
-
The “id” value of the event.
- getIdleTimeout() - Method in interface ratpack.server.ServerConfig
-
The default amount of time to allow a connection to remain open without any traffic.
- getInputStream() - Method in interface ratpack.http.TypedData
-
An input stream of the data.
- getInstant(CharSequence) - Method in interface ratpack.http.Headers
-
Returns the header value as an instant with the specified header name.
- getInt(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getIntLE(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getItem() - Method in interface ratpack.sse.Event
-
The stream item that this event.
- getLocalAddress() - Method in interface ratpack.http.Request
-
The address of the local network interface that received the request.
- getLong(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getLongLE(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getMaxChunkSize() - Method in interface ratpack.server.ServerConfig
-
The maximum chunk size to use when reading request (server) or response (client) bodies.
- getMaxContentLength() - Method in interface ratpack.http.client.HttpClient
-
The maximum response length accepted by the client.
- getMaxContentLength() - Method in interface ratpack.http.client.RequestSpec
-
Get the configured maximum response length.
- getMaxContentLength() - Method in interface ratpack.http.Request
-
The max allowed content length for the request body.
- getMaxContentLength() - Method in exception ratpack.http.RequestBodyTooLargeException
-
- getMaxContentLength() - Method in interface ratpack.server.ServerConfig
-
The max content length to use for the HttpObjectAggregator.
- getMaxHeaderSize() - Method in interface ratpack.server.ServerConfig
-
The maximum size of all headers allowed for reading http requests.
- getMaxInitialLineLength() - Method in interface ratpack.server.ServerConfig
-
The maximum initial line length allowed for reading http requests.
- getMaxMessagesPerRead() - Method in interface ratpack.server.ServerConfig
-
The maximum number of messages to read per read loop.
- getMaxResponseChunkSize() - Method in interface ratpack.http.client.HttpClient
-
The max size of the chunks to emit when reading a response as a stream.
- getMedium(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getMediumLE(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- 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.client.RequestSpec
-
Get the configured request method.
- 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
-
Deprecated.
- getName() - Method in interface ratpack.service.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.
- getNettyMethod() - Method in interface ratpack.http.HttpMethod
-
Returns the method in the underlying Netty form.
- getNettySslContext() - Method in interface ratpack.server.ServerConfig
-
The SSL context to use if the application will serve content over HTTPS.
- getNettyStatus() - Method in interface ratpack.http.Status
-
The status as Netty's type.
- getObject() - Method in interface ratpack.config.ConfigObject
-
The bound object.
- 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(Registry) - Static method in class ratpack.jackson.Jackson
-
- 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 multimap containing 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
-
The path to the config item.
- getPath() - Method in interface ratpack.http.Request
-
The URI without the query string and leading forward slash.
- getPathBinding() - Method in interface ratpack.handling.Context
-
The current request path binding.
- getPathTokens() - Method in interface ratpack.handling.Context
-
- getPoolQueueSize() - Method in interface ratpack.http.client.HttpClient
-
The number of connections that the client will queue if pool was depleted for any given server.
- getPoolSize() - Method in interface ratpack.http.client.HttpClient
-
The number of connections that the client will pool for any given server.
- getPort() - Method in class ratpack.impose.ForceServerListenPortImposition
-
The port to be forced.
- 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.
- getReadTimeout() - Method in interface ratpack.http.client.HttpClient
-
The default read timeout value.
- getReadTimeout() - Method in interface ratpack.http.client.RequestSpec
-
Gets the configured socket read timeout.
- getReceiveBufferSize() - Method in interface ratpack.server.ServerConfig
-
- getReceivedContentLength() - Method in exception ratpack.http.RequestBodyTooLargeException
-
- getRedirects() - Method in interface ratpack.http.client.RequestSpec
-
Get the configured maximum number of redirects.
- getRegistry() - Method in interface ratpack.handling.Chain
-
The registry that backs this chain.
- getRegistry() - Method in interface ratpack.server.RatpackServer
-
Convenience method to provide easy access to the application registry via a server reference
- getRegistry() - Method in interface ratpack.server.StartEvent
-
Deprecated.
The server registry.
- getRegistry() - Method in interface ratpack.server.StopEvent
-
Deprecated.
The server registry.
- getRegistry() - Method in interface ratpack.service.StartEvent
-
The server registry.
- getRegistry() - Method in interface ratpack.service.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.
- 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.
- getRootNode() - Method in interface ratpack.config.ConfigData
-
- getScheme() - Method in interface ratpack.server.RatpackServer
-
The URL scheme the server uses.
- getSentAt() - Method in interface ratpack.handling.RequestOutcome
-
The time at when this request was dealt with from the application's point of view.
- 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.
- getShort(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getShortLE(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getSslContext() - Method in interface ratpack.http.client.RequestSpec
-
Get the configured SslContext used for client and server SSL authentication.
- getSslContext() - Method in interface ratpack.server.ServerConfig
-
- getStatus() - Method in interface ratpack.http.client.HttpResponse
-
- getStatus() - Method in interface ratpack.http.Response
-
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.HttpResponse
-
- 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.
- 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
-
The raw type of the config item.
- 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).
- getTypeToken() - Method in interface ratpack.config.ConfigObject
-
The complete type of the config item.
- getUnsignedByte(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getUnsignedInt(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getUnsignedIntLE(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getUnsignedMedium(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getUnsignedMediumLE(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getUnsignedShort(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getUnsignedShortLE(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- getUri() - Method in interface ratpack.http.client.RequestSpec
-
The request URI.
- getUri() - Method in interface ratpack.http.Request
-
The complete URI of the request (path + query string).
- getUrl() - Method in interface ratpack.http.client.RequestSpec
-
- getViewClass() - Method in interface ratpack.jackson.JsonRender
-
The view class to use when rendering the object.
- getWriteSpinCount() - Method in interface ratpack.server.ServerConfig
-
- GONE - Static variable in interface ratpack.http.Status
-
The 410 status code.
- handle(Context) - Method in interface ratpack.handling.Handler
-
Handles the context.
- handle(Context) - Method in class ratpack.handling.InjectionHandler
-
Invokes the custom "handle" method, extracting necessary parameters from the context to satisfy the call.
- handle(Context) - Method in interface ratpack.handling.RequestLogger
-
- handle(Context) - Method in class ratpack.handling.ResponseTimer
-
Adds the number of milliseconds of elapsed time between
Request.getTimestamp() and when the response is ready to be sent.
- handle(Context) - Method in class ratpack.health.HealthCheckHandler
-
Renders health checks.
- Handler - Interface in ratpack.handling
-
A handler participates in the processing of a request/response pair, operating on a
Context.
- handler(Class<? extends Handler>) - Method in interface ratpack.server.RatpackServerSpec
-
Sets the root handler by getting a handler of the given type from the server registry.
- handler(Function<? super Registry, ? extends Handler>) - Method in interface ratpack.server.RatpackServerSpec
-
Sets the root handler to the return of the given function.
- HandlerDecorator - Interface in ratpack.handling
-
Decorates a handler, effectively wrapping it.
- Handlers - Class in ratpack.handling
-
Factory methods for handler decorations.
- handlers(Action<? super Chain>) - Method in interface ratpack.server.RatpackServerSpec
-
Sets the root handler to the chain specified by the given action.
- hasArray() - Method in class ratpack.bytebuf.ByteBufRef
-
- hashCode() - Method in class ratpack.bytebuf.ByteBufRef
-
- hasMemoryAddress() - Method in class ratpack.bytebuf.ByteBufRef
-
- head() - Method in interface ratpack.http.client.RequestSpec
-
Specifies to use the HEAD request method.
- HEAD - Static variable in interface ratpack.http.HttpMethod
-
The HEAD method.
- header(CharSequence) - Method in interface ratpack.handling.Context
-
Returns the request header with the specified name.
- header(CharSequence, Object...) - Method in interface ratpack.handling.Context
-
Sets a response header.
- header(CharSequence) - Static method in interface ratpack.handling.RequestId.Generator
-
- header(CharSequence, RequestId.Generator) - Static method in interface ratpack.handling.RequestId.Generator
-
Creates a generator that uses the value for the given header, using the given fallback generator if the header is not present.
- HEADER_FIELDS_TOO_LARGE - Static variable in interface ratpack.http.Status
-
The 431 status code.
- HEADER_NAME - Static variable in class ratpack.handling.ResponseTimer
-
The name of the header with the time value: "X-Response-Time".
- headers(Action<? super MutableHeaders>) - Method in interface ratpack.http.client.RequestSpec
-
This method can be used to buffer changes to the headers.
- Headers - Interface in ratpack.http
-
An immutable set of HTTP headers.
- HealthCheck - Interface in ratpack.health
-
Reports on the health of some aspect of the system.
- HealthCheck.Result - Class in ratpack.health
-
The result of a health check.
- HealthCheckHandler - Class in ratpack.health
-
- HealthCheckHandler() - Constructor for class ratpack.health.HealthCheckHandler
-
- HealthCheckHandler(String) - Constructor for class ratpack.health.HealthCheckHandler
-
Uses an unlimited throttle and the given name for the health check identifying path token.
- HealthCheckHandler(Throttle) - Constructor for class ratpack.health.HealthCheckHandler
-
- HealthCheckHandler(String, Throttle) - Constructor for class ratpack.health.HealthCheckHandler
-
Constructor.
- HealthCheckResults - Class in ratpack.health
-
A value type representing the result of running multiple health checks.
- HealthCheckResults(ImmutableSortedMap<String, HealthCheck.Result>) - Constructor for class ratpack.health.HealthCheckResults
-
Constructor.
- healthy() - Static method in class ratpack.health.HealthCheck.Result
-
Creates a healthy result, with no message.
- healthy(String) - Static method in class ratpack.health.HealthCheck.Result
-
Creates a healthy result, with the given message.
- healthy(String, Object...) - Static method in class ratpack.health.HealthCheck.Result
-
Creates a healthy result, with the given message.
- host(String, Action<? super Chain>) - Method in interface ratpack.handling.Chain
-
Adds a handler to the chain that delegates to the given handler chain if the request has a Host header that matches the given value exactly.
- host(String, Class<? extends Action<? super Chain>>) - Method in interface ratpack.handling.Chain
-
- host(String) - Method in interface ratpack.http.HttpUrlBuilder
-
Sets the host to the given value.
- html(Block) - Method in interface ratpack.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/html".
- html(Handler) - Method in interface ratpack.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/html".
- html(Class<? extends Handler>) - Method in interface ratpack.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/html".
- http() - Static method in interface ratpack.http.HttpUrlBuilder
-
Create a new HTTP URL builder.
- HTTP_VER_NOT_SUPPORTED - Static variable in interface ratpack.http.Status
-
The 505 status code.
- HttpClient - Interface in ratpack.http.client
-
An asynchronous HTTP client.
- httpClient(ServerConfig, Registry) - Static method in interface ratpack.http.client.HttpClient
-
- httpClient(ByteBufAllocator, int) - Static method in interface ratpack.http.client.HttpClient
-
- HttpClientReadTimeoutException - Exception in ratpack.http.client
-
Thrown when the read timeout duration for a request is reached.
- HttpClientReadTimeoutException(String) - Constructor for exception ratpack.http.client.HttpClientReadTimeoutException
-
Constructor.
- HttpClientSpec - Interface in ratpack.http.client
-
An additive specification of a HTTP client.
- HttpMethod - Interface in ratpack.http
-
The method of a HTTP request.
- HttpResponse - Interface in ratpack.http.client
-
Base type of responses from
HttpClient regardless of if the request is streaming or not.
- https() - Static method in interface ratpack.http.HttpUrlBuilder
-
Create a new HTTPS URL builder.
- HttpUrlBuilder - Interface in ratpack.http
-
Builds a HTTP URL, safely.
- 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.
- idleTimeout(Duration) - Method in interface ratpack.server.ServerConfigBuilder
-
The default read timeout of the channel.
- IM_A_TEAPOT - Static variable in interface ratpack.http.Status
-
The 418 status code.
- IM_USED - Static variable in interface ratpack.http.Status
-
The 226 status code.
- impose(Impositions, Factory<? extends T>) - Static method in class ratpack.impose.Impositions
-
Sets impositions that will be available during execution of the given function, from this thread.
- impose(Factory<? extends T>) - Method in class ratpack.impose.Impositions
-
- Imposition - Interface in ratpack.impose
-
A marker interface for all types used as an imposition.
- Impositions - Class in ratpack.impose
-
A mechanism for imposing things on an application from the outside and typically during testing.
- ImpositionsSpec - Interface in ratpack.impose
-
Used to specify a set of impositions.
- indexFiles(String...) - Method in interface ratpack.file.FileHandlerSpec
-
The files that should be used when a request is made for a directory.
- indexOf(int, int, byte) - Method in class ratpack.bytebuf.ByteBufRef
-
- inferred(String) - Static method in interface ratpack.server.PublicAddress
-
An implementation that infers the public address from the current request.
- 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
-
Creates an interceptor with no initialisation action.
- INSUFFICIENT_STORAGE - Static variable in interface ratpack.http.Status
-
The 507 status code.
- intercept(Execution, ExecInterceptor.ExecType, Block) - Method in class ratpack.logging.MDCInterceptor
-
- INTERNAL_SERVER_ERROR - Static variable in interface ratpack.http.Status
-
The 500 status code.
- internalNioBuffer(int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- InvalidPathEncodingException - Exception in ratpack.path
-
Thrown when a request is made for a path that is not correctly encoded.
- InvalidPathEncodingException(Throwable) - Constructor for exception ratpack.path.InvalidPathEncodingException
-
Constructs the exception.
- is1xx() - Method in interface ratpack.http.Status
-
- is2xx() - Method in interface ratpack.http.Status
-
- is3xx() - Method in interface ratpack.http.Status
-
- is4xx() - Method in interface ratpack.http.Status
-
- is5xx() - Method in interface ratpack.http.Status
-
- isAjaxRequest() - Method in interface ratpack.http.Request
-
A flag representing whether or not the request originated via AJAX.
- isChunkedTransfer() - Method in interface ratpack.http.Request
-
Whether this request contains a Transfer-Encoding: chunked header.
- isDelete() - Method in interface ratpack.http.HttpMethod
-
True if the method is DELETE.
- isDevelopment() - Method in class ratpack.impose.ForceDevelopmentImposition
-
The value to impose.
- isDevelopment() - Method in interface ratpack.server.ServerConfig
-
Whether or not the server is in "development" mode.
- isDirect() - Method in class ratpack.bytebuf.ByteBufRef
-
- isEmpty() - Method in interface ratpack.http.MediaType
-
True if this represents the absence of a value (i.e.
- isExpectsContinue() - Method in interface ratpack.http.Request
-
Whether this request contains a Expect: 100-Continue header.
- 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
-
- 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.
- isReadable() - Method in class ratpack.bytebuf.ByteBufRef
-
- isReadable(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- isReadOnly() - Method in class ratpack.bytebuf.ByteBufRef
-
- isRegisterShutdownHook() - Method in interface ratpack.server.ServerConfig
-
Whether a JVM shutdown hook was registered for the application in order to shut it down gracefully.
- isReload() - Method in interface ratpack.server.StartEvent
-
Deprecated.
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
-
Deprecated.
If the server is stopping in response to a reload (during development), as opposed to for the first time.
- isReload() - Method in interface ratpack.service.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.service.StopEvent
-
If the server is stopping in response to a reload (during development), as opposed to for the first time.
- isRequireClientSslAuth() - Method in interface ratpack.server.ServerConfig
-
- isRunning() - Method in interface ratpack.server.RatpackServer
-
Returns true if the server is running.
- isText() - Method in interface ratpack.http.MediaType
-
True if this type starts with "text/".
- isUnhealthy() - Method in class ratpack.health.HealthCheckResults
-
Whether any result is unhealthy.
- isWritable() - Method in class ratpack.bytebuf.ByteBufRef
-
- isWritable(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- object(String, Object) - Method in interface ratpack.config.ConfigDataBuilder
-
Adds the object's fields at the given path as a configuration source.
- object(String, Object) - Method in interface ratpack.server.ServerConfigBuilder
-
Adds the object's fields at the given path as a configuration source.
- 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(Path) - Static method in interface ratpack.file.FileSystemBinding
-
- of(Block) - Static method in class ratpack.handling.Handlers
-
Creates a handler from the given block
- of(CharSequence) - Static method in interface ratpack.handling.RequestId
-
Creates a new request ID from the given string.
- of(Action<? super RequestOutcome>) - Static method in interface ratpack.handling.RequestLogger
-
- of(String) - Static method in interface ratpack.handling.UserId
-
Creates new user identifier of the given string.
- of(String, Function<? super Registry, ? extends Promise<HealthCheck.Result>>) - Static method in interface ratpack.health.HealthCheck
-
Convenience factory for health check implementations.
- of(Action<? super HttpClientSpec>) - Static method in interface ratpack.http.client.HttpClient
-
Creates a new HTTP client.
- of(String) - Static method in interface ratpack.http.HttpMethod
-
Creates a method of the given name.
- 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(boolean) - Static method in class ratpack.impose.ForceDevelopmentImposition
-
Creates a new imposition of the specified value.
- of(int) - Static method in class ratpack.impose.ForceServerListenPortImposition
-
Creates an imposition that forces the use of the specified port.
- of(Action<? super ImpositionsSpec>) - Static method in class ratpack.impose.Impositions
-
Creates an impositions instance of the given imposition objects.
- of(Consumer<? super ServerConfigBuilder>) - Static method in class ratpack.impose.ServerConfigImposition
-
Creates an override that applies the given function to the server config builder.
- of(Registry) - Static method in class ratpack.impose.UserRegistryImposition
-
Creates an imposition of the given registry.
- of(Function<? super Registry, ? extends Registry>) - Static method in class ratpack.impose.UserRegistryImposition
-
Creates an imposition of registry returned by the given function.
- 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
-
Creates a parse object, with no options.
- 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
-
Creates a parse object, with no options.
- of(boolean, Action<? super PathBinderBuilder>) - Static method in interface ratpack.path.PathBinder
-
Builds a path binder programmatically.
- 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(URI) - Static method in interface ratpack.server.PublicAddress
-
Creates a new public address object using the given URI.
- 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
-
- of(HttpClient) - Static method in interface ratpack.sse.ServerSentEventStreamClient
-
Creates an SSE client.
- 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.
- OK - Static variable in interface ratpack.http.Status
-
The 200 status code.
- 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
-
- 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.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
-
- 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(StartEvent) - Method in interface ratpack.server.Service
-
Deprecated.
- onStart(StartEvent) - Method in interface ratpack.service.Service
-
Server startup event.
- onStop(StopEvent) - Method in interface ratpack.server.Service
-
Deprecated.
- onStop(StopEvent) - Method in interface ratpack.service.Service
-
Server stop event.
- open(Path, OpenOption...) - Static method in class ratpack.file.FileIo
-
Creates a promise for an (open) async file channel.
- open(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Static method in class ratpack.file.FileIo
-
Creates a promise for an (open) async file channel.
- 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.
- options(Block) - Method in interface ratpack.handling.ByMethodSpec
-
Defines the action to to take if the request has a HTTP method of OPTIONS.
- options(Class<? extends Handler>) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of OPTIONS.
- options(Handler) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of OPTIONS.
- options(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 OPTIONS.
- options(String, Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- options(Handler) - Method in interface ratpack.handling.Chain
-
Adds a handler that delegates to the given handler if
the request HTTPMethod is OPTIONS and the path is at the current root.
- options(Class<? extends Handler>) - Method in interface ratpack.handling.Chain
-
- options() - Static method in class ratpack.handling.Handlers
-
A handler that delegates to the next handler if the request is OPTIONS, otherwise raises a 405 client error.
- options() - Method in interface ratpack.http.client.RequestSpec
-
Specifies to use the OPTIONS request method.
- OPTIONS - Static variable in interface ratpack.http.HttpMethod
-
The OPTIONS method.
- order() - Method in class ratpack.bytebuf.ByteBufRef
-
Deprecated.
- order(ByteOrder) - Method in class ratpack.bytebuf.ByteBufRef
-
Deprecated.
- 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.
- params(MultiValueMap<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, Void>) - 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<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() - Constructor for class ratpack.parse.ParserSupport
-
Constructor.
- PARTIAL_CONTENT - Static variable in interface ratpack.http.Status
-
The 206 status code.
- patch(Block) - Method in interface ratpack.handling.ByMethodSpec
-
Defines the action to to take if the request has a HTTP method of PATCH.
- patch(Class<? extends Handler>) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PATCH.
- patch(Handler) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain 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.
- patch() - Method in interface ratpack.http.client.RequestSpec
-
Specifies to use the PATCH request method.
- PATCH - Static variable in interface ratpack.http.HttpMethod
-
The PATCH method.
- 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 the 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.
- PathResolver - Interface in ratpack.config
-
- PathTokens - Interface in ratpack.path
-
A marker interface for the contextual object that represents the tokens extracted from the request path.
- PAYLOAD_TOO_LARGE - Static variable in interface ratpack.http.Status
-
The 413 status code.
- PAYMENT_REQUIRED - Static variable in interface ratpack.http.Status
-
The 402 status code.
- PERMANENT_REDIRECT - Static variable in interface ratpack.http.Status
-
The 308 status code.
- 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".
- plainText(Handler) - Method in interface ratpack.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/plain".
- plainText(Class<? extends Handler>) - Method in interface ratpack.handling.ByContentSpec
-
Specifies that the given handler should be used if the client wants content of type "text/plain".
- poolQueueSize(int) - Method in interface ratpack.http.client.HttpClientSpec
-
The maximum number of requests that will be queued if connection pool was depleted.
- poolSize(int) - Method in interface ratpack.http.client.HttpClientSpec
-
The maximum number of connections to maintain to a given protocol/host/port.
- 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(Class<? extends Handler>) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of POST.
- post(Handler) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain 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.
- post() - Method in interface ratpack.http.client.RequestSpec
-
Specifies to use the POST request method.
- POST - Static variable in interface ratpack.http.HttpMethod
-
The POST method.
- PRECONDITION_FAILED - Static variable in interface ratpack.http.Status
-
The 412 status code.
- PRECONDITION_REQUIRED - Static variable in interface ratpack.http.Status
-
The 428 status code.
- 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(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.
- prepend(Class<? extends 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.
- prependHandlers(Action<? super Chain>) - Static method in interface ratpack.handling.HandlerDecorator
-
A factory for decorator impls that effectively inserts the given chain before the “rest” of the handlers.
- prependHandlers(Class<? extends Action<? super Chain>>) - Static method in interface ratpack.handling.HandlerDecorator
-
A factory for decorator impls that effectively inserts the given chain before the “rest” of the handlers.
- PROCESSING - Static variable in interface ratpack.http.Status
-
The 102 status code.
- 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 the properties file at the given path as a configuration source.
- 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 the properties file at the given path as a configuration source.
- 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.
- PROXY_AUTH_REQUIRED - Static variable in interface ratpack.http.Status
-
The 407 status code.
- PublicAddress - Interface in ratpack.server
-
The advertised public address.
- publicAddress(URI) - Method in interface ratpack.server.ServerConfigBuilder
-
The public address of the application.
- publisher(ByteBufAllocator) - Method in class ratpack.http.ResponseChunks
-
Returns the chunk publisher.
- put(Block) - Method in interface ratpack.handling.ByMethodSpec
-
Defines the action to to take if the request has a HTTP method of PUT.
- put(Class<? extends Handler>) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain if the request has a HTTP method of PUT.
- put(Handler) - Method in interface ratpack.handling.ByMethodSpec
-
Inserts the handler to chain 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() - Method in interface ratpack.http.client.RequestSpec
-
Specifies to use the PUT request method.
- PUT - Static variable in interface ratpack.http.HttpMethod
-
The PUT method.
- randomUuid() - Static method in interface ratpack.handling.RequestId.Generator
-
Generates IDs based of a random UUID.
- RANGE_NOT_SATISFIABLE - Static variable in interface ratpack.http.Status
-
The 416 status code.
- ratpack.bytebuf - package ratpack.bytebuf
-
- 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.file - package ratpack.file
-
Types for dealing with the file system and serving files.
- ratpack.form - package ratpack.form
-
Support for handling uploaded forms, including file uploads.
- 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.impose - package ratpack.impose
-
- ratpack.jackson - package ratpack.jackson
-
- ratpack.logging - package ratpack.logging
-
Utility classes for integration Ratpack with various logging frameworks.
- 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.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.service - package ratpack.service
-
Services participate in the application start/stop lifecycle.
- ratpack.sse - package ratpack.sse
-
Support for Server Sent Events.
- ratpack.ssl - package ratpack.ssl
-
Convenience utitilities for dealing with SSL.
- 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.
- read(Promise<? extends AsynchronousFileChannel>, ByteBufAllocator, int, long, long) - Static method in class ratpack.file.FileIo
-
Read the contents of a file.
- read(Promise<? extends AsynchronousFileChannel>, ByteBufAllocator, int) - Static method in class ratpack.file.FileIo
-
Read the contents of a file from the given start until the given stop.
- readableBytes() - Method in class ratpack.bytebuf.ByteBufRef
-
- readBoolean() - Method in class ratpack.bytebuf.ByteBufRef
-
- readByte() - Method in class ratpack.bytebuf.ByteBufRef
-
- readBytes(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- readBytes(ByteBuf) - Method in class ratpack.bytebuf.ByteBufRef
-
- readBytes(ByteBuf, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- readBytes(ByteBuf, int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- readBytes(byte[]) - Method in class ratpack.bytebuf.ByteBufRef
-
- readBytes(byte[], int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- readBytes(ByteBuffer) - Method in class ratpack.bytebuf.ByteBufRef
-
- readBytes(OutputStream, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- readBytes(GatheringByteChannel, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- readBytes(FileChannel, long, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- readChar() - Method in class ratpack.bytebuf.ByteBufRef
-
- readCharSequence(int, Charset) - Method in class ratpack.bytebuf.ByteBufRef
-
- readDouble() - Method in class ratpack.bytebuf.ByteBufRef
-
- readDoubleLE() - Method in class ratpack.bytebuf.ByteBufRef
-
- readerIndex() - Method in class ratpack.bytebuf.ByteBufRef
-
- readerIndex(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- readFloat() - Method in class ratpack.bytebuf.ByteBufRef
-
- readFloatLE() - Method in class ratpack.bytebuf.ByteBufRef
-
- readInt() - Method in class ratpack.bytebuf.ByteBufRef
-
- readIntLE() - Method in class ratpack.bytebuf.ByteBufRef
-
- readLong() - Method in class ratpack.bytebuf.ByteBufRef
-
- readLongLE() - Method in class ratpack.bytebuf.ByteBufRef
-
- readMedium() - Method in class ratpack.bytebuf.ByteBufRef
-
- readMediumLE() - Method in class ratpack.bytebuf.ByteBufRef
-
- readRetainedSlice(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- readShort() - Method in class ratpack.bytebuf.ByteBufRef
-
- readShortLE() - Method in class ratpack.bytebuf.ByteBufRef
-
- readSlice(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- readStream(Promise<? extends AsynchronousFileChannel>, ByteBufAllocator, int, long, long) - Static method in class ratpack.file.FileIo
-
Streams the contents of a file.
- readStream(Promise<? extends AsynchronousFileChannel>, ByteBufAllocator, int) - Static method in class ratpack.file.FileIo
-
Streams the entire contents of a file.
- readTimeout(Duration) - Method in interface ratpack.http.client.HttpClientSpec
-
The read timeout value for responses.
- readTimeout(Duration) - Method in interface ratpack.http.client.RequestSpec
-
Sets the socket read timeout.
- readTimeoutSeconds(int) - Method in interface ratpack.http.client.RequestSpec
-
- readUnsignedByte() - Method in class ratpack.bytebuf.ByteBufRef
-
- readUnsignedInt() - Method in class ratpack.bytebuf.ByteBufRef
-
- readUnsignedIntLE() - Method in class ratpack.bytebuf.ByteBufRef
-
- readUnsignedMedium() - Method in class ratpack.bytebuf.ByteBufRef
-
- readUnsignedMediumLE() - Method in class ratpack.bytebuf.ByteBufRef
-
- readUnsignedShort() - Method in class ratpack.bytebuf.ByteBufRef
-
- readUnsignedShortLE() - Method in class ratpack.bytebuf.ByteBufRef
-
- 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 to the given location, and with the given status code.
- redirect(URI) - Method in interface ratpack.handling.Context
-
Sends a temporary redirect response (i.e.
- redirect(int, URI) - Method in interface ratpack.handling.Context
-
Sends a redirect response to the given location, and with the given status code.
- redirect(Object) - Method in interface ratpack.handling.Context
-
Sends a temporary redirect response (i.e.
- redirect(int, Object) - Method in interface ratpack.handling.Context
-
Sends a redirect response to the given location, and with the given status code.
- redirect(int, String) - Static method in class ratpack.handling.Handlers
-
- redirect(Context, String, int) - Method in interface ratpack.handling.Redirector
-
- redirect(Context, int, Object) - Method in interface ratpack.handling.Redirector
-
Issues a HTTP redirect response, transforming the given to value into a value for the Location header.
- Redirector - Interface in ratpack.handling
-
Interprets objects as a Location header value, and issues the redirect response.
- redirects(int) - Method in interface ratpack.http.client.RequestSpec
-
The maximum number of redirects to automatically follow, before simply returning the redirect response.
- refCnt() - Method in class ratpack.bytebuf.ByteBufRef
-
- 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() - Method in interface ratpack.render.RenderableDecorator
-
A registration action, typically used with RegistrySpec.with(Action).
- registerShutdownHook(boolean) - Method in interface ratpack.server.ServerConfigBuilder
-
Whether or not to register a JVM shutdown hook to gracefully stop the server.
- 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.
- registryOf(Action<? super RegistrySpec>) - Method in interface ratpack.server.RatpackServerSpec
-
Builds the user registry via the given spec action.
- release() - Method in class ratpack.bytebuf.ByteBufRef
-
- release(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- 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.
- 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<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.
- RendererException(String, 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
-
- REQUEST_TIMEOUT - Static variable in interface ratpack.http.Status
-
The 408 status code.
- RequestBodyAlreadyReadException - Exception in ratpack.http
-
Thrown when an attempt is made to read the request body when it has already been read.
- RequestBodyAlreadyReadException() - Constructor for exception ratpack.http.RequestBodyAlreadyReadException
-
- RequestBodyAlreadyReadException(String) - Constructor for exception ratpack.http.RequestBodyAlreadyReadException
-
Constructor.
- RequestBodyTooLargeException - Exception in ratpack.http
-
- RequestBodyTooLargeException(long, long) - Constructor for exception ratpack.http.RequestBodyTooLargeException
-
- RequestId - Interface in ratpack.handling
-
An opaque identifier for the request.
- RequestId.Generator - Interface in ratpack.handling
-
Generates, or assigns, an ID for requests.
- requestIntercept(Action<? super RequestSpec>) - Method in interface ratpack.http.client.HttpClientSpec
-
Add an interceptor for all requests handled by this client.
- RequestLogger - Interface in ratpack.handling
-
A handler that logs information about the request.
- 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(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.
- require(String, Type) - 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.
- require(String, TypeToken<?>) - 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
-
- RESET_CONTENT - Static variable in interface ratpack.http.Status
-
The 205 status code.
- resetReaderIndex() - Method in class ratpack.bytebuf.ByteBufRef
-
- resetWriterIndex() - Method in class ratpack.bytebuf.ByteBufRef
-
- resolve(String) - Method in interface ratpack.config.PathResolver
-
- 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.
- responseIntercept(Action<? super HttpResponse>) - Method in interface ratpack.http.client.HttpClientSpec
-
Add an interceptor for all responses returned by this client.
- responseIntercept(Operation) - Method in interface ratpack.http.client.HttpClientSpec
-
Execute the provide Operation for all responses returned by this client.
- responseMaxChunkSize(int) - Method in interface ratpack.http.client.HttpClientSpec
-
The max size of the chunks to emit when reading a response as a stream.
- responseMaxChunkSize(int) - Method in interface ratpack.http.client.RequestSpec
-
The max size of the chunks to emit when reading a response as a stream.
- 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
-
- retain(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- retain() - Method in class ratpack.bytebuf.ByteBufRef
-
- retainedDuplicate() - Method in class ratpack.bytebuf.ByteBufRef
-
- retainedSlice() - Method in class ratpack.bytebuf.ByteBufRef
-
- retainedSlice(int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- root() - Static method in interface ratpack.file.FileSystemBinding
-
- secure() - Method in interface ratpack.http.HttpUrlBuilder
-
Sets the protocol to be HTTPS.
- SEE_OTHER - Static variable in interface ratpack.http.Status
-
The 303 status code.
- segment(String, Object...) - Method in interface ratpack.http.HttpUrlBuilder
-
Appends one path segment to the URL.
- send() - Method in interface ratpack.http.Response
-
Sends the response back to the client, with no body.
- send(String) - Method in interface ratpack.http.Response
-
Sends the response, using "text/plain" as the content type and the given string as the response body.
- send(CharSequence, String) - Method in interface ratpack.http.Response
-
Sends the response, using the given content type and string as the response body.
- send(byte[]) - Method in interface ratpack.http.Response
-
Sends the response, using "application/octet-stream" as the content type (if a content type hasn't
already been set) and the given byte array as the response body.
- send(CharSequence, byte[]) - Method in interface ratpack.http.Response
-
Sends the response, using the given content type and byte array as the response body.
- send(ByteBuf) - Method in interface ratpack.http.Response
-
Sends the response, using "application/octet-stream" as the content type (if a content type hasn't
already been set) and the given bytes as the response body.
- send(CharSequence, ByteBuf) - Method in interface ratpack.http.Response
-
Sends the response, using the given content type and bytes as the response body.
- send(String) - Method in interface ratpack.websocket.WebSocket
-
- send(ByteBuf) - Method in interface ratpack.websocket.WebSocket
-
- 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
-
- ServerConfigImposition - Class in ratpack.impose
-
An override object for imposing server configuration.
- ServerErrorHandler - Interface in ratpack.error
-
An object that can deal with errors that occur during the processing of an exchange.
- ServerSentEvents - Class in ratpack.sse
-
A
renderable object for streaming server side events.
- serverSentEvents(Publisher<T>, Action<? super Event<T>>) - Static method in class ratpack.sse.ServerSentEvents
-
Creates a new renderable object wrapping the event stream.
- ServerSentEventStreamClient - Interface in ratpack.sse
-
- Service - Interface in ratpack.server
-
- Service - Interface in ratpack.service
-
A service participates in the application lifecycle.
- SERVICE_UNAVAILABLE - Static variable in interface ratpack.http.Status
-
The 503 status code.
- ServiceDependencies - Interface in ratpack.service
-
Specifies dependencies between services.
- ServiceDependenciesSpec - Interface in ratpack.service
-
Allows declaring which services depend on which services.
- 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.
- setBoolean(int, boolean) - Method in class ratpack.bytebuf.ByteBufRef
-
- setByte(int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setBytes(int, ByteBuf) - Method in class ratpack.bytebuf.ByteBufRef
-
- setBytes(int, ByteBuf, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setBytes(int, ByteBuf, int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setBytes(int, byte[]) - Method in class ratpack.bytebuf.ByteBufRef
-
- setBytes(int, byte[], int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setBytes(int, ByteBuffer) - Method in class ratpack.bytebuf.ByteBufRef
-
- setBytes(int, InputStream, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setBytes(int, ScatteringByteChannel, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setBytes(int, FileChannel, long, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setChar(int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setCharSequence(int, CharSequence, Charset) - Method in class ratpack.bytebuf.ByteBufRef
-
- setDate(CharSequence, Date) - Method in interface ratpack.http.MutableHeaders
-
Set a header with the given date as the value.
- setDate(CharSequence, Instant) - Method in interface ratpack.http.MutableHeaders
-
Set a header with the given date as the value.
- setDouble(int, double) - Method in class ratpack.bytebuf.ByteBufRef
-
- setDoubleLE(int, double) - Method in class ratpack.bytebuf.ByteBufRef
-
- setFloat(int, float) - Method in class ratpack.bytebuf.ByteBufRef
-
- setFloatLE(int, float) - Method in class ratpack.bytebuf.ByteBufRef
-
- setIdleTimeout(Duration) - Method in interface ratpack.http.Request
-
Overrides the idle timeout for this connection.
- setIndex(int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setInt(int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setIntLE(int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setLong(int, long) - Method in class ratpack.bytebuf.ByteBufRef
-
- setLongLE(int, long) - Method in class ratpack.bytebuf.ByteBufRef
-
- setMaxContentLength(long) - Method in interface ratpack.http.Request
-
Sets the allowed max content length for the request body.
- setMedium(int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setMediumLE(int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setShort(int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setShortLE(int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- setZero(int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- shouldReload(Registry) - Method in interface ratpack.server.ReloadInformant
-
Whether the server should reload.
- shutdown(String, Action<? super StopEvent>) - Static method in interface ratpack.service.Service
-
- skipBytes(int) - Method in class ratpack.bytebuf.ByteBufRef
-
- slice() - Method in class ratpack.bytebuf.ByteBufRef
-
- slice(int, int) - Method in class ratpack.bytebuf.ByteBufRef
-
- sseStreamClient(ByteBufAllocator) - Static method in interface ratpack.sse.ServerSentEventStreamClient
-
- ssl(SSLContext) - Method in interface ratpack.server.ServerConfigBuilder
-
- 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
-
- sslContext(Factory<SSLContext>) - Method in interface ratpack.http.client.RequestSpec
-
- sslContext(SslContext) - Method in interface ratpack.http.client.RequestSpec
-
Sets the 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
-
Factory methods for initializing an SSLContext.
- standard() - Static method in interface ratpack.handling.Redirector
-
The default redirect issuing strategy.
- 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
-
- StartEvent - Interface in ratpack.service
-
A start event.
- startup(String, Action<? super StartEvent>) - Static method in interface ratpack.service.Service
-
- StartupFailureException - Exception in ratpack.server
-
Thrown when a server fails to start.
- StartupFailureException(String) - Constructor for exception ratpack.server.StartupFailureException
-
Constructor.
- StartupFailureException(String, Throwable) - Constructor for exception ratpack.server.StartupFailureException
-
Constructor.
- status(int) - Method in interface ratpack.http.Response
-
Sets the status line of the response.
- status(Status) - Method in interface ratpack.http.Response
-
Sets the status line of the response.
- Status - Interface in ratpack.http
-
A status line of a HTTP response.
- stop() - Method in interface ratpack.server.RatpackServer
-
Stops the server, returning as soon as the server has stopped receiving requests.
- stop() - Method in interface ratpack.server.Stopper
-
Initiates the shutdown process for the running application.
- StopEvent - Interface in ratpack.server
-
- StopEvent - Interface in ratpack.service
-
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.
- 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.
- SWITCHING_PROTOCOLS - Static variable in interface ratpack.http.Status
-
The 101 status code.
- 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.
- TEMPORARY_REDIRECT - Static variable in interface ratpack.http.Status
-
The 307 status code.
- 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".
- threads(int) - Method in interface ratpack.server.ServerConfigBuilder
-
The number of threads to use.
- 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.
- TOO_MANY_REQUESTS - Static variable in interface ratpack.http.Status
-
The 429 status code.
- toString(Charset) - Method in class ratpack.bytebuf.ByteBufRef
-
- toString(int, int, Charset) - Method in class ratpack.bytebuf.ByteBufRef
-
- toString() - Method in class ratpack.bytebuf.ByteBufRef
-
- toString() - Method in class ratpack.health.HealthCheckResults
-
Provides a string representation of the results.
- toString() - Method in class ratpack.parse.NullParseOpts
-
- toString() - Method in interface ratpack.server.ReloadInformant
-
The description of this reload informant.
- touch() - Method in class ratpack.bytebuf.ByteBufRef
-
- touch(Object) - Method in class ratpack.bytebuf.ByteBufRef
-
- TYPE - Static variable in interface ratpack.error.ClientErrorHandler
-
A type token for this type.
- TYPE - Static variable in interface ratpack.error.ServerErrorHandler
-
A type token for this type.
- TYPE - Static variable in interface ratpack.file.FileSystemBinding
-
A type token for this type.
- 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(CharSequence, 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, Handler) - 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(CharSequence, Handler) - 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, Class<? extends Handler>) - 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(CharSequence, Class<? extends Handler>) - 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 - Static variable in interface ratpack.handling.Context
-
A type token for this type.
- TYPE - Static variable in interface ratpack.handling.Redirector
-
A type token for this type.
- TYPE - Static variable in interface ratpack.handling.RequestId.Generator
-
A type token for this type.
- TYPE - Static variable in interface ratpack.handling.RequestId
-
A type token for this type.
- type(CharSequence) - Method in interface ratpack.http.client.RequestSpec.Body
-
Specifies the "Content-Type" of the request.
- TYPE - Static variable in interface ratpack.http.Request
-
A type token for this type.
- TYPE - Static variable in interface ratpack.http.Response
-
A type token for this type.
- TYPE - Static variable in interface ratpack.path.PathBinding
-
A type token for this type.
- TYPE - Static variable in interface ratpack.server.ServerConfig
-
A type token for this type.
- 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.