B C D E G H I M O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- broadcast(SseEvent, Map<SocketChannel, SSLEngine>) - Method in interface com.airepublic.http.sse.api.ISseService
-
Broadcasts the
SseEventasynchronously to the channels. - build() - Method in class com.airepublic.http.sse.api.SseEvent.Builder
-
Builds the
SseEvent. - Builder() - Constructor for class com.airepublic.http.sse.api.SseEvent.Builder
C
- com.airepublic.http.sse.api - module com.airepublic.http.sse.api
- com.airepublic.http.sse.api - package com.airepublic.http.sse.api
D
- decode(ByteBuffer, boolean) - Method in interface com.airepublic.http.sse.api.ISseService
-
Reads
SseEvents from theByteBuffer. - delay() - Method in annotation type com.airepublic.http.sse.api.SseProducer
-
The delay before the call to the producer method will be repeated.
E
- encode(SseEvent...) - Method in interface com.airepublic.http.sse.api.ISseService
-
Encodes the
SseEvents into aByteBuffer. - equals(Object) - Method in class com.airepublic.http.sse.api.SseEvent
G
- getAllConsumers() - Method in interface com.airepublic.http.sse.api.ISseRegistry
-
Gets all registered
SseConsumers. - getComment() - Method in class com.airepublic.http.sse.api.SseEvent
-
Gets the event comment.
- getData() - Method in class com.airepublic.http.sse.api.SseEvent
-
Gets the event data.
- getHandshakeResponse() - Method in interface com.airepublic.http.sse.api.ISseService
-
Gets the handshake
HttpResponseto the client. - getId() - Method in class com.airepublic.http.sse.api.SseEvent
-
Gets the event id.
- getMethod() - Method in class com.airepublic.http.sse.api.ProducerEntry
-
Gets the resource
Method. - getName() - Method in class com.airepublic.http.sse.api.SseEvent
-
Gets the event name.
- getObject() - Method in class com.airepublic.http.sse.api.ProducerEntry
-
Gets the resource object instance.
- getRetry() - Method in class com.airepublic.http.sse.api.SseEvent
-
Gets the event connection retry delay.
- getSseConsumer(URI) - Method in interface com.airepublic.http.sse.api.ISseRegistry
-
Gets a registered
SseConsumer. - getSseProducer(String) - Method in interface com.airepublic.http.sse.api.ISseRegistry
-
Gets a registered
SseProducer.
H
- handshake(SocketChannel, SSLEngine) - Method in interface com.airepublic.http.sse.api.ISseService
-
Performs an initial handshake for incoming requests.
- hashCode() - Method in class com.airepublic.http.sse.api.SseEvent
I
- isReconnectDelaySet() - Method in class com.airepublic.http.sse.api.SseEvent
-
Gets whether a event connection retry delay is set.
- ISseRegistry - Interface in com.airepublic.http.sse.api
- ISseService - Interface in com.airepublic.http.sse.api
M
- maxTimes() - Method in annotation type com.airepublic.http.sse.api.SseProducer
-
Specified how often the SSE producer method should be called before the connection is closed.
O
- outboundHandshake(URI, Selector, SocketChannel, SSLEngine, Consumer<SseEvent>) - Method in interface com.airepublic.http.sse.api.ISseService
-
Performs the client handshake with the server found under the specified URI.
P
- path() - Method in annotation type com.airepublic.http.sse.api.SseProducer
-
The path for this producer to listen on.
- processRequest(SocketChannel, SSLContext, ISseRegistry) - Method in interface com.airepublic.http.sse.api.ISseService
-
Processes the whole lifecycle of an
SseProducer. - ProducerEntry - Class in com.airepublic.http.sse.api
-
Entry to register a
SseProducer. - ProducerEntry(Object, Method) - Constructor for class com.airepublic.http.sse.api.ProducerEntry
-
Constructor.
R
- receive(URI, Consumer<SseEvent>) - Method in interface com.airepublic.http.sse.api.ISseService
-
Receives
SseEvents asynchronously from the URI specified in theSseConsumerand notifies theConsumerwhen an event has been read. - registerSseConsumer(URI, Future<Void>) - Method in interface com.airepublic.http.sse.api.ISseRegistry
-
Registers a
SseConsumer. - registerSseProducer(String, Class<?>, Method) - Method in interface com.airepublic.http.sse.api.ISseRegistry
-
Registers a
SseProducer. - RETRY_NOT_SET - Static variable in class com.airepublic.http.sse.api.SseEvent
S
- send(SseEvent, SocketChannel, SSLEngine) - Method in interface com.airepublic.http.sse.api.ISseService
-
Sends the
SseEventasynchronously to the channel. - sendHandshakeResponse(SocketChannel, SSLEngine) - Method in interface com.airepublic.http.sse.api.ISseService
-
Sends the handshake response to the client.
- setComment(String) - Method in class com.airepublic.http.sse.api.SseEvent
-
Sets the event comment.
- setData(String) - Method in class com.airepublic.http.sse.api.SseEvent
-
Sets the event data.
- setId(String) - Method in class com.airepublic.http.sse.api.SseEvent
-
Sets the event id.
- setName(String) - Method in class com.airepublic.http.sse.api.SseEvent
-
Sets the event name.
- setRetry(long) - Method in class com.airepublic.http.sse.api.SseEvent
-
Sets the event connection retry delay.
- SseConsumer - Annotation Type in com.airepublic.http.sse.api
-
Defines a consumer of
SseEvents from a specifiedURI. - SseEvent - Class in com.airepublic.http.sse.api
-
The representation of an SSE event.
- SseEvent() - Constructor for class com.airepublic.http.sse.api.SseEvent
-
Constructor.
- SseEvent.Builder - Class in com.airepublic.http.sse.api
-
A builder to create
SseEvents. - SseProducer - Annotation Type in com.airepublic.http.sse.api
-
Defines a producer of
SseEvents.
T
- toString() - Method in class com.airepublic.http.sse.api.SseEvent
U
- unit() - Method in annotation type com.airepublic.http.sse.api.SseProducer
-
The
TimeUnitfor thedelay()parameter. - unregisterSseConsumer(URI) - Method in interface com.airepublic.http.sse.api.ISseRegistry
-
Unregisters a
SseConsumer. - unregisterSseProducer(String) - Method in interface com.airepublic.http.sse.api.ISseRegistry
-
Unregisters a
SseProducer.
V
- value() - Method in annotation type com.airepublic.http.sse.api.SseConsumer
-
The
URIto the SSE source.
W
- withComment(String) - Method in class com.airepublic.http.sse.api.SseEvent.Builder
-
Adds the event comment.
- withData(String) - Method in class com.airepublic.http.sse.api.SseEvent.Builder
-
Adds the event data.
- withId(String) - Method in class com.airepublic.http.sse.api.SseEvent.Builder
-
Adds the event id.
- withName(String) - Method in class com.airepublic.http.sse.api.SseEvent.Builder
-
Adds the event name.
- withRetry(long) - Method in class com.airepublic.http.sse.api.SseEvent.Builder
-
Adds the event connection retry delay.
All Classes All Packages