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.dsl.Html
A HTML <a>, or anchor element of a HTML document.
a(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
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.MutableState
Writes the result of a CompletableFuture.
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.MutableState
Performs an atomic execute and write the result operation of the provided function.
accept(Function<S, S>) - Method in class rsp.state.ReadOnly
 
accept(PageRenderContext) - Method in class rsp.dsl.AttributeDefinition
 
accept(PageRenderContext) - Method in interface rsp.dsl.DocumentPartDefinition
An implementation of this method determines how its definition node is rendered to a virtual DOM tree.
accept(PageRenderContext) - Method in class rsp.dsl.ElementRefDefinition
 
accept(PageRenderContext) - Method in class rsp.dsl.ElementRefDefinition.KeyRef
 
accept(PageRenderContext) - Method in class rsp.dsl.EventDefinition
 
accept(PageRenderContext) - Method in class rsp.dsl.Html
 
accept(PageRenderContext) - Method in class rsp.dsl.PlainTagDefinition
 
accept(PageRenderContext) - Method in class rsp.dsl.SequenceDefinition
 
accept(PageRenderContext) - Method in class rsp.dsl.StyleDefinition
 
accept(PageRenderContext) - Method in class rsp.dsl.TagDefinition
 
accept(PageRenderContext) - Method in class rsp.dsl.TextDefinition
 
accept(S) - Method in class rsp.state.MutableState
Writes a snapshot atomically.
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.MutableState
 
acceptOptional(Function<S, Optional<S>>) - Method in class rsp.state.ReadOnly
 
addHeaders(Map<String, String>) - Method in class rsp.dsl.Html
Adds the HTTP headers to be rendered in the response.
App<S> - Class in rsp
An assembly point for everything needed to set off a UI application.
App(Function<HttpRequest, CompletableFuture<? extends S>>, Component<? extends S>) - Constructor for class rsp.App
Creates an instance of an application with the default configuration.
App(Function<HttpRequest, CompletableFuture<? extends S>>, PageLifeCycle<S>, Component<? extends S>) - Constructor for class rsp.App
Creates an instance of an application.
App(AppConfig, Function<HttpRequest, CompletableFuture<? extends S>>, BiFunction<S, Path, Path>, PageLifeCycle<S>, Component<? extends S>) - Constructor for class rsp.App
Creates an instance of an application.
App(S, Component<? extends 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.
App(S, Component<? extends S>, PageLifeCycle<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(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.dsl.Html
A boolean attribute.
attr(String, String) - Static method in class rsp.dsl.Html
A HTML element's attribute.
attr(String, String, boolean) - Static method in class rsp.dsl.Html
A HTML element's attribute.
AttributeDefinition - Class in rsp.dsl
A definition of a HTML element's attribute.
AttributeDefinition(String, String, boolean) - Constructor for class rsp.dsl.AttributeDefinition
Creates a new instance of an attribute definition.

B

body(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <body> element of a HTML document.
Boolean(boolean) - Constructor for class rsp.util.json.JsonDataType.Boolean
 
br() - Static method in class rsp.dsl.Html
 
button(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <button> element of a HTML document.

C

cast(Class<T>) - Method in interface rsp.state.UseState
 
children - Variable in class rsp.dsl.TagDefinition
 
CompletableFutureConsumer<S> - Interface in rsp.state
Represents a write state snapshot operation using a CompletableFuture.
Component<S> - Interface in rsp
A UI component, a building block of a UI.
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.
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.dsl.Html
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.dsl.EventDefinition
 
debounce(int, boolean) - Method in class rsp.dsl.EventDefinition
 
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.dsl.Html
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.dsl.Html
A HTML <div> element of a HTML document.
div(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <div> element of a HTML document.
DocumentPartDefinition - Interface in rsp.dsl
Represents a building block, a node of the input domain-specific language definitions document.

E

Either<L,​R> - Class in rsp.util.data
Represents a value of one of two possible types.
elementPath - Variable in class rsp.dsl.EventDefinition
 
ElementRef - Interface in rsp.ref
 
ElementRefDefinition - Class in rsp.dsl
A reference to an element.
ElementRefDefinition() - Constructor for class rsp.dsl.ElementRefDefinition
 
ElementRefDefinition.KeyRef<K> - Class in rsp.dsl
 
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.dsl.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.dsl
An event definition.
EventDefinition(String, Consumer<EventContext>, boolean, Event.Modifier) - Constructor for class rsp.dsl.EventDefinition
 
EventDefinition(String, Consumer<EventContext>, Event.Modifier) - Constructor for class rsp.dsl.EventDefinition
 
EventDefinition(Optional<VirtualDomPath>, String, Consumer<EventContext>, boolean, Event.Modifier) - Constructor for class rsp.dsl.EventDefinition
 
eventType - Variable in class rsp.dsl.EventDefinition
 
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.dsl.Html
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.MutableState
Reads the current snapshot atomically.
get() - Method in class rsp.state.ReadOnly
 

H

h1(String) - Static method in class rsp.dsl.Html
A HTML <h1> element of a HTML document.
h1(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <h1> element of a HTML document.
h2(String) - Static method in class rsp.dsl.Html
A HTML <h2> element of a HTML document.
h2(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <h2> element of a HTML document.
h3(String) - Static method in class rsp.dsl.Html
A HTML <h3> element of a HTML document.
h3(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <h3> element of a HTML document.
h4(String) - Static method in class rsp.dsl.Html
A HTML <h4> element of a HTML document.
h4(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <h4> element of a HTML document
h5(String) - Static method in class rsp.dsl.Html
A HTML <h5> element of a HTML document.
h5(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <h5> element of a HTML document.
h6(String) - Static method in class rsp.dsl.Html
A HTML <h6> element of a HTML document.
h6(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <h6> element of a HTML document.
handler - Variable in class rsp.dsl.EventDefinition
 
hashCode() - Method in class rsp.dsl.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.dsl.Html
A HTML <head> element of a HTML document.
headPlain(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
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.dsl.Html
A HTML <html> element, the root element of a HTML document.
Html - Class in rsp.dsl
A HTML tags definitions domain-specific language and related util functions.

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.dsl.Html
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.dsl.AttributeDefinition
Determines if this attribute is an HTML tag's property.
items - Variable in class rsp.dsl.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 - 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) - Constructor for class rsp.jetty.JettyServer
Creates a Jetty web server instance for hosting an RSP application.
JettyServer(int, String, App, 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, StaticResources) - 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.dsl.ElementRefDefinition.KeyRef
 
keys() - Method in class rsp.util.json.JsonDataType.Object
 

L

label(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
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.dsl.Html
A HTML <li> element of a HTML document.
li(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
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.dsl.Html
A HTML <link> element of a HTML document.
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.
meta(AttributeDefinition...) - Static method in class rsp.dsl.Html
A HTML <meta> element of a HTML document.
modifier - Variable in class rsp.dsl.EventDefinition
 
MutableState<S> - Class in rsp.state
A state snapshot container with change notifications.
MutableState(S) - Constructor for class rsp.state.MutableState
Creates a new instance of the state snapshot container.
MutableState(S, MutableState.StateListener<S>...) - Constructor for class rsp.state.MutableState
Creates a new instance of the state snapshot container.
MutableState.StateListener<S> - Interface in rsp.state
The listener interface for receiving state change events.

N

name - Variable in class rsp.dsl.AttributeDefinition
The attribute's name.
name - Variable in class rsp.dsl.StyleDefinition
The style's name.
name - Variable in class rsp.dsl.TagDefinition
 
newString() - Method in class rsp.util.RandomString
 
ns - Variable in class rsp.dsl.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(CompletableFuture<? extends DocumentPartDefinition>) - Static method in class rsp.dsl.Html
Inserts a definition which is a result of a CompletableFuture completion.
of(Supplier<DocumentPartDefinition>) - Static method in class rsp.dsl.Html
Inserts a definition which is a result of some code execution.
of(Stream<DocumentPartDefinition>) - Static method in class rsp.dsl.Html
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.dsl.Html
A HTML <ol> element of a HTML document.
on(String, boolean, Consumer<EventContext>) - Static method in class rsp.dsl.Html
A DOM event handler definition.
on(String, boolean, Consumer<EventContext>) - Method in class rsp.dsl.WindowRef
Registers an listener on a window object event.
on(String, Consumer<EventContext>) - Static method in class rsp.dsl.Html
A DOM event handler definition.
on(String, Consumer<EventContext>) - Method in class rsp.dsl.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
 
onNewState(S, MutableState<S>) - Method in interface rsp.state.MutableState.StateListener
Invoked when a state change occurs.

P

p(String) - Static method in class rsp.dsl.Html
A HTML <p> element of a HTML document.
p(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <p> element of a HTML document.
pagesStorage - Variable in class rsp.App
 
PlainTagDefinition - Class in rsp.dsl
A definition of an XML tag.
PlainTagDefinition(XmlNs, String, DocumentPartDefinition...) - Constructor for class rsp.dsl.PlainTagDefinition
Creates a new instance of an XML tag's definition.
PREVENT_DEFAULT_DEFAULT_VALUE - Static variable in class rsp.dsl.EventDefinition
This value is used when not explicitly specified for an event.
preventDefault - Variable in class rsp.dsl.EventDefinition
 
prop(String, String) - Static method in class rsp.dsl.Html
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.dsl.Html
Sets redirect status code and the Location header.
ref() - Method in class rsp.dsl.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.
routes - Variable in class rsp.App
A function that dispatches an incoming HTTP request to a page's initial state.
rsp - package rsp
Provides application-related and other essential APIs.
rsp.dsl - package rsp.dsl
Provides the RSP markup definition's domain specific language.
rsp.jetty - package rsp.jetty
Provides the Jetty web server.
rsp.ref - package rsp.ref
Defines references 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.dsl
A sequence of definitions.
SequenceDefinition(DocumentPartDefinition[]) - Constructor for class rsp.dsl.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.dsl.Html
A HTML <span> element of a HTML document.
span(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
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 a current state snapshot to the browser's navigation bar's path.
statusCode(int) - Method in class rsp.dsl.Html
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.dsl.Html
An element's inline style.
StyleDefinition - Class in rsp.dsl
A definition of a HTML element's inline style.
StyleDefinition(String, String) - Constructor for class rsp.dsl.StyleDefinition
Creates a new instance of a style definition.

T

table(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <table> element of a HTML document.
tag(String, DocumentPartDefinition...) - Static method in class rsp.dsl.Html
An arbitrary HTML element.
TagDefinition - Class in rsp.dsl
A definition of an XML tag.
TagDefinition(XmlNs, String, DocumentPartDefinition...) - Constructor for class rsp.dsl.TagDefinition
Creates a new instance of an XML tag's definition.
tbody(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <tbody> element of a HTML document.
td(String) - Static method in class rsp.dsl.Html
A HTML <td> element of a HTML document.
td(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <td> element of a HTML document.
text(Object) - Static method in class rsp.dsl.Html
An element's text content, for a input class other than q String.
text(String) - Static method in class rsp.dsl.Html
An element's text content.
TextDefinition - Class in rsp.dsl
A definition of a HTML tag text content.
TextDefinition(String) - Constructor for class rsp.dsl.TextDefinition
Creates a new instance of a text definition.
th(String) - Static method in class rsp.dsl.Html
A HTML <th> element of a HTML document.
th(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <th> element of a HTML document.
thead(DocumentPartDefinition...) - Static method in class rsp.dsl.Html
A HTML <thead> element of a HTML document.
throttle(int) - Method in class rsp.dsl.EventDefinition
 
TimerRef - Interface in rsp.ref
 
TimerRefDefinition - Class in rsp.dsl
 
TimerRefDefinition() - Constructor for class rsp.dsl.TimerRefDefinition
 
title(String) - Static method in class rsp.dsl.Html
A HTML <title> element of a HTML document.
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.dsl.Html
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
 
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.dsl.Html
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.dsl.AttributeDefinition
The attribute's value.
value - Variable in class rsp.dsl.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.dsl.Html
A lazy form of conditional function.
when(boolean, DocumentPartDefinition) - Static method in class rsp.dsl.Html
Inserts a document part definition provided as an argument if condition is true, otherwise inserts an empty definition.
window() - Static method in class rsp.dsl.Html
Provides a definition of a browsers' window object.
WindowRef - Class in rsp.dsl
A reference to a browser's page window object.
WindowRef() - Constructor for class rsp.dsl.WindowRef
 
withKey(K) - Method in class rsp.dsl.ElementRefDefinition
 

X

xmlTag(XmlNs, String, DocumentPartDefinition...) - Static method in class rsp.dsl.Html
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