Uses of Class
ratpack.api.Nullable
-
Packages that use Nullable Package Description ratpack.file Types for dealing with the file system and serving files.ratpack.form Support for handling uploaded forms, including file uploads.ratpack.func General functional (i.e. Single Abstract Method) types.ratpack.groovy Support for writing Ratpack applications in the Groovy programming language.ratpack.gson Provides integration with Google Gson for JSON parsing and rendering.ratpack.handling The handling of application requests.ratpack.health Health checks report on the status of key components in the system and are generally used for monitoring and reporting.ratpack.http The HTTP protocol.ratpack.jackson Integration with the Jackson JSON marshalling library.ratpack.parse Parsing in Ratpack refers to deserializing a request body into a Java object of some type.ratpack.server Objects used to start a ratpack application.ratpack.session Objects for providingSessionsupport.ratpack.session.clientside Support for Client Side Session.ratpack.sse Support for Server Sent Events.ratpack.stream Support for reactive streams.ratpack.test.handling Test fixtures for exercisingHandlerimplementations without start a fullEmbeddedApp.ratpack.test.http Test fixtures that provide HTTP client interfaces to applications under test.ratpack.util General purpose types and utilities. -
-
Uses of Nullable in ratpack.file
Methods in ratpack.file with annotations of type Nullable Modifier and Type Method Description java.nio.file.PathFileSystemBinding. file(java.lang.String path)Creates a file reference relative to the bind point denoted by the given relative path. -
Uses of Nullable in ratpack.form
Methods in ratpack.form with annotations of type Nullable Modifier and Type Method Description UploadedFileForm. file(java.lang.String name)Return the first uploaded file with the given name.java.lang.StringUploadedFile. getFileName()The name given for the file. -
Uses of Nullable in ratpack.func
Method parameters in ratpack.func with annotations of type Nullable Modifier and Type Method Description static <T> Action<? super T>Action. noopIfNull(Action<T> action)If the given action isnull, returnsAction.noop(), otherwise returns the given action. -
Uses of Nullable in ratpack.groovy
Method parameters in ratpack.groovy with annotations of type Nullable Modifier and Type Method Description static HandlerGroovy. chain(ServerConfig serverConfig, Registry registry, Closure<?> closure)Builds a chain, backed by the given registry.static HandlerGroovy. chain(ServerConfig serverConfig, Registry registry, Closure<?> closure)Builds a chain, backed by the given registry. -
Uses of Nullable in ratpack.gson
Methods in ratpack.gson with annotations of type Nullable Modifier and Type Method Description com.google.gson.GsonGsonRender. getGson()TheGsoninstance to use when serializing the object to JSON.Method parameters in ratpack.gson with annotations of type Nullable Modifier and Type Method Description static <T> Parse<T,GsonParseOpts>Gson. fromJson(com.google.common.reflect.TypeToken<T> type, com.google.gson.Gson gson)Creates aparseable objectto parse a request body into the given type.static <T> Parse<T,GsonParseOpts>Gson. fromJson(java.lang.Class<T> type, com.google.gson.Gson gson)Creates aparseable objectto parse a request body into the given type.static GsonRenderGson. json(java.lang.Object object, com.google.gson.Gson gson)Creates arenderable objectto render the given object as JSON.static Parse<com.google.gson.JsonElement,GsonParseOpts>Gson. jsonElement(com.google.gson.Gson gson)Creates aparseable objectto parse a request body into aJsonElement. -
Uses of Nullable in ratpack.handling
Method parameters in ratpack.handling with annotations of type Nullable Modifier and Type Method Description static HandlerHandlers. chain(ServerConfig serverConfig, Registry registry, Action<? super Chain> action)Builds a chain, backed by the given registry.static HandlerHandlers. chain(ServerConfig serverConfig, Registry registry, Action<? super Chain> action)Builds a chain, backed by the given registry. -
Uses of Nullable in ratpack.health
Methods in ratpack.health with annotations of type Nullable Modifier and Type Method Description java.lang.ThrowableHealthCheck.Result. getError()The exception representing an unhealthy check, may benull.java.lang.StringHealthCheck.Result. getMessage()Any message provided as part of the check, may benull. -
Uses of Nullable in ratpack.http
Methods in ratpack.http with annotations of type Nullable Modifier and Type Method Description java.lang.StringHeaders. get(java.lang.CharSequence name)Returns the header value with the specified header name.java.lang.StringHeaders. get(java.lang.String name)Returns the header value with the specified header name.java.lang.StringMediaType. getCharset()The value of the "charset" parameter.java.util.DateHeaders. getDate(java.lang.CharSequence name)Returns the header value as a date with the specified header name.java.util.DateHeaders. getDate(java.lang.String name)Returns the header value as a date with the specified header name.default java.time.InstantHeaders. getInstant(java.lang.CharSequence name)Returns the header value as an instant with the specified header name.java.lang.StringMediaType. getType()The type without parameters.java.lang.StringRequest. oneCookie(java.lang.String name)Returns the value of the cookie with the specified name if it was sent. -
Uses of Nullable in ratpack.jackson
Methods in ratpack.jackson with annotations of type Nullable Modifier and Type Method Description ObjectWriterJsonRender. getObjectWriter()The object writer to use to render the object as JSON.java.lang.Class<?>JsonRender. getViewClass()The view class to use when rendering the object.Method parameters in ratpack.jackson with annotations of type Nullable Modifier and Type Method Description static <T> Parse<T,JsonParseOpts>Jackson. fromJson(com.google.common.reflect.TypeToken<T> type, ObjectMapper objectMapper)Creates aparseable objectto parse a request body into the given type.static <T> Parse<T,JsonParseOpts>Jackson. fromJson(java.lang.Class<T> type, ObjectMapper objectMapper)Creates aparseable objectto parse a request body into the given type.static JsonRenderJackson. json(java.lang.Object object, ObjectWriter objectWriter)Creates arenderable objectto render the given object as JSON.static JsonRenderJackson. json(java.lang.Object object, ObjectWriter objectWriter, java.lang.Class<?> viewClass)Creates arenderable objectto render the given object as JSON.static JsonRenderJackson. json(java.lang.Object object, ObjectWriter objectWriter, java.lang.Class<?> viewClass)Creates arenderable objectto render the given object as JSON.static JsonRenderJackson. json(java.lang.Object object, java.lang.Class<?> viewClass)Creates arenderable objectto render the given object as JSON.static Parse<JsonNode,JsonParseOpts>Jackson. jsonNode(ObjectMapper objectMapper)Creates aparseable objectto parse a request body into aJsonNode. -
Uses of Nullable in ratpack.parse
Methods in ratpack.parse with annotations of type Nullable Modifier and Type Method Description <T> TParser. parse(Context context, TypedData requestBody, Parse<T,O> parse)Deserializes the request body of the context into an object. -
Uses of Nullable in ratpack.server
Methods in ratpack.server with annotations of type Nullable Modifier and Type Method Description java.net.InetAddressServerConfig. getAddress()The address of the interface that the application should bind to.java.lang.StringRatpackServer. getBindHost()The actual host/ip that the application is bound to.javax.net.ssl.SSLContextServerConfig. getSslContext()Deprecated.since 1.5, preferServerConfig.getNettySslContext() -
Uses of Nullable in ratpack.session
Methods in ratpack.session with annotations of type Nullable Modifier and Type Method Description java.lang.StringSessionKey. getName()The name.java.lang.Class<T>SessionKey. getType()The type.Method parameters in ratpack.session with annotations of type Nullable Modifier and Type Method Description static <T> SessionKey<T>SessionKey. of(java.lang.String name, java.lang.Class<T> type)Creates a key of the given name and type.static <T> SessionKey<T>SessionKey. of(java.lang.String name, java.lang.Class<T> type)Creates a key of the given name and type. -
Uses of Nullable in ratpack.session.clientside
Methods in ratpack.session.clientside with annotations of type Nullable Modifier and Type Method Description java.lang.StringClientSideSessionConfig. getCipherAlgorithm()TheCipheralgorithm used to encrypt/decrypt the serialized sessionjava.lang.StringClientSideSessionConfig. getSecretKey()The secret key used in the symmetric-key encyrption/decryption of the serialized session.Method parameters in ratpack.session.clientside with annotations of type Nullable Modifier and Type Method Description voidClientSideSessionConfig. setCipherAlgorithm(java.lang.String cipherAlgorithm)Set the cipher algorithm used to encrypt/decrypt the serialized session data.voidClientSideSessionConfig. setLastAccessTimeCookieName(java.lang.String lastAccessTimeCookieName)Sets the name of the cookie used to store session's last access time.voidClientSideSessionConfig. setSecretKey(java.lang.String secretKey)Set the secret key used in the symmetric-key encryption/decryption of the serialized session data. -
Uses of Nullable in ratpack.sse
Methods in ratpack.sse with annotations of type Nullable Modifier and Type Method Description java.lang.StringServerSentEvent. getComment()The “comment” value of the event.java.lang.StringServerSentEvent. getData()The “data” value of the event.java.lang.StringServerSentEvent. getEvent()The “event” value of the event.java.lang.StringServerSentEvent. getId()The “id” value of the event.Publisher<? extends Event<?>>ServerSentEvents. getPublisher()Deprecated.since 1.10 with no replacementMethod parameters in ratpack.sse with annotations of type Nullable Modifier and Type Method Description ServerSentEventBuilderServerSentEventBuilder. comment(java.lang.String comment)Specify a comment to include as part of this event.ServerSentEventBuilderServerSentEventBuilder. data(java.lang.String data)Specify the event data for the server sent event.ServerSentEventBuilderServerSentEventBuilder. event(java.lang.String event)Specify the event type for the server sent event.ServerSentEventBuilderServerSentEventBuilder. id(java.lang.String id)Specify the event id for the server sent event. -
Uses of Nullable in ratpack.stream
Methods in ratpack.stream with annotations of type Nullable Modifier and Type Method Description TStreamEvent. getItem()The data, if this event represents an emission of data.java.lang.ThrowableStreamEvent. getThrowable()The error, if this event represents an error. -
Uses of Nullable in ratpack.test.handling
Methods in ratpack.test.handling with annotations of type Nullable Modifier and Type Method Description byte[]HandlingResult. getBodyBytes()The response body, as bytes.java.lang.StringHandlingResult. getBodyText()The response body, interpreted as a utf8 string.java.lang.IntegerHandlingResult. getClientError()The client error raised if any, unless a custom client error handler is in use.java.util.Set<io.netty.handler.codec.http.cookie.Cookie>HandlingResult. getCookies()The cookies to be set as part of the response.java.nio.file.PathHandlingResult. getSentFile()Indicates whether the result of invoking the handler was that it invoked one of theResponse.sendFile(java.nio.file.Path)methods.<T> THandlingResult. rendered(java.lang.Class<T> type)The object that was rendered to the response. -
Uses of Nullable in ratpack.test.http
Method parameters in ratpack.test.http with annotations of type Nullable Modifier and Type Method Description static TestHttpClientTestHttpClient. testHttpClient(ApplicationUnderTest applicationUnderTest, Action<? super RequestSpec> requestConfigurer)A method to create an instance of the default implementation of TestHttpClient. -
Uses of Nullable in ratpack.util
Methods in ratpack.util with annotations of type Nullable Modifier and Type Method Description VMultiValueMap. get(java.lang.Object key)Get the first value for the key, ornullif there are no values for the key.
-