- name(String) - Method in interface ratpack.http.HttpMethod
-
Returns true if the method has the given name, insensitive to case.
- named(String, Block) - Method in interface ratpack.handling.ByMethodSpec
-
Defines the action to to take if the request has a HTTP method of methodName
.
- NamedHelper<T> - Interface in ratpack.handlebars
-
Implementations of this interface bound with Guice will be automatically registered as handlebars helpers.
- ncsa() - Static method in interface ratpack.handling.RequestLogger
-
- ncsa(Logger) - Static method in interface ratpack.handling.RequestLogger
-
Logs in the NCSA Common Log format.
- nestLeft(T) - Method in class ratpack.func.Pair
-
Creates a new pair, with pair(t, this.left)
as the left item and the the right value of this
as the right.
- nestRight(T) - Method in class ratpack.func.Pair
-
Creates a new pair, with pair(t, this.right)
as the right item and the the left value of this
as the left.
- newInjectorFactory(ServerConfig) - Static method in class ratpack.guice.Guice
-
- NewRelicModule - Class in ratpack.newrelic
-
- NewRelicModule() - Constructor for class ratpack.newrelic.NewRelicModule
-
- NewRelicTransaction - Interface in ratpack.newrelic
-
- next(Operation) - Method in interface ratpack.exec.Operation
-
- next(Block) - Method in interface ratpack.exec.Operation
-
- next(Promise<O>) - Method in interface ratpack.exec.Promise
-
- next(Action<? super T>) - Method in interface ratpack.exec.Promise
-
Executes the provided, potentially asynchronous,
Action
with the promised value as input.
- next() - Method in interface ratpack.handling.Context
-
Delegate handling to the next handler in line.
- next(Registry) - Method in interface ratpack.handling.Context
-
Invokes the next handler, after adding the given registry.
- next() - Static method in class ratpack.handling.Handlers
-
A handler that simply delegates to the next handler.
- nextOp(Function<? super T, ? extends Operation>) - Method in interface ratpack.exec.Promise
-
Executes the operation returned by the given function.
- NoBaseDirException - Exception in ratpack.server
-
Thrown when a request is made for the base directory of the application in an application
launch config where no base directory has been set.
- NoBaseDirException(String) - Constructor for exception ratpack.server.NoBaseDirException
-
Constructor.
- noCompress() - Method in interface ratpack.http.Response
-
Prevents the response from being compressed.
- noMatch(Block) - Method in interface ratpack.handling.ByContentSpec
-
Specifies that the given handler should be used if the client's requested content type cannot be matched with any of the other handlers.
- noMatch(String) - Method in interface ratpack.handling.ByContentSpec
-
Specifies that the handler for the specified content type should be used if the client's requested content type cannot be matched with any of the other handlers.
- NonBlocking - Annotation Type in ratpack.api
-
Declares that a method or function-like method parameter is non-blocking and can freely use
Promise
and other async constructs.
- none() - Static method in class ratpack.impose.Impositions
-
An empty set of impositions.
- none() - Static method in class ratpack.impose.UserRegistryImposition
-
Creates an imposition of an empty registry.
- noop() - Static method in interface ratpack.exec.Operation
-
- noop() - Static method in interface ratpack.func.Action
-
Returns an action that does precisely nothing.
- noop() - Static method in interface ratpack.func.Block
-
- noop() - Static method in interface ratpack.handling.HandlerDecorator
-
A handler decorator implementation that does not decorate the handler.
- noopIfNull(Action<T>) - Static method in interface ratpack.func.Action
-
If the given action is
null
, returns
Action.noop()
, otherwise returns the given action.
- NoOptParserSupport - Class in ratpack.parse
-
A convenience base for parsers that don't require options.
- NoOptParserSupport() - Constructor for class ratpack.parse.NoOptParserSupport
-
- NoSuchParserException - Exception in ratpack.parse
-
Thrown when a request is made to parse the request, but no suitable parser was found that matched the content type and parse object.
- NoSuchParserException(TypeToken<?>, Object, String) - Constructor for exception ratpack.parse.NoSuchParserException
-
Constructor.
- NoSuchParserException(TypeToken<?>, Object, String, Iterable<Parser<?>>) - Constructor for exception ratpack.parse.NoSuchParserException
-
Constructor.
- NoSuchRendererException - Exception in ratpack.render
-
Thrown when a request is made to render an object, but no suitable renderer can be found.
- NoSuchRendererException(Object) - Constructor for exception ratpack.render.NoSuchRendererException
-
Constructor.
- NoSuitableHandleMethodException(Class<?>, SecurityException) - Constructor for exception ratpack.handling.InjectionHandler.NoSuitableHandleMethodException
-
- notFound() - Method in interface ratpack.groovy.handling.GroovyChain
-
- notFound() - Method in interface ratpack.handling.Chain
-
- notFound() - Method in interface ratpack.handling.Context
-
Issues a 404 client error.
- notFound() - Static method in class ratpack.handling.Handlers
-
- NotInRegistryException - Exception in ratpack.registry
-
Thrown when a request is made for an object that a registry cannot provide.
- NotInRegistryException(TypeToken<?>) - Constructor for exception ratpack.registry.NotInRegistryException
-
Constructs the exception.
- NotInRegistryException(String) - Constructor for exception ratpack.registry.NotInRegistryException
-
Constructor.
- Nullable - Annotation Type in ratpack.api
-
Denotes that something may be null.
- NullParseOpts - Class in ratpack.parse
-
A generic parse type that can be used when parsers do not need any extra information from parse objects other than type.