Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- a(String, String, SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
An HTML <a>, or anchor element of an HTML document.
- a(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
A HTML <a> element of a HTML document.
- addChild(Component<?>) - Method in class rsp.component.Component
- addEvent(String, Consumer<EventContext>, boolean, Event.Modifier) - Method in class rsp.component.ComponentRenderContext
- addEvent(TreePositionPath, String, Consumer<EventContext>, boolean, Event.Modifier) - Method in class rsp.component.Component
- addEvent(TreePositionPath, String, Consumer<EventContext>, boolean, Event.Modifier) - Method in class rsp.component.ComponentRenderContext
- addHeaders(Map<String, String>) - Method in class rsp.html.HtmlDocumentDefinition
-
Adds the HTTP headers to be rendered in the response.
- addRef(Ref) - Method in class rsp.component.ComponentRenderContext
- addRef(Ref, TreePositionPath) - Method in class rsp.component.Component
- addTextNode(String) - Method in class rsp.component.ComponentRenderContext
- 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(CompletableFuture<S>, ComponentView<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(StatefulComponentDefinition<S>) - Constructor for class rsp.App
-
Creates an instance of an application.
- App(StatefulComponentDefinition<S>, int) - Constructor for class rsp.App
-
Creates an instance of an application.
- App(Routing<HttpRequest, S>, ComponentView<S>) - Constructor for class rsp.App
-
Creates an instance of an application with the default configuration.
- App(Routing<HttpRequest, S>, View<S>) - Constructor for class rsp.App
- App(S, ComponentView<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, View<S>) - Constructor for class rsp.App
- append(T[], T) - Static method in class rsp.util.ArrayUtils
-
Appends an item to an array resulting in a new array.
- apply(ComponentCompositeKey, S) - Method in interface rsp.component.ComponentUnmountedCallback
- apply(ComponentCompositeKey, S, StateUpdate<S>) - Method in interface rsp.component.ComponentMountedCallback
-
Invoked during mount of the component.
- apply(ComponentCompositeKey, S, S, StateUpdate<S>) - Method in interface rsp.component.ComponentUpdatedCallback
- apply(HttpRequest) - Method in class rsp.routing.HttpRequestMatchFunction
- apply(Path) - Method in class rsp.routing.PathMatchFunction
- apply(T) - Method in class rsp.routing.Routing
- apply(T, U, V) - Method in interface rsp.util.TriFunction
- applyStateTransformation(UnaryOperator<S>) - Method in class rsp.component.Component
- applyStateTransformation(UnaryOperator<S>) - Method in interface rsp.component.StateUpdate
- applyStateTransformationIfPresent(Function<S, Optional<S>>) - Method in class rsp.component.Component
- applyStateTransformationIfPresent(Function<S, Optional<S>>) - Method in interface rsp.component.StateUpdate
- Array(JsonDataType...) - Constructor for class rsp.util.json.JsonDataType.Array
- ArrayUtils - Class in rsp.util
-
Provides utility methods for Java arrays.
- asDouble() - Method in class rsp.util.json.JsonDataType.Number
- asJsonArray() - Method in interface rsp.util.json.JsonDataType
- asJsonBoolean() - Method in interface rsp.util.json.JsonDataType
- asJsonNumber() - Method in interface rsp.util.json.JsonDataType
- asJsonObject() - Method in interface rsp.util.json.JsonDataType
- asJsonString() - Method in interface rsp.util.json.JsonDataType
- 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
-
An 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.
- attributeDefinitions - Variable in class rsp.html.SelfClosingTagDefinition
B
- body(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
A HTML <body> element of a HTML document.
- bodyStream - Variable in class rsp.server.http.HttpResponse
- 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(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
A HTML <button> element of a HTML document.
C
- children - Variable in class rsp.html.TagDefinition
- closeComponent() - Method in class rsp.component.ComponentRenderContext
- closeNode(String, boolean) - Method in class rsp.component.ComponentRenderContext
- component(S, ComponentView<S>) - Static method in class rsp.component.ComponentDsl
-
Creates a stateful component with an initial state provided.
- Component<S> - Class in rsp.component
-
Represents a stateful component.
- Component(ComponentCompositeKey, Supplier<CompletableFuture<? extends S>>, ComponentView<S>, ComponentCallbacks<S>, RenderContextFactory, RemoteOut, Object) - Constructor for class rsp.component.Component
- ComponentCallbacks<S> - Record Class in rsp.component
- ComponentCallbacks(ComponentMountedCallback<S>, ComponentUpdatedCallback<S>, ComponentUnmountedCallback<S>) - Constructor for record class rsp.component.ComponentCallbacks
-
Creates an instance of a
ComponentCallbacks
record class. - ComponentCompositeKey - Record Class in rsp.component
- ComponentCompositeKey(QualifiedSessionId, Object, TreePositionPath) - Constructor for record class rsp.component.ComponentCompositeKey
-
Creates an instance of a
ComponentCompositeKey
record class. - componentDidMount() - Method in class rsp.component.StatefulComponentDefinition
- componentDidUpdate() - Method in class rsp.component.StatefulComponentDefinition
- componentDidUpdate() - Method in class rsp.component.StoredStateComponentDefinition
- ComponentDsl - Class in rsp.component
-
Stateful and stateless components definitions domain-specific language helpers.
- ComponentFactory<S> - Interface in rsp.component
- componentMountedCallback() - Method in record class rsp.component.ComponentCallbacks
-
Returns the value of the
componentMountedCallback
record component. - ComponentMountedCallback<S> - Interface in rsp.component
- componentPath() - Method in record class rsp.component.ComponentCompositeKey
-
Returns the value of the
componentPath
record component. - ComponentRenderContext - Class in rsp.component
- ComponentRenderContext(QualifiedSessionId, TreePositionPath, PageStateOrigin, RemoteOut, Object) - Constructor for class rsp.component.ComponentRenderContext
- ComponentStateSupplier<S> - Interface in rsp.component
- componentType - Variable in class rsp.component.StatefulComponentDefinition
- componentType() - Method in record class rsp.component.ComponentCompositeKey
-
Returns the value of the
componentType
record component. - componentUnmountedCallback() - Method in record class rsp.component.ComponentCallbacks
-
Returns the value of the
componentUnmountedCallback
record component. - ComponentUnmountedCallback<S> - Interface in rsp.component
- componentUpdatedCallback() - Method in record class rsp.component.ComponentCallbacks
-
Returns the value of the
componentUpdatedCallback
record component. - ComponentUpdatedCallback<S> - Interface in rsp.component
- componentView() - Method in class rsp.component.HttpRequestStateComponentDefinition
- componentView() - Method in class rsp.component.InitialStateComponentDefinition
- componentView() - Method in class rsp.component.PathStateComponentDefinition
- componentView() - Method in class rsp.component.StatefulComponentDefinition
- componentView() - Method in class rsp.component.StoredStateComponentDefinition
- ComponentView<S> - Interface in rsp.component
-
A function to create a stateful component's view representation.
- componentWillUnmount() - Method in class rsp.component.StatefulComponentDefinition
- 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.
- CONNECT - Enum constant in enum class rsp.server.http.HttpRequest.HttpMethod
- convertToJsonType(Object) - Static method in class rsp.util.json.JsonSimpleUtils
-
Recursively converts a json-simple parsed JSON object to a
JsonDataType
. - cookie(String) - Method in class rsp.server.http.HttpRequest
-
Gets a request's HTTP cookie by name.
- createComponent(QualifiedSessionId, TreePositionPath, PageStateOrigin, RenderContextFactory, RemoteOut, Object) - Method in interface rsp.component.ComponentFactory
- createComponent(QualifiedSessionId, TreePositionPath, PageStateOrigin, RenderContextFactory, RemoteOut, Object) - Method in class rsp.component.RelativeUrlStateComponentDefinition
- createComponent(QualifiedSessionId, TreePositionPath, PageStateOrigin, RenderContextFactory, RemoteOut, Object) - Method in class rsp.component.StatefulComponentDefinition
- createElementRef() - Static method in class rsp.html.HtmlDsl
-
Creates reference to an HTML element which can be used as a key for obtaining its element's properties values.
- createParser() - Static method in class rsp.util.json.JsonSimpleUtils
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.
- decode(String) - Method in interface rsp.server.protocol.MessageDecoder
- decode(String) - Method in class rsp.server.protocol.RemotePageMessageDecoder
- DEFAULT_HEARTBEAT_INTERVAL_MS - Static variable in class rsp.App
-
The default rate of heartbeat messages from a browser to server.
- DEFAULT_PROPERTIES_NAMES - Static variable in class rsp.html.HtmlDsl
-
Attributes names which are interpreted by default as properties.
- DEFAULT_WEB_SERVER_MAX_THREADS - Static variable in class rsp.jetty.WebServer
-
The Jetty server's maximum threads number by default is 50.
- DELETE - Enum constant in enum class rsp.server.http.HttpRequest.HttpMethod
- deviceId() - Method in class rsp.server.http.HttpRequest
-
Gets a unique ID of the browser.
- directChildren() - Method in class rsp.component.Component
- div(String) - Static method in class rsp.html.HtmlDsl
-
A HTML <div> element of a HTML document.
- div(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
A HTML <div> element of a HTML document.
- docType() - Method in class rsp.component.ComponentRenderContext
E
- elementId(ElementRef) - Static method in class rsp.html.HtmlDsl
-
An element ID DSL directive binds its parent element to the reference provided.
- elementPath - Variable in class rsp.html.EventDefinition
-
The componentPath to the element the event generated on.
- ElementRef - Interface in rsp.ref
- ElementRefDefinition - Class in rsp.html
-
A reference to an element.
- ElementRefDefinition(ElementRef) - Constructor for class rsp.html.ElementRefDefinition
- ElementRefDefinition.KeyRef<K> - Class in rsp.html
- EMPTY - Static variable in record class rsp.server.http.Fragment
- EMPTY - Static variable in record class rsp.server.http.Query
- EMPTY - Static variable in class rsp.util.json.JsonDataType.Object
- EMPTY - Static variable in class rsp.util.json.JsonDataType.String
- equals(Object) - Method in class rsp.component.Component
- equals(Object) - Method in record class rsp.component.ComponentCallbacks
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class rsp.component.ComponentCompositeKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class rsp.html.ElementRefDefinition.KeyRef
- equals(Object) - Method in record class rsp.server.http.Fragment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class rsp.server.http.Header
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class rsp.server.http.HttpStateOrigin
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class rsp.server.http.Query
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class rsp.server.http.RelativeUrl
-
Indicates whether some other object is "equal to" this one.
- 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
- escape(String) - Static method in class rsp.util.json.JsonUtils
- evalJs(int, String) - Method in class rsp.server.protocol.RemotePageMessageEncoder
- 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<TreePositionPath>, 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
- extractProperty(int, TreePositionPath, String) - Method in class rsp.server.protocol.RemotePageMessageEncoder
F
- forgetEvent(String, TreePositionPath) - Method in class rsp.server.protocol.RemotePageMessageEncoder
- form(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
A HTML <form> element of a HTML document.
- fragment() - Method in record class rsp.server.http.RelativeUrl
-
Returns the value of the
fragment
record component. - Fragment - Record Class in rsp.server.http
- Fragment(String) - Constructor for record class rsp.server.http.Fragment
-
Creates an instance of a
Fragment
record class. - fragmentString() - Method in record class rsp.server.http.Fragment
-
Returns the value of the
fragmentString
record component.
G
- get(int) - Method in class rsp.util.json.JsonDataType.Array
- 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 componentPath with one componentPath 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 componentPath.
- 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 componentPath with two componentPath 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 componentPath matching sub-routes.
- GET - Enum constant in enum class rsp.server.http.HttpRequest.HttpMethod
- getLastRootNode() - Method in class rsp.component.Component
- getRelativeUrl() - Method in class rsp.server.http.PageStateOrigin
- getState() - Method in class rsp.component.Component
- getState(ComponentCompositeKey, HttpStateOrigin) - Method in interface rsp.component.ComponentStateSupplier
H
- h1(String) - Static method in class rsp.html.HtmlDsl
-
A HTML <h1> element of a HTML document.
- h1(SegmentDefinition...) - 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(SegmentDefinition...) - 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(SegmentDefinition...) - 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(SegmentDefinition...) - 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(SegmentDefinition...) - 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(SegmentDefinition...) - 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.component.Component
- hashCode() - Method in record class rsp.component.ComponentCallbacks
-
Returns a hash code value for this object.
- hashCode() - Method in record class rsp.component.ComponentCompositeKey
-
Returns a hash code value for this object.
- hashCode() - Method in class rsp.html.ElementRefDefinition.KeyRef
- hashCode() - Method in record class rsp.server.http.Fragment
-
Returns a hash code value for this object.
- hashCode() - Method in record class rsp.server.http.Header
-
Returns a hash code value for this object.
- hashCode() - Method in record class rsp.server.http.HttpStateOrigin
-
Returns a hash code value for this object.
- hashCode() - Method in record class rsp.server.http.Query
-
Returns a hash code value for this object.
- hashCode() - Method in record class rsp.server.http.RelativeUrl
-
Returns a hash code value for this object.
- 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(HtmlDsl.HeadType, SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
An HTML <head> element of an HTML document, has not to be upgraded with the script element establishing a WebSocket connection to the server after the browser loads the page.
- head(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
An HTML <head> element of an HTML document.
- HEAD - Enum constant in enum class rsp.server.http.HttpRequest.HttpMethod
- header(String) - Method in class rsp.server.http.HttpRequest
-
Get the request's header by name.
- Header - Record Class in rsp.server.http
- Header(String, String) - Constructor for record class rsp.server.http.Header
-
Creates an instance of a
Header
record class. - headers - Variable in class rsp.server.http.HttpResponse
- heartbeatIntervalMs - Variable in class rsp.App
-
The application's rate of heartbeat messages from a browser to server.
- html() - Method in class rsp.component.ComponentRenderContext
- html(StringBuilder) - Method in class rsp.component.Component
- html(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
An HTML <html> element, the root element of an HTML document.
- HtmlDocumentDefinition - Class in rsp.html
-
A definition of an HTML document.
- HtmlDocumentDefinition(int, Map<String, String>, SegmentDefinition...) - Constructor for class rsp.html.HtmlDocumentDefinition
- HtmlDsl - Class in rsp.html
-
HTML tags definitions domain-specific language and related util functions.
- HtmlDsl.HeadType - Enum Class in rsp.html
- httpRequest() - Method in record class rsp.server.http.HttpStateOrigin
-
Returns the value of the
httpRequest
record component. - HttpRequest - Class in rsp.server.http
-
Represents an HTTP request.
- HttpRequest(HttpRequest.HttpMethod, URI, String, Path) - Constructor for class rsp.server.http.HttpRequest
-
Creates a new instance of an HTTP request.
- HttpRequest(HttpRequest.HttpMethod, URI, String, Path, Function<String, Optional<String>>, Function<String, Optional<String>>) - Constructor for class rsp.server.http.HttpRequest
-
Creates a new instance of an HTTP request.
- HttpRequest.HttpMethod - Enum Class in rsp.server.http
-
HTTP verbs.
- HttpRequestMatchFunction<S> - Class in rsp.routing
- HttpRequestMatchFunction(PathPattern, TriFunction<HttpRequest, String, String, CompletableFuture<S>>) - Constructor for class rsp.routing.HttpRequestMatchFunction
- HttpRequestStateComponentDefinition<S> - Class in rsp.component
- HttpRequestStateComponentDefinition(Function<HttpRequest, CompletableFuture<? extends S>>, ComponentView<S>) - Constructor for class rsp.component.HttpRequestStateComponentDefinition
- HttpResponse - Class in rsp.server.http
- HttpResponse(int, List<Header>, InputStream) - Constructor for class rsp.server.http.HttpResponse
- HttpResponse(int, List<Header>, String) - Constructor for class rsp.server.http.HttpResponse
- httpStateOrigin() - Method in class rsp.server.http.PageStateOrigin
- HttpStateOrigin - Record Class in rsp.server.http
- HttpStateOrigin(HttpRequest, RelativeUrl) - Constructor for record class rsp.server.http.HttpStateOrigin
-
Creates an instance of a
HttpStateOrigin
record class.
I
- initiallyRendered(ComponentCompositeKey, S, StateUpdate<S>) - Method in class rsp.component.Component
- initiallyRendered(ComponentCompositeKey, S, StateUpdate<S>) - Method in class rsp.component.RelativeUrlStateComponent
- InitialStateComponentDefinition<S> - Class in rsp.component
- InitialStateComponentDefinition(Object, S, ComponentView<S>) - Constructor for class rsp.component.InitialStateComponentDefinition
- InitialStateComponentDefinition(CompletableFuture<S>, ComponentView<S>) - Constructor for class rsp.component.InitialStateComponentDefinition
- InitialStateComponentDefinition(S, ComponentView<S>) - Constructor for class rsp.component.InitialStateComponentDefinition
- input(SegmentDefinition...) - 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
- isProperty - Variable in class rsp.html.AttributeDefinition
-
Determines if this attribute is an HTML tag's property.
- isRootNodesEmpty() - Method in class rsp.component.Component
- items - Variable in class rsp.html.SequenceDefinition
J
- join() - Method in class rsp.jetty.WebServer
-
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.JsonException - Exception in rsp.util.json
- 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.
- JsonException() - Constructor for exception rsp.util.json.JsonDataType.JsonException
- JsonException(String) - Constructor for exception rsp.util.json.JsonDataType.JsonException
- JsonException(String, Throwable) - Constructor for exception rsp.util.json.JsonDataType.JsonException
- JsonException(String, Throwable, boolean, boolean) - Constructor for exception rsp.util.json.JsonDataType.JsonException
- JsonException(Throwable) - Constructor for exception rsp.util.json.JsonDataType.JsonException
- JsonParser - Interface in rsp.util.json
- JsonSimpleUtils - Class in rsp.util.json
-
json-simple related.
- JsonUtils - Class in rsp.util.json
K
- KeyRef(ElementRefDefinition, K) - Constructor for class rsp.html.ElementRefDefinition.KeyRef
- keys() - Method in class rsp.util.json.JsonDataType.Object
L
- label(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
A HTML <label> element of a HTML document.
- li(String) - Static method in class rsp.html.HtmlDsl
-
A HTML <li> element of a HTML document.
- li(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
A HTML <li> element of a HTML document.
- link(AttributeDefinition...) - Static method in class rsp.html.HtmlDsl
-
A HTML <link> element of a HTML document.
- listenEvents(List<Event>) - Method in class rsp.server.protocol.RemotePageMessageEncoder
- locale() - Method in interface rsp.i18n.LocaleSupply
- LocaleSupply - Interface in rsp.i18n
M
- main(String[]) - Static method in class rsp.util.JsCompiler
- match(Predicate<T>, Function<T, CompletableFuture<S>>) - Static method in class rsp.routing.RoutingDsl
- match(Path) - Method in class rsp.routing.PathPattern
- MessageDecoder - Interface in rsp.server.protocol
- meta(AttributeDefinition...) - Static method in class rsp.html.HtmlDsl
-
A HTML <meta> element of a HTML document.
- method - Variable in class rsp.server.http.HttpRequest
- modifier - Variable in class rsp.html.EventDefinition
-
Defines how multiple events to be handled in a given period of time.
- modifyDom(List<DefaultDomChangesContext.DomChange>) - Method in class rsp.server.protocol.RemotePageMessageEncoder
- MOVED_TEMPORARILY_STATUS_CODE - Static variable in class rsp.server.http.HttpResponse
N
- name - Variable in class rsp.html.AttributeDefinition
-
The attribute's name.
- name - Variable in class rsp.html.SelfClosingTagDefinition
- name - Variable in class rsp.html.StyleDefinition
-
The style's name.
- name - Variable in class rsp.html.TagDefinition
- name() - Method in record class rsp.server.http.Header
-
Returns the value of the
name
record component. - newContext(TreePositionPath) - Method in class rsp.component.ComponentRenderContext
- newString() - Method in class rsp.util.RandomString
- notifyNodeOpened(TreePositionPath, Node) - Method in class rsp.component.Component
- ns - Variable in class rsp.html.SelfClosingTagDefinition
- 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
- of(String) - Static method in class rsp.routing.PathPattern
-
Creates a new instance of a componentPath pattern from a string.
- of(CompletableFuture<? extends SegmentDefinition>) - Static method in class rsp.html.HtmlDsl
-
Inserts a definition which is a result of a
CompletableFuture
completion. - of(Supplier<SegmentDefinition>) - Static method in class rsp.html.HtmlDsl
-
Inserts a definition which is a result of some code execution.
- of(Map<String, JsonDataType>) - Static method in class rsp.util.json.JsonDataType.Object
- of(Stream<SegmentDefinition>) - Static method in class rsp.html.HtmlDsl
-
Inserts a zero or more definitions provided as a stream.
- of(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
Inserts a zero or more definitions provided as a stream.
- of(HttpRequest) - Static method in record class rsp.server.http.RelativeUrl
- OK_STATUS_CODE - Static variable in class rsp.server.http.HttpResponse
- ol(SegmentDefinition...) - 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.WindowDefinition
-
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.WindowDefinition
-
Registers a listener on a window object event with the 'prevent-default' property set to true
- openComponent(Component<S>) - Method in class rsp.component.ComponentRenderContext
- openComponent(ComponentFactory<S>) - Method in class rsp.component.ComponentRenderContext
- openNode(XmlNs, String, boolean) - Method in class rsp.component.ComponentRenderContext
- OPTIONS - Enum constant in enum class rsp.server.http.HttpRequest.HttpMethod
P
- p(String) - Static method in class rsp.html.HtmlDsl
-
A HTML <p> element of a HTML document.
- p(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
A HTML <p> element of a HTML document.
- pagesStorage - Variable in class rsp.App
- pageStateOrigin - Variable in class rsp.component.ComponentRenderContext
- pageStateOrigin - Variable in class rsp.component.RelativeUrlStateComponent
- PageStateOrigin - Class in rsp.server.http
- PageStateOrigin(HttpRequest) - Constructor for class rsp.server.http.PageStateOrigin
- paramsIndexes - Variable in class rsp.routing.PathPattern
- parse(String) - Method in interface rsp.util.json.JsonParser
- parse(String) - Static method in class rsp.util.json.JsonSimpleUtils
- PATCH - Enum constant in enum class rsp.server.http.HttpRequest.HttpMethod
- path - Variable in class rsp.server.http.HttpRequest
- path() - Method in class rsp.component.Component
- path() - Method in record class rsp.server.http.RelativeUrl
-
Returns the value of the
path
record component. - path(String, CompletableFuture<S>) - Static method in class rsp.routing.RoutingDsl
-
Creates a componentPath-specific route.
- path(String, BiFunction<String, String, CompletableFuture<S>>) - Static method in class rsp.routing.RoutingDsl
-
Creates a componentPath-specific route with two matching componentPath parameters.
- path(String, Function<String, CompletableFuture<S>>) - Static method in class rsp.routing.RoutingDsl
-
Creates a componentPath-specific route with one matching componentPath parameter.
- pathComponent(Function<Path, CompletableFuture<? extends S>>, BiFunction<S, Path, Path>, ComponentView<S>) - Static method in class rsp.component.ComponentDsl
- 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 componentPath matching pattern.
- PathStateComponentDefinition<S> - Class in rsp.component
- PathStateComponentDefinition(Function<Path, CompletableFuture<? extends S>>, BiFunction<S, Path, Path>, ComponentView<S>) - Constructor for class rsp.component.PathStateComponentDefinition
- patternSegments - Variable in class rsp.routing.PathPattern
- PLAIN - Enum constant in enum class rsp.html.HtmlDsl.HeadType
- PlainTagDefinition - Class in rsp.html
-
A definition of an XML tag.
- PlainTagDefinition(XmlNs, String, SegmentDefinition...) - 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 componentPath with two componentPath 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 componentPath.
- 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 componentPath with two componentPath parameters.
- POST - Enum constant in enum class rsp.server.http.HttpRequest.HttpMethod
- 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.
- pushHistory(String) - Method in class rsp.server.protocol.RemotePageMessageEncoder
- put(String, JsonDataType) - Method in class rsp.util.json.JsonDataType.Object
- PUT - Enum constant in enum class rsp.server.http.HttpRequest.HttpMethod
Q
- query() - Method in record class rsp.server.http.RelativeUrl
-
Returns the value of the
query
record component. - Query - Record Class in rsp.server.http
- Query(String) - Constructor for record class rsp.server.http.Query
-
Creates an instance of a
Query
record class. - queryParam(String) - Method in class rsp.server.http.HttpRequest
-
Gets the request's query parameter by name.
- queryString() - Method in record class rsp.server.http.Query
-
Returns the value of the
queryString
record component.
R
- RandomString - Class in rsp.util
- RandomString(int) - Constructor for class rsp.util.RandomString
- recursiveChildren() - Method in class rsp.component.Component
- recursiveEvents() - Method in class rsp.component.Component
- recursiveEvents() - Method in class rsp.component.ComponentRenderContext
- recursiveRefs() - Method in class rsp.component.Component
- recursiveRefs() - Method in class rsp.component.ComponentRenderContext
- redirect(String) - Method in class rsp.html.HtmlDocumentDefinition
-
Sets redirect status code and the Location header.
- ref() - Method in class rsp.html.WindowDefinition
- Ref - Interface in rsp.ref
-
A Java object that is not defined by its fields, but rather by its identity.
- relativeUrl() - Method in record class rsp.server.http.HttpStateOrigin
-
Returns the value of the
relativeUrl
record component. - RelativeUrl - Record Class in rsp.server.http
- RelativeUrl(Path, Query, Fragment) - Constructor for record class rsp.server.http.RelativeUrl
-
Creates an instance of a
RelativeUrl
record class. - RelativeUrlStateComponent<S> - Class in rsp.component
- RelativeUrlStateComponent(ComponentCompositeKey, Supplier<CompletableFuture<? extends S>>, ComponentView<S>, ComponentCallbacks<S>, RenderContextFactory, RemoteOut, BiFunction<S, RelativeUrl, RelativeUrl>, Function<RelativeUrl, CompletableFuture<? extends S>>, PageStateOrigin, Object) - Constructor for class rsp.component.RelativeUrlStateComponent
- RelativeUrlStateComponentDefinition<S> - Class in rsp.component
- RelativeUrlStateComponentDefinition(Object) - Constructor for class rsp.component.RelativeUrlStateComponentDefinition
- relativeUrlToState - Variable in class rsp.component.RelativeUrlStateComponent
- relativeUrlToState() - Method in class rsp.component.PathStateComponentDefinition
- relativeUrlToState() - Method in class rsp.component.RelativeUrlStateComponentDefinition
- RemotePageMessageDecoder - Class in rsp.server.protocol
-
The implementation of the text-based protocol is based on the protocol of the Korolev project by Aleksey Fomkin.
- RemotePageMessageDecoder(JsonParser, RemoteIn) - Constructor for class rsp.server.protocol.RemotePageMessageDecoder
- RemotePageMessageEncoder - Class in rsp.server.protocol
-
The implementation of the text-based protocol is based on the protocol of the Korolev project by Aleksey Fomkin.
- RemotePageMessageEncoder(Consumer<String>) - Constructor for class rsp.server.protocol.RemotePageMessageEncoder
- remotePageMessages - Variable in class rsp.component.Component
- remotePageMessagesOut - Variable in class rsp.component.ComponentRenderContext
- render(ComponentRenderContext) - Method in class rsp.component.Component
- render(ComponentRenderContext) - Method in class rsp.component.StatefulComponentDefinition
- render(ComponentRenderContext) - Method in class rsp.html.AttributeDefinition
- render(ComponentRenderContext) - Method in class rsp.html.ElementRefDefinition.KeyRef
- render(ComponentRenderContext) - Method in class rsp.html.ElementRefDefinition
- render(ComponentRenderContext) - Method in class rsp.html.EventDefinition
- render(ComponentRenderContext) - Method in class rsp.html.HtmlDocumentDefinition
- render(ComponentRenderContext) - Method in class rsp.html.PlainTagDefinition
- render(ComponentRenderContext) - Method in interface rsp.html.SegmentDefinition
-
An implementation of this method determines how its definition node is rendered to a virtual DOM tree.
- render(ComponentRenderContext) - Method in class rsp.html.SelfClosingTagDefinition
- render(ComponentRenderContext) - Method in class rsp.html.SequenceDefinition
- render(ComponentRenderContext) - Method in class rsp.html.StyleDefinition
- render(ComponentRenderContext) - Method in class rsp.html.TagDefinition
- render(ComponentRenderContext) - Method in class rsp.html.TextDefinition
- rootComponentDefinition - Variable in class rsp.App
-
The root of the components tree.
- Route<T,
S> - Interface in rsp.routing -
Represents a route.
- routing(Route<T, S>, S) - Static method in class rsp.routing.RoutingDsl
-
Creates a routing.
- Routing<T,
S> - Class in rsp.routing -
Defines a routing.
- Routing(Route<T, S>, CompletableFuture<S>) - Constructor for class rsp.routing.Routing
- Routing(Route<T, S>, S) - Constructor for class rsp.routing.Routing
- RoutingDsl - Class in rsp.routing
-
Contains routing DSL.
- rsp - package rsp
-
Provides application-related and other essential APIs.
- rsp.component - package rsp.component
-
Contains code related to stateful and stateless components.
- 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.server.http - package rsp.server.http
-
HTTP(s) request and response related.
- rsp.server.protocol - package rsp.server.protocol
-
A bi-directional messages exchange protocol.
- rsp.util - package rsp.util
-
General utils.
- rsp.util.json - package rsp.util.json
-
Provides JSON related utils.
S
- script(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
- SegmentDefinition - Interface in rsp.html
-
Represents a building block in the domain-specific language definition.
- selfClosingTag(String, AttributeDefinition...) - Static method in class rsp.html.HtmlDsl
-
A void element.
- SelfClosingTagDefinition - Class in rsp.html
- SelfClosingTagDefinition(XmlNs, String, AttributeDefinition...) - Constructor for class rsp.html.SelfClosingTagDefinition
- selfClosingXmlTag(XmlNs, String, AttributeDefinition...) - Static method in class rsp.html.HtmlDsl
-
A self closing XML tag.
- SequenceDefinition - Class in rsp.html
-
A sequence of definitions.
- SequenceDefinition(SegmentDefinition[]) - Constructor for class rsp.html.SequenceDefinition
-
Creates a definition of a sequence of nodes definitions.
- sessionId - Variable in class rsp.component.ComponentRenderContext
- sessionId() - Method in record class rsp.component.ComponentCompositeKey
-
Returns the value of the
sessionId
record component. - sessionLock - Variable in class rsp.component.ComponentRenderContext
- setAttr(XmlNs, String, String, boolean) - Method in class rsp.component.ComponentRenderContext
- setDocType(String) - Method in class rsp.component.ComponentRenderContext
- setHref(String) - Method in class rsp.server.protocol.RemotePageMessageEncoder
- setRelativeUrl(RelativeUrl) - Method in class rsp.server.http.PageStateOrigin
- setRenderNum(int) - Method in class rsp.server.protocol.RemotePageMessageEncoder
- setState(S) - Method in class rsp.component.Component
- setState(S) - Method in interface rsp.component.StateUpdate
- setStateWhenComplete(CompletableFuture<? extends S>) - Method in class rsp.component.Component
- setStateWhenComplete(CompletableFuture<? extends S>) - Method in interface rsp.component.StateUpdate
- setStyle(String, String) - Method in class rsp.component.ComponentRenderContext
- shutdown() - Method in class rsp.component.ComponentRenderContext
- size() - Method in class rsp.util.json.JsonDataType.Array
- SPA - Enum constant in enum class rsp.html.HtmlDsl.HeadType
- span(String) - Static method in class rsp.html.HtmlDsl
-
A HTML <span> element of a HTML document.
- span(SegmentDefinition...) - 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.WebServer
-
Starts the server.
- StatefulComponentDefinition<S> - Class in rsp.component
- StatefulComponentDefinition(Object) - Constructor for class rsp.component.StatefulComponentDefinition
- stateSupplier() - Method in class rsp.component.HttpRequestStateComponentDefinition
- stateSupplier() - Method in class rsp.component.InitialStateComponentDefinition
- stateSupplier() - Method in class rsp.component.PathStateComponentDefinition
- stateSupplier() - Method in class rsp.component.StatefulComponentDefinition
- stateSupplier() - Method in class rsp.component.StoredStateComponentDefinition
- stateToRelativeUrl - Variable in class rsp.component.RelativeUrlStateComponent
- stateToRelativeUrl() - Method in class rsp.component.PathStateComponentDefinition
- stateToRelativeUrl() - Method in class rsp.component.RelativeUrlStateComponentDefinition
- StateUpdate<S> - Interface in rsp.component
-
Represents an API for initiating a change of a component's state.
- status - Variable in class rsp.server.http.HttpResponse
- 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.WebServer
-
Stops the server.
- StoredStateComponentDefinition<S> - Class in rsp.component
- StoredStateComponentDefinition(Object, S, ComponentView<S>, Map<ComponentCompositeKey, S>) - Constructor for class rsp.component.StoredStateComponentDefinition
- StoredStateComponentDefinition(S, ComponentView<S>, Map<ComponentCompositeKey, S>) - Constructor for class rsp.component.StoredStateComponentDefinition
- 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 an 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(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
A HTML <table> element of a HTML document.
- tag(String, SegmentDefinition...) - 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, SegmentDefinition...) - Constructor for class rsp.html.TagDefinition
-
Creates a new instance of an XML tag's definition.
- tbody(SegmentDefinition...) - 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(SegmentDefinition...) - 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 an 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 an 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(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
A HTML <th> element of a HTML document.
- thead(SegmentDefinition...) - 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.
- title(String) - Static method in class rsp.html.HtmlDsl
-
A HTML <title> element of a HTML document.
- toString() - Method in class rsp.component.Component
- toString() - Method in record class rsp.component.ComponentCallbacks
-
Returns a string representation of this record class.
- toString() - Method in record class rsp.component.ComponentCompositeKey
-
Returns a string representation of this record class.
- toString() - Method in record class rsp.server.http.Fragment
-
Returns a string representation of this record class.
- toString() - Method in record class rsp.server.http.Header
-
Returns a string representation of this record class.
- toString() - Method in record class rsp.server.http.HttpStateOrigin
-
Returns a string representation of this record class.
- toString() - Method in record class rsp.server.http.Query
-
Returns a string representation of this record class.
- toString() - Method in record class rsp.server.http.RelativeUrl
-
Returns a string representation of this record class.
- 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
- tr(SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
A HTML <tr> element of a HTML document.
- TRACE - Enum constant in enum class rsp.server.http.HttpRequest.HttpMethod
- Translate - Interface in rsp.i18n
- TriFunction<T,
U, V, R> - Interface in rsp.util
U
- ul(SegmentDefinition...) - 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
- unmount() - Method in class rsp.component.Component
- unmounted(ComponentCompositeKey, S) - Method in class rsp.component.Component
- updateRendered(ComponentCompositeKey, S, S, StateUpdate<S>) - Method in class rsp.component.Component
- updateRendered(ComponentCompositeKey, S, S, StateUpdate<S>) - Method in class rsp.component.RelativeUrlStateComponent
- uri - Variable in class rsp.server.http.HttpRequest
- url - Variable in class rsp.server.http.HttpRequest
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 record class rsp.server.http.Header
-
Returns the value of the
value
record component. - 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 class rsp.html.HtmlDsl.HeadType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class rsp.server.http.HttpRequest.HttpMethod
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class rsp.html.HtmlDsl.HeadType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class rsp.server.http.HttpRequest.HttpMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- View<S> - Interface in rsp.component
-
A function to create a state's view representation.
W
- webComponent(Function<HttpRequest, CompletableFuture<? extends S>>, ComponentView<S>) - Static method in class rsp.component.ComponentDsl
- WebServer - Class in rsp.jetty
-
An embedded server for an RSP application, Jetty provides a servlet container and a JSR 356 WebSockets API implementation.
- WebServer(int, App<S>) - Constructor for class rsp.jetty.WebServer
-
Creates a Jetty web server instance for hosting an RSP application.
- WebServer(int, App<S>, Optional<StaticResources>, Optional<SslConfiguration>, int) - Constructor for class rsp.jetty.WebServer
-
Creates a web server instance for hosting an RSP application.
- WebServer(int, App<S>, StaticResources) - Constructor for class rsp.jetty.WebServer
-
Creates a Jetty web server instance for hosting an RSP application.
- WebServer(int, App<S>, StaticResources, SslConfiguration) - Constructor for class rsp.jetty.WebServer
-
Creates a Jetty web server instance for hosting an RSP application.
- when(boolean, Supplier<SegmentDefinition>) - Static method in class rsp.html.HtmlDsl
-
A lazy form of conditional function.
- when(boolean, SegmentDefinition) - 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.
- whenRouteNotFound(Route<T, S>, S) - Static method in class rsp.routing.RoutingDsl
- window() - Static method in class rsp.html.HtmlDsl
-
Provides a definition of a browsers' window object.
- WindowDefinition - Class in rsp.html
-
Represents a browser's page window object.
- WindowDefinition() - Constructor for class rsp.html.WindowDefinition
- WindowDefinition.WindowRef - Class in rsp.html
- WindowRef() - Constructor for class rsp.html.WindowDefinition.WindowRef
- withKey(K) - Method in class rsp.html.ElementRefDefinition
X
- xmlTag(XmlNs, String, SegmentDefinition...) - Static method in class rsp.html.HtmlDsl
-
An XML tag.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form