public class SettingsContext extends AbstractContext
Constructor and Description |
---|
SettingsContext(Context context,
Map<String,Class<?>> typeMap) |
Modifier and Type | Method and Description |
---|---|
io.netty.buffer.ByteBufAllocator |
getAllocator() |
Charset |
getCharset() |
NumberFormat |
getClientCurrencyFormatter() |
DateTimeFormat |
getClientDateFormat() |
NumberFormat |
getClientDecimalFormatter() |
NumberFormat |
getClientIntegerFormatter() |
IntervalFormat |
getClientIntervalFormat() |
DateTimeFormat |
getClientTimeFormat() |
DateTimeFormat |
getClientTimestampFormat() |
Map<String,Class<?>> |
getCustomTypeMap() |
ServerConnection.KeyData |
getKeyData() |
Registry |
getRegistry() |
RequestExecutor |
getRequestExecutor() |
NumberFormat |
getServerCurrencyFormatter() |
DateTimeFormat |
getServerDateFormat() |
ServerInfo |
getServerInfo() |
IntervalFormat |
getServerIntervalFormat() |
DateTimeFormat |
getServerTimeFormat() |
DateTimeFormat |
getServerTimestampFormat() |
<T> T |
getSetting(Setting<T> setting) |
TimeZone |
getTimeZone() |
ZoneId |
getTimeZoneId() |
<T> void |
setSetting(Setting<T> setting,
T value) |
Context |
unwrap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSetting
public Map<String,Class<?>> getCustomTypeMap()
getCustomTypeMap
in interface Context
public <T> T getSetting(Setting<T> setting)
getSetting
in interface Configuration
public <T> void setSetting(Setting<T> setting, T value)
public Registry getRegistry()
public TimeZone getTimeZone()
public ZoneId getTimeZoneId()
public Charset getCharset()
public ServerInfo getServerInfo()
public ServerConnection.KeyData getKeyData()
public DateTimeFormat getServerDateFormat()
public DateTimeFormat getClientDateFormat()
public DateTimeFormat getServerTimeFormat()
public DateTimeFormat getClientTimeFormat()
public IntervalFormat getServerIntervalFormat()
public IntervalFormat getClientIntervalFormat()
public DateTimeFormat getServerTimestampFormat()
public DateTimeFormat getClientTimestampFormat()
public NumberFormat getClientIntegerFormatter()
public NumberFormat getClientDecimalFormatter()
public NumberFormat getServerCurrencyFormatter()
public NumberFormat getClientCurrencyFormatter()
public RequestExecutor getRequestExecutor()
public io.netty.buffer.ByteBufAllocator getAllocator()
public Context unwrap()