程序包 | 说明 |
---|---|
io.netty.handler.codec.serialization |
Encoder, decoder and their compatibility stream implementations which
transform a
Serializable object into a byte buffer and
vice versa. |
限定符和类型 | 方法和说明 |
---|---|
static ClassResolver |
ClassResolvers.cacheDisabled(java.lang.ClassLoader classLoader)
已过时。
cache disabled
|
static ClassResolver |
ClassResolvers.softCachingConcurrentResolver(java.lang.ClassLoader classLoader)
已过时。
aggressive concurrent cache
good for shared cache, when we're not worried about class unloading
|
static ClassResolver |
ClassResolvers.softCachingResolver(java.lang.ClassLoader classLoader)
已过时。
aggressive non-concurrent cache
good for non-shared cache, when we're not worried about class unloading
|
static ClassResolver |
ClassResolvers.weakCachingConcurrentResolver(java.lang.ClassLoader classLoader)
已过时。
non-aggressive concurrent cache
good for shared cache, when we're worried about class unloading
|
static ClassResolver |
ClassResolvers.weakCachingResolver(java.lang.ClassLoader classLoader)
已过时。
non-aggressive non-concurrent cache
good for non-shared default cache
|
构造器和说明 |
---|
ObjectDecoder(ClassResolver classResolver)
已过时。
Creates a new decoder whose maximum object size is
1048576
bytes. |
ObjectDecoder(int maxObjectSize,
ClassResolver classResolver)
已过时。
Creates a new decoder with the specified maximum object size.
|