Uses of Interface
Defines the interfaces and classes that provide the core functionality of the JGrapes event driven component framework.
Annotations used by the library.
Classes implementing the public API of the library.
Provides components for building a HTTP server based on the core and IO components.
Adds a special annotation for methods that handle HTTP request events.
Provides a base component for generating template based responses to HTTP requests.
I/O related components built on top of the core package.
Networking related I/O classes.
Utility components that are too small to deserve individual libraries/projects.
Uses of ComponentType in org.jgrapes.coreModifier and TypeClassDescription
classThis class can be used as base class for implementing a component.
classDeprecated.This class has been moved to
ComponentCollector.Modifier and TypeMethodDescription
<T extends ComponentType>
(T child)Attaches the given component node (or complete tree) as a child to the component managed by this manager.Modifier and TypeMethodDescriptionManager.
component()Returns the component managed by this manager.
create()Creates a new component with its channel set to itself.
default ComponentTypeCreates a new component with its channel set to the given channel.Manager.
detach()Detaches the component managed by this manager (with its children, if any) from the component tree that it currently belongs to.Manager.
parent()Returns the parent of the component managed by this manager.Manager.
root()Returns the root of the tree the component managed by this manager belongs to.Sets the (optional) name of the component.
static ComponentTypeAssigns standard properties from the given properties to the component.Modifier and TypeMethodDescriptionManager.
children()Returns the child components of the component managed by this manager as unmodifiable list.ComponentFactory.
componentType()Returns the type of the components created by this factory.Creates a new component with its channel set to the given channel using the given additional properties.Manager.
iterator()Returns an iterator that visits the components of the component subtree that has this node as root.Manager.
stream()Returns the components visited when traversing the tree that starts with this component.Modifier and TypeMethodDescription
static ManagerReturns a component’s manager.
static ManagerReturns a component’s manager like
static ComponentTypeAssigns standard properties from the given properties to the component.
Uses of ComponentType in org.jgrapes.core.annotationModifier and TypeMethodDescription
static voidAdd a handler like
Handler.Evaluator.add(ComponentType, String, Object, Object, int)but take the values for event and priority from the annotation.
(ComponentType component, String method, Object eventValue, Object channelValue, int priority)Adds the given method of the given component as a dynamic handler for a specific event and channel.Handler.Evaluator.
(ComponentType component, Method method, HandlerDefinition.ChannelReplacements channelReplacements)HandlerDefinition.Evaluator.
(ComponentType component, Method method, HandlerDefinition.ChannelReplacements channelReplacements)Returns the information about the events and channels handled by the handler that annotates the given method of the given comonent as a
Uses of ComponentType in org.jgrapes.core.eventsModifier and TypeMethodDescriptionAttached.
node()Return the node that has been attached.Detached.
parent()Return the parent component.Detached.
Uses of ComponentType in org.jgrapes.core.internalModifier and TypeClassDescription
classHelper class for simulating event handlers.
classA fallback error printer.Modifier and TypeMethodDescriptionComponentProxy.
component()Returns the component represented by this node in the tree.ComponentVertex.
root()Modifier and TypeMethodDescriptionComponentVertex.
Uses of ComponentType in org.jgrapes.httpModifier and TypeClassDescription
classA converter component that receives and sends web application layer messages and byte buffers on associated network channels.
classA converter component that receives and sends byte buffers on a network channel and web application layer messages on
IOSubchannels of its channel.
classA in memory session manager.
classA component that attempts to derive information about language preferences from requests in the specified scope (usually “/”) and make them available as a
LanguageSelector.Selectionobject associated with the request event using
Selection.classas association identifier.
classA base class for session managers.
classA dispatcher for requests for static content, usually files.
Uses of ComponentType in org.jgrapes.http.annotationModifier and TypeMethodDescription
static voidAdds the given method of the given component as a dynamic handler for a specific pattern.
static voidAdds the given method of the given component as a dynamic handler for a specific pattern with the specified priority.RequestHandler.Evaluator.
(ComponentType component, Method method, HandlerDefinition.ChannelReplacements channelReplacements)
Uses of ComponentType in org.jgrapes.http.freemarkerModifier and TypeClassDescription
classA base class for components that generate responses to HTTP requests which are based on a FreeMarker template.
Uses of ComponentType in org.jgrapes.ioModifier and TypeClassDescription
classA component that reads from or writes to a file.
classA component that watches for new input on an
classA helper component that provides the central hub for non blocking I/O components.
Uses of ComponentType in org.jgrapes.netModifier and TypeClassDescription
classA component that receives and sends byte buffers on an encrypted channel and sends and receives the corresponding decrypted data on a plain channel.
classA component that reads from or write to a TCP connection.
classProvides a TCP server.
Uses of ComponentType in org.jgrapes.utilModifier and TypeClassDescription
classA component that collects all component factory services of a given type and uses each to create one or more components that are then attached to the component collector instance.
classProvides child components dynamically using
classThis component provides a store for an application’s configuration backed by a JSON file.
classThis component provides a store for an application’s configuration backed by the Java