- H2Module - Class in ratpack.h2
-
- H2Module() - Constructor for class ratpack.h2.H2Module
-
- H2Module(String, String, String) - Constructor for class ratpack.h2.H2Module
-
- handle(Context) - Method in class ratpack.codahale.metrics.MetricsWebsocketBroadcastHandler
-
- handle(GroovyContext) - Method in class ratpack.groovy.handling.GroovyHandler
-
The handle method to implement.
- handle(Context) - Method in class ratpack.groovy.handling.GroovyHandler
-
- handle(Handler, Closure<?>) - Static method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
- handle(Action<? super Chain>, Closure<?>) - Static method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
- 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 class ratpack.handling.ResponseTimer
-
Adds the number of milliseconds of elapsed time between the invocation of this method and when the response is ready to be sent.
- handle(Context) - Method in class ratpack.health.HealthCheckHandler
-
Renders health checks.
- handle(Context) - Method in class ratpack.hystrix.HystrixMetricsEventStreamHandler
-
- handle(Handler, Action<? super RequestFixture>) - Static method in interface ratpack.test.handling.RequestFixture
-
- handle(Action<? super Chain>, Action<? super RequestFixture>) - Static method in interface ratpack.test.handling.RequestFixture
-
- handle(Handler) - Method in interface ratpack.test.handling.RequestFixture
-
Invokes the given handler with a newly created
Context
based on the state of this fixture.
- HandlebarsModule - Class in ratpack.handlebars
-
An extension module that provides support for Handlebars.java templating engine.
- HandlebarsModule() - Constructor for class ratpack.handlebars.HandlebarsModule
-
- HandlebarsModule.Config - Class in ratpack.handlebars
-
- handlebarsTemplate(String) - Static method in class ratpack.handlebars.Template
-
- handlebarsTemplate(Map<String, ?>, String) - Static method in class ratpack.handlebars.Template
-
- handlebarsTemplate(String, Consumer<? super ImmutableMap.Builder<String, Object>>) - Static method in class ratpack.handlebars.Template
-
- handlebarsTemplate(Map<String, ?>, String, String) - Static method in class ratpack.handlebars.Template
-
- handlebarsTemplate(String, String, Consumer<? super ImmutableMap.Builder<String, Object>>) - Static method in class ratpack.handlebars.Template
-
- handlebarsTemplate(String, Object) - Static method in class ratpack.handlebars.Template
-
- handlebarsTemplate(String, Object, String) - Static method in class ratpack.handlebars.Template
-
- handleChain(Action<? super Chain>) - Method in interface ratpack.test.handling.RequestFixture
-
- handler(Function<? super Registry, ? extends Handler>) - Method in interface ratpack.groovy.server.GroovyRatpackServerSpec
-
- 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.
- handlerDecorator(String) - Static method in class ratpack.remote.RemoteControl
-
- handlerDecorator() - Static method in class ratpack.remote.RemoteControl
-
- HandlerExceptionNotThrownException - Exception in ratpack.test.handling
-
Exception thrown when the HandlingResult.exception(type) is called but no exception was thrown.
- HandlerExceptionNotThrownException() - Constructor for exception ratpack.test.handling.HandlerExceptionNotThrownException
-
- handlers(Closure<?>) - Method in interface ratpack.groovy.Groovy.Ratpack
-
Registers the closure used to build the handler chain of the application.
- handlers() - Static method in class ratpack.groovy.Groovy.Script
-
- handlers(boolean) - Static method in class ratpack.groovy.Groovy.Script
-
- handlers(boolean, String) - Static method in class ratpack.groovy.Groovy.Script
-
- handlers(Closure<?>) - Method in interface ratpack.groovy.server.GroovyRatpackServerSpec
-
- 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.
- HandlerTimeoutException - Exception in ratpack.test.handling
-
Thrown when a handler under test takes too long to produce a result.
- HandlerTimeoutException(HandlingResult, int) - Constructor for exception ratpack.test.handling.HandlerTimeoutException
-
Constructor.
- HandlingResult - Interface in ratpack.test.handling
-
Represents the result of testing one or more handlers.
- harness() - Static method in interface ratpack.test.exec.ExecHarness
-
Creates a new execution harness.
- harness(int) - Static method in interface ratpack.test.exec.ExecHarness
-
- hashCode() - Method in class ratpack.func.Pair
-
Hash code.
- head() - Method in interface ratpack.test.http.TestHttpClient
-
Make a HEAD request with a path of "" this is the same as calling head("")
- head(String) - Method in interface ratpack.test.http.TestHttpClient
-
Make a HEAD request to the specified path.
- header(CharSequence, String) - Method in interface ratpack.groovy.test.handling.GroovyRequestFixture
-
Set a request header value.
- header(CharSequence, String) - Method in interface ratpack.test.handling.RequestFixture
-
Set a request header value.
- 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 compose 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.
- HikariModule - Class in ratpack.hikari
-
An extension module that provides a
DataSource
from a HikariCP JDBC connection pool.
- HikariModule() - Constructor for class ratpack.hikari.HikariModule
-
- host(String, Action<? super Chain>) - Method in interface ratpack.groovy.handling.GroovyChain
-
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.groovy.handling.GroovyChain
- host(String, Closure<?>) - Method in interface ratpack.groovy.handling.GroovyChain
-
If the request has a Host
header that matches the given host name exactly, handling will be delegated to the chain defined by the given closure.
- 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(Object) - Method in interface ratpack.groovy.template.TextTemplateScript
-
Escapes the toString() value of the given object, by way of
HtmlEscapers
.
- 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".
- htmlBuilder(Closure<?>) - Static method in class ratpack.groovy.Groovy
-
- http() - Static method in interface ratpack.http.HttpUrlBuilder
-
Create a new HTTP URL builder.
- HttpClient - Interface in ratpack.http.client
-
A http client that makes all HTTP requests asynchronously and returns a
Promise
.
- httpClient(ServerConfig, Registry) - Static method in interface ratpack.http.client.HttpClient
-
A method to create an instance of the default implementation of HttpClient.
- httpClient(ExecController, ByteBufAllocator, int) - Static method in interface ratpack.http.client.HttpClient
-
A method to create an instance of the default implementation of HttpClient.
- HttpMethod - Interface in ratpack.http
-
The method of a HTTP request.
- httpOnly(boolean) - Method in class ratpack.session.SessionCookieConfig
-
Set session cookies attribute HttpOnly
.
- https() - Static method in interface ratpack.http.HttpUrlBuilder
-
Create a new HTTPS URL builder.
- HttpUrlBuilder - Interface in ratpack.http
-
Builds a HTTP URL, safely.
- HystrixMetricsEventStreamHandler - Class in ratpack.hystrix
-
A Handler that streams Hystrix metrics in text/event-stream format.
- HystrixMetricsEventStreamHandler() - Constructor for class ratpack.hystrix.HystrixMetricsEventStreamHandler
-
- HystrixModule - Class in ratpack.hystrix
-
An extension module that provides support for
Hystrix.
- HystrixModule() - Constructor for class ratpack.hystrix.HystrixModule
-
- HystrixModule.Config - Class in ratpack.hystrix
-