public class NamiManager extends Object
| 构造器和说明 |
|---|
NamiManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Channel |
getChannel(String scheme) |
static NamiConfiguration |
getConfigurator(Class<? extends NamiConfiguration> clz) |
static Decoder |
getDecoder(String enctype) |
static Encoder |
getEncoder(String enctype) |
static Set<Filter> |
getFilters() |
static void |
reg(Decoder decoder)
登记解码器
|
static void |
reg(Encoder encoder)
登记编码器
|
static void |
reg(Filter filter)
登记拦截器
|
static void |
reg(String scheme,
Channel channel)
登记通道
|
static void |
regIfAbsent(Decoder decoder)
登记解码器
|
static void |
regIfAbsent(Encoder encoder)
登记编码器
|
static void |
regIfAbsent(String scheme,
Channel channel)
登记通道
|
public static void reg(Decoder decoder)
public static void regIfAbsent(Decoder decoder)
public static void reg(Encoder encoder)
public static void regIfAbsent(Encoder encoder)
public static void reg(Filter filter)
public static NamiConfiguration getConfigurator(Class<? extends NamiConfiguration> clz) throws Exception
ExceptionCopyright © 2023. All rights reserved.