Package | Description |
---|---|
io.vertx.ext.shell.term | |
io.vertx.ext.web.handler.sockjs | |
io.vertx.reactivex.ext.web.handler.sockjs | |
io.vertx.rxjava.ext.web.handler.sockjs |
Modifier and Type | Method and Description |
---|---|
SockJSHandlerOptions |
HttpTermOptions.getSockJSHandlerOptions() |
Modifier and Type | Method and Description |
---|---|
HttpTermOptions |
HttpTermOptions.setSockJSHandlerOptions(SockJSHandlerOptions sockJSHandlerOptions)
The SockJS handler options.
|
Modifier and Type | Method and Description |
---|---|
SockJSHandlerOptions |
SockJSHandlerOptions.addDisabledTransport(String subProtocol)
Add a transport (by name) to the set of disabled transports.
|
SockJSHandlerOptions |
SockJSHandlerOptions.setHeartbeatInterval(long heartbeatInterval)
In order to keep proxies and load balancers from closing long running HTTP requests we need to pretend that the connection is active and send a heartbeat packet once in a while.
|
SockJSHandlerOptions |
SockJSHandlerOptions.setInsertJSESSIONID(boolean insertJSESSIONID)
Whether to insert a
JSESSIONID cookie so load-balancers ensure requests for a specific SockJS session are always routed to the correct server. |
SockJSHandlerOptions |
SockJSHandlerOptions.setLibraryURL(String libraryURL)
Transports which don't support cross-domain communication natively use an iframe trick.
|
SockJSHandlerOptions |
SockJSHandlerOptions.setLocalWriteHandler(boolean localWriteHandler)
Whether the
writeHandler should be local only or cluster-wide. |
SockJSHandlerOptions |
SockJSHandlerOptions.setMaxBytesStreaming(int maxBytesStreaming)
Most streaming transports save responses on the client side and don't free memory used by delivered messages.
|
SockJSHandlerOptions |
SockJSHandlerOptions.setRegisterWriteHandler(boolean registerWriteHandler)
Whether a
writeHandler should be registered on the EventBus . |
SockJSHandlerOptions |
SockJSHandlerOptions.setSessionTimeout(long sessionTimeout)
Set the delay before the server sends a
close event when a client receiving connection has not been seen for a while. |
Modifier and Type | Method and Description |
---|---|
static SockJSHandler |
SockJSHandler.create(Vertx vertx,
SockJSHandlerOptions options)
Create a SockJS handler
|
Constructor and Description |
---|
SockJSHandlerOptions(SockJSHandlerOptions other)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
static SockJSHandler |
SockJSHandler.create(Vertx vertx,
SockJSHandlerOptions options)
Create a SockJS handler
|
Modifier and Type | Method and Description |
---|---|
static SockJSHandler |
SockJSHandler.create(Vertx vertx,
SockJSHandlerOptions options)
Create a SockJS handler
|
Copyright © 2021 Eclipse. All rights reserved.