public class WSChannelSettings extends PersistentRecord
SRecordInstance.BrokenOptimisticLockException
Modifier and Type | Field and Description |
---|---|
static BooleanField |
AllowIncoming |
static BooleanField |
AllowProxying |
static BooleanField |
Enabled |
static LongField |
Id |
static RecordMeta<WSChannelSettings> |
META |
static IntField |
Overload_Wait_Secs |
static IntField |
Receive_Queue_Max |
static IntField |
ReceiveThreads |
static BooleanField |
RequireSSL |
static BooleanField |
RequireTwoWayAuth |
static EnumField<ConnectionSecurityPolicy> |
SecurityPolicy |
static IntField |
SendThreads |
static BooleanField |
WebSocketsEnabled |
static StringField |
Whitelist |
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
Constructor and Description |
---|
WSChannelSettings() |
Modifier and Type | Method and Description |
---|---|
RecordMeta<WSChannelSettings> |
getMeta()
This must be defined in every user record's definition to access the SRecord which provides the meta data for
this instance.
|
ConnectionSecurityPolicy |
getSecurityPolicy() |
java.util.List<java.lang.String> |
getWhitelist()
Returns a parsed whitelist.
|
boolean |
isEnabled() |
boolean |
isProxyEnabled() |
boolean |
isWebSocketsEnabled() |
boolean |
requireSSL() |
boolean |
requireTwoWayAuth()
Returns true if two-way authentication is required, meaning that both the client and server must validate
each other before SSL handshake is complete.
|
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValues
allFields, assertNewRow, assertNotNewRow, defineInitialValue, deleteRecord, doQueryRecord, doValidateRecord, equals, findReference, findReference, findReference, findReference, getBigDecimal, getBytes, getDataSet, getDate, getDouble, getEnum, getInitialValue, getInt, getLogger, getLong, getObject, getRawArrayValue, getReferenceNoQuery, getTime, getTimestamp, hashCode, isAttached, isDeleted, isDirty, isDirty, isEmpty, isNewRow, isNotDestroyed, isNull, isReadOnly, isValid, onQueryRecord, onValidateField, onValidateRecord, setBigDecimal, setBoolean, setBytes, setDate, setDirty, setDouble, setEmpty, setEnum, setInt, setLong, setNewRow, setNull, setObject, setObject, setRawArrayValue, setReadOnly, setReference, setString, setTime, setTimestamp, toString, validatePrimaryKeys, wasInCache
public static final RecordMeta<WSChannelSettings> META
public static final LongField Id
public static final BooleanField Enabled
public static final BooleanField WebSocketsEnabled
public static final BooleanField RequireSSL
public static final BooleanField RequireTwoWayAuth
public static final IntField SendThreads
public static final IntField Receive_Queue_Max
public static final IntField ReceiveThreads
public static final IntField Overload_Wait_Secs
public static final BooleanField AllowIncoming
public static final EnumField<ConnectionSecurityPolicy> SecurityPolicy
public static final StringField Whitelist
public static final BooleanField AllowProxying
public RecordMeta<WSChannelSettings> getMeta()
SRecordInstance
SRecord getMeta() { return meta; };
The actual meta
variable is thus not Serialized, but it would not be anyway as it is usually static.
getMeta
in class PersistentRecord
public boolean isEnabled()
public boolean isWebSocketsEnabled()
public boolean requireSSL()
public boolean requireTwoWayAuth()
public ConnectionSecurityPolicy getSecurityPolicy()
public java.util.List<java.lang.String> getWhitelist()
public boolean isProxyEnabled()