Skip navigation links
A B C I M O P Q R S T V 

A

allowedMethods() - Method in class io.norberg.rut.Router.Result
Get all allowed methods for the route if Router.Result.status() is Router.Status.SUCCESS or Router.Status.METHOD_NOT_ALLOWED.

B

build() - Method in class io.norberg.rut.Router.Builder
Create a new Router that will route requests to all endpoints registered with Router.Builder.route(java.lang.String, java.lang.String, T).
builder() - Static method in class io.norberg.rut.Router
 
builder(Class<T>) - Static method in class io.norberg.rut.Router
 

C

captureNames() - Method in class io.norberg.rut.Route
 
captureParameterTypes() - Method in class io.norberg.rut.Route
 
capturing(int) - Static method in class io.norberg.rut.Router.Result
Create a new Router.Result with enough capacity to hold captures captured parameters.

I

io.norberg.rut - package io.norberg.rut
 
isSuccess() - Method in class io.norberg.rut.Router.Result
Convenience method for checking if the routing status is Router.Status.SUCCESS.

M

method() - Method in class io.norberg.rut.Route
 

O

of(CharSequence, CharSequence) - Static method in class io.norberg.rut.Route
 
optionalTrailingSlash(boolean) - Method in class io.norberg.rut.Router.Builder
Set trailing slash matching to be optional or not.

P

ParameterType - Enum in io.norberg.rut
Path parameter type.
paramName(int) - Method in class io.norberg.rut.Router.Result
Get the name of the captured path parameter at index {code i}.
params() - Method in class io.norberg.rut.Router.Result
Get the number of captured parameter values.
paramType(int) - Method in class io.norberg.rut.Router.Result
Get the parameter type of the captured path parameter at index i.
paramValue(int) - Method in class io.norberg.rut.Router.Result
Get the value of the captured path parameter at index {code i}.
paramValueDecoded(int) - Method in class io.norberg.rut.Router.Result
Get the URL decoded value of the captured path parameter at index {code i}.
paramValueEnd(int) - Method in class io.norberg.rut.Router.Result
Get end offset into the routed path of the captured parameter at index {code i}.
paramValueStart(int) - Method in class io.norberg.rut.Router.Result
Get start offset into the routed path of the captured parameter at index {code i}.
pathString() - Method in class io.norberg.rut.Route
 

Q

query() - Method in class io.norberg.rut.Router.Result
Get query string.
queryEnd() - Method in class io.norberg.rut.Router.Result
Get query string end index.
queryStart() - Method in class io.norberg.rut.Router.Result
Get query string start index.

R

result() - Method in class io.norberg.rut.Router
Create a Router.Result with enough capacity to hold all captured parameters for any endpoint of this router.
Route - Class in io.norberg.rut
 
route(String, String, T) - Method in class io.norberg.rut.Router.Builder
Register a routing path and method.
route(Route, T) - Method in class io.norberg.rut.Router.Builder
Register a route.
route(CharSequence, CharSequence, Router.Result<T>) - Method in class io.norberg.rut.Router
Route a request.
Router<T> - Class in io.norberg.rut
A router for routing REST request paths to endpoints.
Router.Builder<T> - Class in io.norberg.rut
Router builder.
Router.Result<T> - Class in io.norberg.rut
Routing result holder.
Router.Status - Enum in io.norberg.rut
Routing result.

S

status() - Method in class io.norberg.rut.Router.Result

T

target() - Method in class io.norberg.rut.Router.Result
Get routing target, if successful.
toString() - Method in class io.norberg.rut.Route
 

V

valueOf(String) - Static method in enum io.norberg.rut.ParameterType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.norberg.rut.Router.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.norberg.rut.ParameterType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.norberg.rut.Router.Status
Returns an array containing the constants of this enum type, in the order they are declared.
A B C I M O P Q R S T V 
Skip navigation links

Copyright © 2015. All Rights Reserved.