| Modifier and Type | Field and Description |
|---|---|
static UTF8Encoder |
INSTANCE |
| Constructor and Description |
|---|
UTF8Encoder() |
| Modifier and Type | Method and Description |
|---|---|
Object |
fromStorage(Object stored)
Convert from storage format to the read/write format.
|
MediaType |
getStorageFormat()
Returns the
MediaType produced by this encoder or null if the storage format is not known. |
short |
id()
Each encoder is associated with an unique id in order to optimize serialization.
|
boolean |
isStorageFormatFilterable() |
Object |
toStorage(Object content)
Convert data in the read/write format to the storage format.
|
public static final UTF8Encoder INSTANCE
public Object toStorage(Object content)
Encoderpublic Object fromStorage(Object stored)
EncoderfromStorage in interface Encoderstored - data as stored in the cache, never null.public boolean isStorageFormatFilterable()
isStorageFormatFilterable in interface Encoderpublic MediaType getStorageFormat()
EncoderMediaType produced by this encoder or null if the storage format is not known.getStorageFormat in interface Encoderpublic short id()
EncoderEncoderIds.Copyright © 2022 JBoss by Red Hat. All rights reserved.