A B C D E F G H I J K L M N O P R S T U V W X Z _ 
All Classes All Packages

A

a(String, String, DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <a>, or anchor element of a HTML document.
a(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <a> element of a HTML document.
accept(CompletableFuture<S>) - Method in interface rsp.state.CompletableFutureConsumer
Performs this write operation when the argument CompletableFuture completes with its result
accept(CompletableFuture<S>) - Method in class rsp.state.ReadOnly
 
accept(Function<S, S>) - Method in interface rsp.state.FunctionConsumer
Writes the new state with the result of the function.
accept(Function<S, S>) - Method in class rsp.state.ReadOnly
 
accept(PageRenderContext) - Method in class rsp.html.AttributeDefinition
 
accept(PageRenderContext) - Method in interface rsp.html.DocumentPartDefinition
An implementation of this method determines how its definition node is rendered to a virtual DOM tree.
accept(PageRenderContext) - Method in class rsp.html.ElementRefDefinition
 
accept(PageRenderContext) - Method in class rsp.html.ElementRefDefinition.KeyRef
 
accept(PageRenderContext) - Method in class rsp.html.EventDefinition
 
accept(PageRenderContext) - Method in class rsp.html.HtmlDocumentDefinition
 
accept(PageRenderContext) - Method in class rsp.html.PlainTagDefinition
 
accept(PageRenderContext) - Method in class rsp.html.SequenceDefinition
 
accept(PageRenderContext) - Method in class rsp.html.StyleDefinition
 
accept(PageRenderContext) - Method in class rsp.html.TagDefinition
 
accept(PageRenderContext) - Method in class rsp.html.TextDefinition
 
accept(S) - Method in class rsp.state.ReadOnly
 
acceptOptional(Function<S, Optional<S>>) - Method in interface rsp.state.FunctionConsumer
Writes the new state with the result of the function if the result is not empty.
acceptOptional(Function<S, Optional<S>>) - Method in class rsp.state.ReadOnly
 
addHeaders(Map<String, String>) - Method in class rsp.html.HtmlDocumentDefinition
Adds the HTTP headers to be rendered in the response.
any(S) - Static method in class rsp.routing.RoutingDsl
Creates a route that matches to any request.
App<S> - Class in rsp
An assembly point for everything needed to set off a UI application.
App(Route<HttpRequest, S>, Component<S>) - Constructor for class rsp.App
Creates an instance of an application with the default configuration.
App(S, Component<S>) - Constructor for class rsp.App
Creates an instance of an application with the default config and default routing which maps any request to the initial state.
AppConfig - Class in rsp
An application configuration.
AppConfig(int, int, Log.Reporting) - Constructor for class rsp.AppConfig
Creates an instance of an application object.
append(T[], T) - Static method in class rsp.util.ArrayUtils
Appends an item to an array resulting in a new array.
apply(HttpRequest) - Method in class rsp.routing.HttpRequestMatchFunction
 
apply(Path) - Method in class rsp.routing.PathMatchFunction
 
apply(T) - Method in class rsp.routing.Routes
 
apply(T1, T2, T3) - Method in interface rsp.util.TriFunction
 
Array(JsonDataType...) - Constructor for class rsp.util.json.JsonDataType.Array
 
ArrayUtils - Class in rsp.util
Provides utility methods for Java arrays.
ArrayUtils() - Constructor for class rsp.util.ArrayUtils
 
asDouble() - Method in class rsp.util.json.JsonDataType.Number
 
asLong() - Method in class rsp.util.json.JsonDataType.Number
 
assembleJs(File, File, String) - Static method in class rsp.util.JsCompiler
 
attr(String) - Static method in class rsp.html.HtmlDsl
A boolean attribute.
attr(String, String) - Static method in class rsp.html.HtmlDsl
A HTML element's attribute.
attr(String, String, boolean) - Static method in class rsp.html.HtmlDsl
A HTML element's attribute.
AttributeDefinition - Class in rsp.html
A definition of a HTML element's attribute.
AttributeDefinition(String, String, boolean) - Constructor for class rsp.html.AttributeDefinition
Creates a new instance of an attribute definition.

B

BaseDocumentPartDefinition - Class in rsp.html
The base class for all DLS definitions classes.
BaseDocumentPartDefinition() - Constructor for class rsp.html.BaseDocumentPartDefinition
 
body(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <body> element of a HTML document.
Boolean(boolean) - Constructor for class rsp.util.json.JsonDataType.Boolean
 
br() - Static method in class rsp.html.HtmlDsl
A HTML <br/> element of a HTML document.
button(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <button> element of a HTML document.

C

cast(Class<T>) - Method in interface rsp.state.UseState
 
children - Variable in class rsp.html.TagDefinition
 
CompletableFutureConsumer<S> - Interface in rsp.state
Represents a write state snapshot operation using a CompletableFuture.
CompletableFutureUtils - Class in rsp.util
 
CompletableFutureUtils() - Constructor for class rsp.util.CompletableFutureUtils
 
Component<S> - Interface in rsp
A UI component, a building block of a UI.
concat(Route<T, S>...) - Static method in class rsp.routing.RoutingDsl
Concatenates routes.
concat(T[], T[]) - Static method in class rsp.util.ArrayUtils
Concatenates two arrays into a new one.
config - Variable in class rsp.App
The application's configuration.
config(AppConfig) - Method in class rsp.App
Sets the application's config.
consume(Consumer<? super T>, Consumer<? super Throwable>) - Static method in class rsp.util.CompletableFutureUtils
 
convertToJsonType(Object) - Static method in class rsp.util.json.JsonSimple
Recursively converts a json-simple parsed JSON object to a JsonDataType.
createElementRef() - Static method in class rsp.html.HtmlDsl
Creates reference to a HTML element which can be used as a key for obtaining its element's properties values.
createTimerRef() - Static method in interface rsp.ref.TimerRef
Creates a reference to a schedule's timer.

D

debounce(int) - Method in class rsp.html.EventDefinition
Creates a new modified instance with the debounce events filter.
debounce(int, boolean) - Method in class rsp.html.EventDefinition
Creates a new modified instance with the debounce events filter.
debug(Consumer<Log>) - Method in class rsp.util.logging.Log.Default
 
debug(Consumer<Log>) - Method in interface rsp.util.logging.Log.Reporting
 
debug(Consumer<Log>) - Method in class rsp.util.logging.Slf4jLogReporting
 
DEBUG - rsp.util.logging.Log.Level
 
Default(Log.Level, Log.Format, Consumer<String>) - Constructor for class rsp.util.logging.Log.Default
 
DEFAULT - Static variable in class rsp.AppConfig
The default configuration.
DEFAULT_CONSOLE_LOG - Static variable in class rsp.AppConfig
A console logger used by default.
DEFAULT_HEARTBEAT_INTERVAL_MS - Static variable in class rsp.AppConfig
The default rate of heartbeat messages from a browser to server.
DEFAULT_LOG_LEVEL - Static variable in class rsp.AppConfig
The default log level.
DEFAULT_PROPERTIES_NAMES - Static variable in class rsp.html.HtmlDsl
Attributes names which are interpreted by default as properties.
DEFAULT_SCHEDULER_THREAD_POOL_SIZE - Static variable in class rsp.AppConfig
The application's scheduler thread pool default size.
DEFAULT_WEB_SERVER_MAX_THREADS - Static variable in class rsp.jetty.JettyServer
The Jetty server's maximum threads number by default is 50.
div(String) - Static method in class rsp.html.HtmlDsl
A HTML <div> element of a HTML document.
div(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <div> element of a HTML document.
DocumentPartDefinition - Interface in rsp.html
Represents a building block, a node of the input domain-specific language definitions document.

E

either(CompletableFuture<T>...) - Static method in class rsp.util.CompletableFutureUtils
 
Either<L,​R> - Class in rsp.util.data
Represents a value of one of two possible types.
elementPath - Variable in class rsp.html.EventDefinition
The path to the element the event generated on.
ElementRef - Interface in rsp.ref
 
ElementRefDefinition - Class in rsp.html
A reference to an element.
ElementRefDefinition() - Constructor for class rsp.html.ElementRefDefinition
 
ElementRefDefinition.KeyRef<K> - Class in rsp.html
 
empty() - Static method in interface rsp.state.UseState
Creates a new UseState wrapper instance with no specific state type.
EMPTY - Static variable in class rsp.util.json.JsonDataType.Object
 
equals(Object) - Method in class rsp.html.ElementRefDefinition.KeyRef
 
equals(Object) - Method in class rsp.util.data.Tuple2
 
equals(Object) - Method in class rsp.util.json.JsonDataType.Array
 
equals(Object) - Method in class rsp.util.json.JsonDataType.Boolean
 
equals(Object) - Method in class rsp.util.json.JsonDataType.Number
 
equals(Object) - Method in class rsp.util.json.JsonDataType.Object
 
equals(Object) - Method in class rsp.util.json.JsonDataType.String
 
error(Consumer<Log>) - Method in class rsp.util.logging.Log.Default
 
error(Consumer<Log>) - Method in interface rsp.util.logging.Log.Reporting
 
error(Consumer<Log>) - Method in class rsp.util.logging.Slf4jLogReporting
 
ERROR - rsp.util.logging.Log.Level
 
escape(String) - Static method in class rsp.util.json.JsonUtils
 
EventDefinition - Class in rsp.html
A DOM event subscription definition.
EventDefinition(String, Consumer<EventContext>, boolean, Event.Modifier) - Constructor for class rsp.html.EventDefinition
Creates a new instance of an event subscription.
EventDefinition(String, Consumer<EventContext>, Event.Modifier) - Constructor for class rsp.html.EventDefinition
Creates a new instance of an event subscription.
EventDefinition(Optional<VirtualDomPath>, String, Consumer<EventContext>, boolean, Event.Modifier) - Constructor for class rsp.html.EventDefinition
Creates a new instance of an event.
eventType - Variable in class rsp.html.EventDefinition
The event's type.
ExceptionsUtils - Class in rsp.util
 
ExceptionsUtils() - Constructor for class rsp.util.ExceptionsUtils
 

F

flatMap(Function<L, Either<LL, RR>>, Function<R, Either<LL, RR>>) - Method in class rsp.util.data.Either
 
form(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <form> element of a HTML document.
format(Log.Level, String) - Method in interface rsp.util.logging.Log.Format
 
format(Log.Level, String) - Method in class rsp.util.logging.Log.SimpleFormat
 
format(Log.Level, String, Throwable) - Method in interface rsp.util.logging.Log.Format
 
format(Log.Level, String, Throwable) - Method in class rsp.util.logging.Log.SimpleFormat
 
FunctionConsumer<S> - Interface in rsp.state
Represents a write state snapshot operation using the result of a function which transforms the current state to a new state.

G

get() - Method in class rsp.state.ReadOnly
 
get(String, BiFunction<HttpRequest, String, CompletableFuture<S>>) - Static method in class rsp.routing.RoutingDsl
Creates a route which matches a GET request and the provided path with one path parameter.
get(String, Function<HttpRequest, CompletableFuture<S>>) - Static method in class rsp.routing.RoutingDsl
Creates a route which matches a GET request and the provided path.
get(String, TriFunction<HttpRequest, String, String, CompletableFuture<S>>) - Static method in class rsp.routing.RoutingDsl
Creates a route which matches a GET request and the provided path with two path parameters.
get(Function<HttpRequest, Route<Path, S>>) - Static method in class rsp.routing.RoutingDsl
Creates a route which delegates matching of GET requests to the provided path matching sub-routes.

H

h1(String) - Static method in class rsp.html.HtmlDsl
A HTML <h1> element of a HTML document.
h1(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <h1> element of a HTML document.
h2(String) - Static method in class rsp.html.HtmlDsl
A HTML <h2> element of a HTML document.
h2(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <h2> element of a HTML document.
h3(String) - Static method in class rsp.html.HtmlDsl
A HTML <h3> element of a HTML document.
h3(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <h3> element of a HTML document.
h4(String) - Static method in class rsp.html.HtmlDsl
A HTML <h4> element of a HTML document.
h4(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <h4> element of a HTML document
h5(String) - Static method in class rsp.html.HtmlDsl
A HTML <h5> element of a HTML document.
h5(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <h5> element of a HTML document.
h6(String) - Static method in class rsp.html.HtmlDsl
A HTML <h6> element of a HTML document.
h6(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <h6> element of a HTML document.
handler - Variable in class rsp.html.EventDefinition
The event's handler.
hashCode() - Method in class rsp.html.ElementRefDefinition.KeyRef
 
hashCode() - Method in class rsp.util.data.Tuple2
 
hashCode() - Method in class rsp.util.json.JsonDataType.Array
 
hashCode() - Method in class rsp.util.json.JsonDataType.Boolean
 
hashCode() - Method in class rsp.util.json.JsonDataType.Number
 
hashCode() - Method in class rsp.util.json.JsonDataType.Object
 
hashCode() - Method in class rsp.util.json.JsonDataType.String
 
head(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <head> element of a HTML document.
headPlain(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A 'plain' HTML <head> element of a HTML document, has not to be upgraded with the script element establishing a WebSocket connection to the server after the browser loads the page.
heartbeatIntervalMs - Variable in class rsp.AppConfig
The rate of heartbeat messages from a browser to server.
heartbeatIntervalMs(int) - Method in class rsp.AppConfig
Creates a new copy of the configuration with a provided heartbeat interval.
html(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <html> element, the root element of a HTML document.
HtmlDocumentDefinition - Class in rsp.html
A definition of an HTML document.
HtmlDocumentDefinition(int, Map<String, String>, DocumentPartDefinition...) - Constructor for class rsp.html.HtmlDocumentDefinition
 
HtmlDsl - Class in rsp.html
A HTML tags definitions domain-specific language and related util functions.
HtmlDsl() - Constructor for class rsp.html.HtmlDsl
 
HttpRequestMatchFunction<S> - Class in rsp.routing
 
HttpRequestMatchFunction(PathPattern, TriFunction<HttpRequest, String, String, CompletableFuture<S>>) - Constructor for class rsp.routing.HttpRequestMatchFunction
 

I

info(Consumer<Log>) - Method in class rsp.util.logging.Log.Default
 
info(Consumer<Log>) - Method in interface rsp.util.logging.Log.Reporting
 
info(Consumer<Log>) - Method in class rsp.util.logging.Slf4jLogReporting
 
INFO - rsp.util.logging.Log.Level
 
input(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <input> element of a HTML document.
INSTANCE - Static variable in class rsp.util.json.JsonDataType.Null
 
isFractional() - Method in class rsp.util.json.JsonDataType.Number
 
isInstanceOf(Class<? extends S>) - Method in interface rsp.state.UseState
 
isProperty - Variable in class rsp.html.AttributeDefinition
Determines if this attribute is an HTML tag's property.
items - Variable in class rsp.html.SequenceDefinition
 
items() - Method in class rsp.util.json.JsonDataType.Array
 
iterate(Iterator<? extends T>) - Static method in class rsp.util.StreamUtils
Converts an Iterator to Stream.

J

JettyServer<S> - Class in rsp.jetty
An embedded server for an RSP application, Jetty provides a servlet container and a JSR 356 WebSockets API implementation.
JettyServer(int, String, App<S>) - Constructor for class rsp.jetty.JettyServer
Creates a Jetty web server instance for hosting an RSP application.
JettyServer(int, String, App<S>, Optional<StaticResources>, Optional<SslConfiguration>, int) - Constructor for class rsp.jetty.JettyServer
Creates a Jetty web server instance for hosting an RSP application.
JettyServer(int, String, App<S>, StaticResources) - Constructor for class rsp.jetty.JettyServer
Creates a Jetty web server instance for hosting an RSP application.
JettyServer(int, String, App<S>, StaticResources, SslConfiguration) - Constructor for class rsp.jetty.JettyServer
Creates a Jetty web server instance for hosting an RSP application.
join() - Method in class rsp.jetty.JettyServer
Blocks the current thread while the server's threads are running.
JsCompiler - Class in rsp.util
The Closure Compiler runner.
JsCompiler() - Constructor for class rsp.util.JsCompiler
 
JsonDataType - Interface in rsp.util.json
A representation of the JSON data types.
JsonDataType.Array - Class in rsp.util.json
A JSON array, an ordered list of values.
JsonDataType.Boolean - Class in rsp.util.json
A boolean JSON data type.
JsonDataType.Null - Class in rsp.util.json
The JSON null type.
JsonDataType.Number - Class in rsp.util.json
A numeric JSON data type.
JsonDataType.Object - Class in rsp.util.json
A JSON object, a collection of name/value pairs.
JsonDataType.String - Class in rsp.util.json
A string JSON data type.
JsonSimple - Class in rsp.util.json
json-simple related.
JsonSimple() - Constructor for class rsp.util.json.JsonSimple
 
JsonUtils - Class in rsp.util.json
 
JsonUtils() - Constructor for class rsp.util.json.JsonUtils
 

K

KeyRef(ElementRefDefinition, K) - Constructor for class rsp.html.ElementRefDefinition.KeyRef
 
keys() - Method in class rsp.util.json.JsonDataType.Object
 

L

label(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <label> element of a HTML document.
left(L) - Static method in class rsp.util.data.Either
 
li(String) - Static method in class rsp.html.HtmlDsl
A HTML <li> element of a HTML document.
li(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <li> element of a HTML document.
lifeCycleEventsListener - Variable in class rsp.App
An implementation of the lifecycle events listener.
link(AttributeDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <link> element of a HTML document.
locale() - Method in interface rsp.i18n.LocaleSupply
 
LocaleSupply - Interface in rsp.i18n
 
log - Variable in class rsp.AppConfig
The application's logger.
log(String) - Method in interface rsp.util.logging.Log
 
log(String, Throwable) - Method in interface rsp.util.logging.Log
 
log(Log.Reporting) - Method in class rsp.AppConfig
Creates a new copy of the configuration with a provided application logger.
Log - Interface in rsp.util.logging
 
LOG_LEVEL_PROPERTY_NAME - Static variable in class rsp.AppConfig
The application's internal log level system property name, "rsp.log.level", Log.Level, the log level name can be provided in a lower or upper case.
Log.Default - Class in rsp.util.logging
A console logger.
Log.Format - Interface in rsp.util.logging
 
Log.Level - Enum in rsp.util.logging
 
Log.Reporting - Interface in rsp.util.logging
 
Log.SimpleFormat - Class in rsp.util.logging
 

M

main(String[]) - Static method in class rsp.util.JsCompiler
 
map(Function<L, LL>, Function<R, RR>) - Method in class rsp.util.data.Either
 
mapWithIndex(Stream<? extends T>, BiFunction<Integer, ? super T, ? extends R>) - Static method in class rsp.util.StreamUtils
Returns a stream consisting of the results of applying the given two-arguments function to the elements of this stream.
match(Predicate<T>, Function<T, CompletableFuture<S>>) - Static method in class rsp.routing.RoutingDsl
 
match(Path) - Method in class rsp.routing.PathPattern
 
meta(AttributeDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <meta> element of a HTML document.
modifier - Variable in class rsp.html.EventDefinition
Defines how multiple events to be handled in a given period of time.

N

name - Variable in class rsp.html.AttributeDefinition
The attribute's name.
name - Variable in class rsp.html.StyleDefinition
The style's name.
name - Variable in class rsp.html.TagDefinition
 
newString() - Method in class rsp.util.RandomString
 
ns - Variable in class rsp.html.TagDefinition
 
Number(byte) - Constructor for class rsp.util.json.JsonDataType.Number
 
Number(double) - Constructor for class rsp.util.json.JsonDataType.Number
 
Number(float) - Constructor for class rsp.util.json.JsonDataType.Number
 
Number(int) - Constructor for class rsp.util.json.JsonDataType.Number
 
Number(long) - Constructor for class rsp.util.json.JsonDataType.Number
 
Number(short) - Constructor for class rsp.util.json.JsonDataType.Number
 

O

Object() - Constructor for class rsp.util.json.JsonDataType.Object
 
Object(Map<String, JsonDataType>) - Constructor for class rsp.util.json.JsonDataType.Object
 
of(String) - Static method in class rsp.routing.PathPattern
Creates a new instance of a path pattern from a string.
of(CompletableFuture<? extends DocumentPartDefinition>) - Static method in class rsp.html.HtmlDsl
Inserts a definition which is a result of a CompletableFuture completion.
of(Supplier<DocumentPartDefinition>) - Static method in class rsp.html.HtmlDsl
Inserts a definition which is a result of some code execution.
of(Stream<DocumentPartDefinition>) - Static method in class rsp.html.HtmlDsl
Inserts a zero or more definitions provided as a stream.
of(S, T) - Static method in class rsp.util.data.Tuple2
Creates a new instance of a tuple.
OFF - rsp.util.logging.Log.Level
 
ol(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <ol> element of a HTML document.
on(String, boolean, Consumer<EventContext>) - Static method in class rsp.html.HtmlDsl
A DOM event handler definition.
on(String, boolean, Consumer<EventContext>) - Method in class rsp.html.WindowRef
Registers an listener on a window object event.
on(String, Consumer<EventContext>) - Static method in class rsp.html.HtmlDsl
A DOM event handler definition.
on(String, Consumer<EventContext>) - Method in class rsp.html.WindowRef
Registers an listener on a window object event with the 'prevent-default' property set to true
on(Consumer<L>, Consumer<R>) - Method in class rsp.util.data.Either
 

P

p(String) - Static method in class rsp.html.HtmlDsl
A HTML <p> element of a HTML document.
p(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <p> element of a HTML document.
pageLifeCycle(PageLifeCycle<S>) - Method in class rsp.App
Sets a listener for the app pages lifecycle events.
pagesStorage - Variable in class rsp.App
 
paramsIndexes - Variable in class rsp.routing.PathPattern
 
path(String, CompletableFuture<S>) - Static method in class rsp.routing.RoutingDsl
Creates a path-specific route.
path(String, BiFunction<String, String, CompletableFuture<S>>) - Static method in class rsp.routing.RoutingDsl
Creates a path-specific route with two matching path parameters.
path(String, Function<String, CompletableFuture<S>>) - Static method in class rsp.routing.RoutingDsl
Creates a path-specific route with one matching path parameter.
PathMatchFunction<S> - Class in rsp.routing
 
PathMatchFunction(PathPattern, BiFunction<String, String, CompletableFuture<S>>) - Constructor for class rsp.routing.PathMatchFunction
 
PathPattern - Class in rsp.routing
Represents a path matching pattern.
patternSegments - Variable in class rsp.routing.PathPattern
 
PlainTagDefinition - Class in rsp.html
A definition of an XML tag.
PlainTagDefinition(XmlNs, String, DocumentPartDefinition...) - Constructor for class rsp.html.PlainTagDefinition
Creates a new instance of an XML tag's definition.
post(String, BiFunction<String, HttpRequest, CompletableFuture<S>>) - Static method in class rsp.routing.RoutingDsl
Creates a route which matches a GET request and the provided path with two path parameters.
post(String, Function<HttpRequest, CompletableFuture<S>>) - Static method in class rsp.routing.RoutingDsl
Creates a route which matches a POST request and the provided path.
post(String, TriFunction<HttpRequest, String, String, CompletableFuture<S>>) - Static method in class rsp.routing.RoutingDsl
Creates a route which matches a GET request and the provided path with two path parameters.
PREVENT_DEFAULT_DEFAULT_VALUE - Static variable in class rsp.html.EventDefinition
Is used when prevent default behaviour is not explicitly specified for an event.
preventDefault - Variable in class rsp.html.EventDefinition
if true, then Event.preventDefault() JavaScript method is called on the event object on the client side before sending the notification to the server, if false Event.preventDefault() is not called.
prop(String, String) - Static method in class rsp.html.HtmlDsl
An element's property attribute.

R

RandomString - Class in rsp.util
 
RandomString(int) - Constructor for class rsp.util.RandomString
 
readOnly(Supplier<S>) - Static method in interface rsp.state.UseState
Creates a new read-only UseState wrapper instance.
ReadOnly<S> - Class in rsp.state
A read-only state container.
ReadOnly(S) - Constructor for class rsp.state.ReadOnly
Creates a new instance of the read-only container.
readWrite(Supplier<S>, Consumer<S>) - Static method in interface rsp.state.UseState
Creates a new UseState wrapper instance.
readWriteInCompletableFuture(Supplier<S>, CompletableFutureConsumer<S>) - Static method in interface rsp.state.UseState
 
readWriteInFunction(Supplier<S>, FunctionConsumer<S>) - Static method in interface rsp.state.UseState
 
redirect(String) - Method in class rsp.html.HtmlDocumentDefinition
Sets redirect status code and the Location header.
ref() - Method in class rsp.html.WindowRef
 
Ref - Interface in rsp.ref
A Java object that is not defined by its fields, but rather by its identity.
render(UseState<S>) - Method in interface rsp.Component
Constructs a UI tree, which may contain HTML tags and/or descendant components.
render(S) - Method in interface rsp.Component
 
render(S, Consumer<S>) - Method in interface rsp.Component
 
renderWithCompletableFuture(S, CompletableFutureConsumer<S>) - Method in interface rsp.Component
 
renderWithFunction(S, FunctionConsumer<S>) - Method in interface rsp.Component
 
right(R) - Static method in class rsp.util.data.Either
 
rootComponent - Variable in class rsp.App
The root of the components tree.
Route<T,​S> - Interface in rsp.routing
Represents a route.
routeDefinitions - Variable in class rsp.routing.Routes
 
routes - Variable in class rsp.App
A function that dispatches an incoming HTTP request to a page's initial state.
Routes<T,​S> - Class in rsp.routing
Defines a sequence of routes.
Routes(Route<T, S>...) - Constructor for class rsp.routing.Routes
 
RoutingDsl - Class in rsp.routing
Contains routing DSL.
RoutingDsl() - Constructor for class rsp.routing.RoutingDsl
 
rsp - package rsp
Provides application-related and other essential APIs.
rsp.html - package rsp.html
Provides the RSP markup definition's domain specific language.
rsp.i18n - package rsp.i18n
 
rsp.jetty - package rsp.jetty
Provides the Jetty web server.
rsp.ref - package rsp.ref
Defines references API.
rsp.routing - package rsp.routing
Defines routing public API.
rsp.state - package rsp.state
This package defines state management classes and interfaces.
rsp.util - package rsp.util
General utils.
rsp.util.data - package rsp.util.data
Defines data structures.
rsp.util.json - package rsp.util.json
Provides JSON related utils.
rsp.util.logging - package rsp.util.logging
Provides RSP logging support.

S

schedulerThreadPoolSize - Variable in class rsp.AppConfig
The application's scheduler thread pool size.
sequence(List<CompletableFuture<T>>) - Static method in class rsp.util.StreamUtils
Converts a list of CompletableFuture to a CompletableFuture of a list
SequenceDefinition - Class in rsp.html
A sequence of definitions.
SequenceDefinition(DocumentPartDefinition[]) - Constructor for class rsp.html.SequenceDefinition
Creates a definition of a sequence of nodes definitions.
SimpleFormat() - Constructor for class rsp.util.logging.Log.SimpleFormat
 
Slf4jLogReporting - Class in rsp.util.logging
A Slf4j logger.
Slf4jLogReporting(String) - Constructor for class rsp.util.logging.Slf4jLogReporting
 
span(String) - Static method in class rsp.html.HtmlDsl
A HTML <span> element of a HTML document.
span(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <span> element of a HTML document.
stackTraceToString(Throwable) - Static method in class rsp.util.ExceptionsUtils
Reads an exception's stack trace as a String.
start() - Method in class rsp.jetty.JettyServer
Starts the server.
state2path - Variable in class rsp.App
A function that dispatches its first argument, a current state snapshot and its second argument of the previous path to the browser's navigation bar's path.
stateToPath(BiFunction<S, Path, Path>) - Method in class rsp.App
Sets the application's global state to the browser's navigation path function.
statusCode(int) - Method in class rsp.html.HtmlDocumentDefinition
Sets the HTTP status code to be rendered in the response.
stop() - Method in class rsp.jetty.JettyServer
Stops the server.
StreamUtils - Class in rsp.util
 
StreamUtils() - Constructor for class rsp.util.StreamUtils
 
String(String) - Constructor for class rsp.util.json.JsonDataType.String
Creates a new instance of a string JSON.
style(String, String) - Static method in class rsp.html.HtmlDsl
An element's inline style.
StyleDefinition - Class in rsp.html
A definition of a HTML element's inline style.
StyleDefinition(String, String) - Constructor for class rsp.html.StyleDefinition
Creates a new instance of a style definition.

T

t(String) - Method in interface rsp.i18n.Translate
 
table(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <table> element of a HTML document.
tag(String, DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
An arbitrary HTML element.
TagDefinition - Class in rsp.html
A definition of an XML tag.
TagDefinition(XmlNs, String, DocumentPartDefinition...) - Constructor for class rsp.html.TagDefinition
Creates a new instance of an XML tag's definition.
tbody(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <tbody> element of a HTML document.
td(String) - Static method in class rsp.html.HtmlDsl
A HTML <td> element of a HTML document.
td(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <td> element of a HTML document.
text(Object) - Static method in class rsp.html.HtmlDsl
An element's text content, for a input class other than q String.
text(String) - Static method in class rsp.html.HtmlDsl
An element's text content.
TextDefinition - Class in rsp.html
A definition of a HTML tag text content.
TextDefinition(String) - Constructor for class rsp.html.TextDefinition
Creates a new instance of a text definition.
th(String) - Static method in class rsp.html.HtmlDsl
A HTML <th> element of a HTML document.
th(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <th> element of a HTML document.
thead(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <thead> element of a HTML document.
throttle(int) - Method in class rsp.html.EventDefinition
Creates a new modified instance with the throttle event filter enabled.
TimerRef - Interface in rsp.ref
 
TimerRefDefinition - Class in rsp.html
The default implementation of a timer's reference.
TimerRefDefinition() - Constructor for class rsp.html.TimerRefDefinition
 
title(String) - Static method in class rsp.html.HtmlDsl
A HTML <title> element of a HTML document.
toString() - Method in class rsp.html.BaseDocumentPartDefinition
 
toString() - Method in class rsp.util.data.Tuple2
 
toString() - Method in class rsp.util.json.JsonDataType.Array
 
toString() - Method in class rsp.util.json.JsonDataType.Boolean
 
toString() - Method in class rsp.util.json.JsonDataType.Null
 
toString() - Method in class rsp.util.json.JsonDataType.Number
 
toString() - Method in class rsp.util.json.JsonDataType.Object
 
toString() - Method in class rsp.util.json.JsonDataType.String
 
toStringValue() - Method in class rsp.util.json.JsonDataType.String
 
toStringValue() - Method in interface rsp.util.json.JsonDataType
Gives a string representation to be used in a JSON data field, quotes if needed.
tr(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <tr> element of a HTML document.
trace(Consumer<Log>) - Method in class rsp.util.logging.Log.Default
 
trace(Consumer<Log>) - Method in interface rsp.util.logging.Log.Reporting
 
trace(Consumer<Log>) - Method in class rsp.util.logging.Slf4jLogReporting
 
TRACE - rsp.util.logging.Log.Level
 
Translate - Interface in rsp.i18n
 
TriFunction<T1,​T2,​T3,​S> - Interface in rsp.util
 
Tuple2<S,​T> - Class in rsp.util.data
A bag of two elements of parametrized types.
Tuple2(S, T) - Constructor for class rsp.util.data.Tuple2
Creates a new instance of a tuple.

U

ul(DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
A HTML <ul> element of a HTML document.
unescape(String) - Static method in class rsp.util.json.JsonUtils
 
UseState<S> - Interface in rsp.state
Represents a state snapshot read access as well as methods to write to it.

V

value - Variable in class rsp.html.AttributeDefinition
The attribute's value.
value - Variable in class rsp.html.StyleDefinition
The style's value.
value() - Method in class rsp.util.json.JsonDataType.Boolean
 
value() - Method in class rsp.util.json.JsonDataType.Number
 
value() - Method in class rsp.util.json.JsonDataType.String
 
value(String) - Method in class rsp.util.json.JsonDataType.Object
 
valueOf(String) - Static method in enum rsp.util.logging.Log.Level
Returns the enum constant of this type with the specified name.
values() - Static method in enum rsp.util.logging.Log.Level
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(Consumer<Log>) - Method in class rsp.util.logging.Log.Default
 
warn(Consumer<Log>) - Method in interface rsp.util.logging.Log.Reporting
 
warn(Consumer<Log>) - Method in class rsp.util.logging.Slf4jLogReporting
 
WARN - rsp.util.logging.Log.Level
 
when(boolean, Supplier<DocumentPartDefinition>) - Static method in class rsp.html.HtmlDsl
A lazy form of conditional function.
when(boolean, DocumentPartDefinition) - Static method in class rsp.html.HtmlDsl
Inserts a document part definition provided as an argument if condition is true, otherwise inserts an empty definition.
window() - Static method in class rsp.html.HtmlDsl
Provides a definition of a browsers' window object.
WindowRef - Class in rsp.html
A reference to a browser's page window object.
WindowRef() - Constructor for class rsp.html.WindowRef
 
withKey(K) - Method in class rsp.html.ElementRefDefinition
 

X

xmlTag(XmlNs, String, DocumentPartDefinition...) - Static method in class rsp.html.HtmlDsl
An XML tag.

Z

zip(Stream<L>, Stream<R>, BiFunction<L, R, T>) - Static method in class rsp.util.StreamUtils
Zips two streams.
zipWithIndex(Stream<? extends T>) - Static method in class rsp.util.StreamUtils
Zips the specified stream with its indices.

_

_1 - Variable in class rsp.util.data.Tuple2
The first element.
_2 - Variable in class rsp.util.data.Tuple2
The second element.
A B C D E F G H I J K L M N O P R S T U V W X Z _ 
All Classes All Packages