Package rife.engine
package rife.engine
Provides classes and interfaces for the web engine.
- Since:
- 1.0
-
ClassDescriptionThis abstract class implements parts of the
Responseinterface to provide behaviour that is specific to RIFE2.This class provides the context for the current HTTP request.Helper class for building aCookie.Interface describing the functionality of a RIFE2 element of execution.Configures the continuations system for the web engine.Main entry class into the RIFE2 web engine, used both by the servlet engine and the out of container testing API.Describes an htmx client-side navigation together with its context, for the JSON form of theHX-Locationresponse header.Glue interface to help building the pathinfo mapping structureProvides the different pathinfo handling options for a route definition.Micro DSL to describe the format of how a pathinfo should be structure and mapped to parameters.This interface contains all the methods that the web engine needs to be able to correctly handle incoming requests.The collection of HTTP methods as an enum.This interface contains all the methods that the web engine needs to be able to send a response to the client.Interface describing a route that leads to a RIFE2 web executionElement.Provides the routing features of the RIFE2 web engine.TheSameSitepolicies of a cookie, which determine whether a browser will send the cookie along with the requests that originate from another site.Embedded Jetty server that can directly start from a RIFE2 site.AServerSentEventobject describes a single server-sent event that can be sent through anSseConnectionor broadcast to all the connections of anSseBroadcaster.Convenience class that wraps around anHttpSession.The main site of your web application, which is also the top-level router.Request parameters with a special meaning for RIFE2.Manages a collection of detached server-sent events connections and broadcasts events to all of them.AnSseConnectioninstance represents a single server-sent events (SSE) connection to a client.The method of aSseConnectionFilterwill be executed for each of the connections of aSseBroadcaster, so that an operation is limited to the connections that it accepts.The method of aSseErrorListenerwill be executed when an event couldn't be converted or delivered to aSseBroadcaster, and it is registered with whatever feeds that broadcaster, likeSseGqmBridge.onError.Provides a snapshot of the state of the event history of anSseBroadcaster, which is intended to help you tune the history capacity.Embedded Tomcat server that can directly start from a RIFE2 site.AnUploadedFileinstance is created by the web engine when files are uploaded through a multipart request.UrlBuilderhelps creating valid URLs that automatically adapt based on the current executionContextand targetRoute.The segments that are generated by the URL builder.