Package | Description |
---|---|
io.netty.handler.codec.serialization |
Encoder, decoder and their compatibility stream implementations which
transform a
Serializable object into a byte buffer and
vice versa. |
Modifier and Type | Method and Description |
---|---|
static ClassResolver |
ClassResolvers.cacheDisabled(ClassLoader classLoader)
Deprecated.
cache disabled
|
static ClassResolver |
ClassResolvers.softCachingConcurrentResolver(ClassLoader classLoader)
Deprecated.
aggressive concurrent cache
good for shared cache, when we're not worried about class unloading
|
static ClassResolver |
ClassResolvers.softCachingResolver(ClassLoader classLoader)
Deprecated.
aggressive non-concurrent cache
good for non-shared cache, when we're not worried about class unloading
|
static ClassResolver |
ClassResolvers.weakCachingConcurrentResolver(ClassLoader classLoader)
Deprecated.
non-aggressive concurrent cache
good for shared cache, when we're worried about class unloading
|
static ClassResolver |
ClassResolvers.weakCachingResolver(ClassLoader classLoader)
Deprecated.
non-aggressive non-concurrent cache
good for non-shared default cache
|
Constructor and Description |
---|
ObjectDecoder(ClassResolver classResolver)
Deprecated.
Creates a new decoder whose maximum object size is
1048576
bytes. |
ObjectDecoder(int maxObjectSize,
ClassResolver classResolver)
Deprecated.
Creates a new decoder with the specified maximum object size.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.