Uses of Class
com.airepublic.http.sse.api.SseEvent
-
-
Uses of SseEvent in com.airepublic.http.sse.api
Methods in com.airepublic.http.sse.api that return SseEvent Modifier and Type Method Description SseEventSseEvent.Builder. build()Builds theSseEvent.Methods in com.airepublic.http.sse.api that return types with arguments of type SseEvent Modifier and Type Method Description java.util.concurrent.Future<SseEvent>ISseService. broadcast(SseEvent event, java.util.Map<java.nio.channels.SocketChannel,javax.net.ssl.SSLEngine> channels)Broadcasts theSseEventasynchronously to the channels.java.util.List<SseEvent>ISseService. decode(java.nio.ByteBuffer buffer, boolean isChunked)ReadsSseEvents from theByteBuffer.java.util.concurrent.Future<SseEvent>ISseService. send(SseEvent event, java.nio.channels.SocketChannel channel, javax.net.ssl.SSLEngine sslEngine)Sends theSseEventasynchronously to the channel.Methods in com.airepublic.http.sse.api with parameters of type SseEvent Modifier and Type Method Description java.util.concurrent.Future<SseEvent>ISseService. broadcast(SseEvent event, java.util.Map<java.nio.channels.SocketChannel,javax.net.ssl.SSLEngine> channels)Broadcasts theSseEventasynchronously to the channels.java.nio.ByteBufferISseService. encode(SseEvent... events)Encodes theSseEvents into aByteBuffer.java.util.concurrent.Future<SseEvent>ISseService. send(SseEvent event, java.nio.channels.SocketChannel channel, javax.net.ssl.SSLEngine sslEngine)Sends theSseEventasynchronously to the channel.Method parameters in com.airepublic.http.sse.api with type arguments of type SseEvent Modifier and Type Method Description com.airepublic.http.common.HttpResponseISseService. outboundHandshake(java.net.URI uri, java.nio.channels.Selector selector, java.nio.channels.SocketChannel channel, javax.net.ssl.SSLEngine sslEngine, java.util.function.Consumer<SseEvent> consumer)Performs the client handshake with the server found under the specified URI.java.util.concurrent.Future<java.lang.Void>ISseService. receive(java.net.URI uri, java.util.function.Consumer<SseEvent> consumer)ReceivesSseEvents asynchronously from the URI specified in theSseConsumerand notifies theConsumerwhen an event has been read.
-