public class SockJSHandlerOptions extends Object
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_HEARTBEAT_INTERVAL |
static boolean |
DEFAULT_INSERT_JSESSIONID |
static String |
DEFAULT_LIBRARY_URL |
static int |
DEFAULT_MAX_BYTES_STREAMING |
static long |
DEFAULT_SESSION_TIMEOUT |
Constructor and Description |
---|
SockJSHandlerOptions() |
SockJSHandlerOptions(JsonObject json) |
SockJSHandlerOptions(SockJSHandlerOptions other) |
Modifier and Type | Method and Description |
---|---|
SockJSHandlerOptions |
addDisabledTransport(String subProtocol) |
Set<String> |
getDisabledTransports() |
long |
getHeartbeatInterval() |
String |
getLibraryURL() |
int |
getMaxBytesStreaming() |
long |
getSessionTimeout() |
boolean |
isInsertJSESSIONID() |
SockJSHandlerOptions |
setHeartbeatInterval(long heartbeatInterval) |
SockJSHandlerOptions |
setInsertJSESSIONID(boolean insertJSESSIONID) |
SockJSHandlerOptions |
setLibraryURL(String libraryURL) |
SockJSHandlerOptions |
setMaxBytesStreaming(int maxBytesStreaming) |
SockJSHandlerOptions |
setSessionTimeout(long sessionTimeout) |
public static final long DEFAULT_SESSION_TIMEOUT
public static final boolean DEFAULT_INSERT_JSESSIONID
public static final long DEFAULT_HEARTBEAT_INTERVAL
public static final int DEFAULT_MAX_BYTES_STREAMING
public static final String DEFAULT_LIBRARY_URL
public SockJSHandlerOptions(SockJSHandlerOptions other)
public SockJSHandlerOptions()
public SockJSHandlerOptions(JsonObject json)
public long getSessionTimeout()
public SockJSHandlerOptions setSessionTimeout(long sessionTimeout)
public boolean isInsertJSESSIONID()
public SockJSHandlerOptions setInsertJSESSIONID(boolean insertJSESSIONID)
public long getHeartbeatInterval()
public SockJSHandlerOptions setHeartbeatInterval(long heartbeatInterval)
public int getMaxBytesStreaming()
public SockJSHandlerOptions setMaxBytesStreaming(int maxBytesStreaming)
public String getLibraryURL()
public SockJSHandlerOptions setLibraryURL(String libraryURL)
public SockJSHandlerOptions addDisabledTransport(String subProtocol)
Copyright © 2023 Eclipse. All rights reserved.