Package | Description |
---|---|
org.infinispan.client.hotrod |
Hot Rod client API.
|
org.infinispan.client.hotrod.impl | |
org.infinispan.client.hotrod.impl.protocol | |
org.infinispan.client.hotrod.marshall | |
org.infinispan.commons.dataconversion | |
org.infinispan.commons.logging | |
org.infinispan.commons.marshall |
Provides Infinispan-specific input and output streams, buffers and related utilities.
|
org.infinispan.configuration.cache |
Cache configuration |
org.infinispan.encoding | |
org.infinispan.encoding.impl | |
org.infinispan.filter |
Provides capabilities around filtering and converting entries that are found in the cache or cache store/loader.
|
org.infinispan.marshall.core | |
org.infinispan.marshall.persistence.impl |
This package should mainly contain
MessageMarshaller implementations for classes
which a static inner class is not possible. |
org.infinispan.notifications.cachelistener.filter |
Cache -specific notifications and eventing filtering classes. |
org.infinispan.util.logging |
Infinispan's logging abstractions that delegate to either JDK or Log4J logging engines.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
DataFormat.getKeyType() |
MediaType |
DataFormat.getValueType() |
Modifier and Type | Method and Description |
---|---|
DataFormat.Builder |
DataFormat.Builder.keyType(MediaType keyType) |
DataFormat.Builder |
DataFormat.Builder.valueType(MediaType valueType) |
Modifier and Type | Method and Description |
---|---|
Marshaller |
MarshallerRegistry.getMarshaller(MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
default MediaType |
Codec.readKeyType(io.netty.buffer.ByteBuf buf)
Reads the
MediaType of the key during initial ping of the cache. |
MediaType |
Codec29.readKeyType(io.netty.buffer.ByteBuf buf) |
default MediaType |
Codec.readValueType(io.netty.buffer.ByteBuf buf)
Reads the
MediaType of the key during initial ping of the cache. |
MediaType |
Codec29.readValueType(io.netty.buffer.ByteBuf buf) |
Modifier and Type | Method and Description |
---|---|
MediaType |
BytesOnlyMarshaller.mediaType() |
Modifier and Type | Field and Description |
---|---|
static MediaType |
MediaType.APPLICATION_INFINISPAN_BINARY
Deprecated.
Since 11.0, will be removed in 14.0. No longer used for BINARY storage.
|
static MediaType |
MediaType.APPLICATION_INFINISPAN_MARSHALLED
Deprecated.
Since 11.0, will be removed with ISPN-9622
|
static MediaType |
MediaType.APPLICATION_INFINISPAN_MARSHALLING
Deprecated.
Since 11.0, will be removed with ISPN-9622
|
static MediaType |
MediaType.APPLICATION_JAVASCRIPT |
static MediaType |
MediaType.APPLICATION_JBOSS_MARSHALLING |
static MediaType |
MediaType.APPLICATION_JSON |
static MediaType |
MediaType.APPLICATION_KRYO |
static MediaType |
MediaType.APPLICATION_OBJECT |
static MediaType |
MediaType.APPLICATION_OCTET_STREAM |
static MediaType |
MediaType.APPLICATION_OPENMETRICS |
static MediaType |
MediaType.APPLICATION_PDF |
static MediaType |
MediaType.APPLICATION_PROTOSTREAM |
static MediaType |
MediaType.APPLICATION_PROTOSTUFF |
static MediaType |
MediaType.APPLICATION_RTF |
static MediaType |
MediaType.APPLICATION_SERIALIZED_OBJECT |
static MediaType |
MediaType.APPLICATION_UNKNOWN
Deprecated.
Since 11.0, without replacement.
|
static MediaType |
MediaType.APPLICATION_WWW_FORM_URLENCODED |
static MediaType |
MediaType.APPLICATION_XML |
static MediaType |
MediaType.APPLICATION_ZIP |
static MediaType |
MediaType.IMAGE_GIF |
static MediaType |
MediaType.IMAGE_JPEG |
static MediaType |
MediaType.IMAGE_PNG |
protected MediaType |
OneToManyTranscoder.mainType |
static MediaType |
MediaType.MATCH_ALL |
static MediaType |
MediaType.TEXT_CSS |
static MediaType |
MediaType.TEXT_CSV |
static MediaType |
MediaType.TEXT_HTML |
static MediaType |
MediaType.TEXT_PLAIN |
Modifier and Type | Field and Description |
---|---|
protected Set<MediaType> |
OneToManyTranscoder.supportedTypes |
Modifier and Type | Method and Description |
---|---|
static MediaType |
MediaType.fromString(String tree) |
static MediaType |
MediaTypeIds.getMediaType(Short id) |
MediaType |
Encoder.getStorageFormat()
Returns the
MediaType produced by this encoder or null if the storage format is not known. |
MediaType |
GlobalMarshallerEncoder.getStorageFormat()
Deprecated.
|
MediaType |
IdentityEncoder.getStorageFormat() |
MediaType |
JavaSerializationEncoder.getStorageFormat()
Deprecated.
|
MediaType |
UTF8Encoder.getStorageFormat() |
static MediaType |
MediaType.parse(String str)
Deprecated.
replaced by
fromString(java.lang.String) |
MediaType |
MediaType$___Marshaller_f2fc301543ca54d0326b5d8ce3b7199226a678253252e7ac46f1fad54bd90568.readFrom(org.infinispan.protostream.ImmutableSerializationContext $1,
org.infinispan.protostream.RawProtoStreamReader $2) |
MediaType |
MediaType.MediaTypeExternalizer.readObject(ObjectInput input) |
MediaType |
MediaType.withCharset(Charset charset) |
MediaType |
MediaType.withClassType(Class<?> clazz) |
MediaType |
MediaType.withoutParameters() |
MediaType |
MediaType.withParameter(String name,
String value) |
MediaType |
MediaType.withParameters(Map<String,String> parameters) |
Modifier and Type | Method and Description |
---|---|
Class<MediaType> |
MediaType$___Marshaller_f2fc301543ca54d0326b5d8ce3b7199226a678253252e7ac46f1fad54bd90568.getJavaClass() |
Set<MediaType> |
DefaultTranscoder.getSupportedMediaTypes() |
Set<MediaType> |
OneToManyTranscoder.getSupportedMediaTypes() |
Set<MediaType> |
Transcoder.getSupportedMediaTypes() |
static Stream<MediaType> |
MediaType.parseList(String mediaTypeList)
Parse a comma separated list of media type trees.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
StandardConversions.convertJavaToOctetStream(Object source,
MediaType sourceMediaType,
Marshaller marshaller)
Converts a java object to a sequence of bytes applying standard java serialization.
|
static byte[] |
StandardConversions.convertJavaToProtoStream(Object source,
MediaType sourceMediaType,
org.infinispan.protostream.ImmutableSerializationContext ctx)
Converts a java object to a sequence of bytes using a ProtoStream
ImmutableSerializationContext . |
static byte[] |
StandardConversions.convertJavaToText(Object source,
MediaType sourceMediaType,
MediaType destinationMediaType)
Converts a java object to a text/plain representation.
|
static Object |
StandardConversions.convertOctetStreamToJava(byte[] source,
MediaType destination,
Marshaller marshaller)
Converts an octet stream to a Java object
|
static byte[] |
StandardConversions.convertOctetStreamToText(byte[] source,
MediaType destination)
Converts generic byte[] to text.
|
static Object |
StandardConversions.convertOctetStreamToUrlEncoded(Object content,
MediaType contentType) |
static String |
StandardConversions.convertTextToObject(Object source,
MediaType sourceType)
Converts text content to the Java representation (String).
|
static byte[] |
StandardConversions.convertTextToOctetStream(Object source,
MediaType sourceType)
Converts text content to binary.
|
static Object |
StandardConversions.convertTextToText(Object source,
MediaType sourceType,
MediaType destinationType)
Convert text content to a different encoding.
|
static String |
StandardConversions.convertTextToUrlEncoded(Object source,
MediaType sourceType)
Convert text format to a URL safe format.
|
Object |
DefaultTranscoder.convertToOctetStream(Object content,
MediaType contentType,
MediaType destinationType) |
static Object |
StandardConversions.convertUrlEncodedToText(Object content,
MediaType destinationType) |
static Object |
StandardConversions.decodeObjectContent(Object content,
MediaType contentMediaType)
Decode UTF-8 as a java object.
|
static byte[] |
StandardConversions.decodeOctetStream(Object input,
MediaType octetStream)
Decode a octet-stream content that is not a byte[].
|
static Short |
MediaTypeIds.getId(MediaType mediaType) |
boolean |
MediaType.match(MediaType other) |
default boolean |
Transcoder.supports(MediaType mediaType) |
boolean |
DefaultTranscoder.supportsConversion(MediaType mediaType,
MediaType other) |
boolean |
OneToManyTranscoder.supportsConversion(MediaType mediaType,
MediaType other) |
default boolean |
Transcoder.supportsConversion(MediaType mediaType,
MediaType other) |
Object |
BinaryTranscoder.transcode(Object content,
MediaType contentType,
MediaType destinationType) |
Object |
DefaultTranscoder.transcode(Object content,
MediaType contentType,
MediaType destinationType) |
Object |
Transcoder.transcode(Object content,
MediaType contentType,
MediaType destinationType)
Transcodes content between two different
MediaType . |
Object |
TranscoderMarshallerAdapter.transcode(Object content,
MediaType contentType,
MediaType destinationType) |
static String |
StandardConversions.urlEncode(Object content,
MediaType mediaType) |
void |
MediaType.MediaTypeExternalizer.writeObject(ObjectOutput output,
MediaType mediaType) |
void |
MediaType$___Marshaller_f2fc301543ca54d0326b5d8ce3b7199226a678253252e7ac46f1fad54bd90568.writeTo(org.infinispan.protostream.ImmutableSerializationContext $1,
org.infinispan.protostream.RawProtoStreamWriter $2,
MediaType $3) |
Constructor and Description |
---|
OneToManyTranscoder(MediaType mainType,
MediaType... supportedConversions) |
OneToManyTranscoder(MediaType mainType,
MediaType... supportedConversions) |
Modifier and Type | Method and Description |
---|---|
EncodingException |
Log.errorEncoding(Object content,
MediaType mediaType) |
EncodingException |
Log_$logger.errorEncoding(Object content,
MediaType mediaType) |
EncodingException |
Log.errorTranscoding(String content,
MediaType contentType,
MediaType requestType,
Throwable t) |
EncodingException |
Log_$logger.errorTranscoding(String content,
MediaType contentType,
MediaType requestType,
Throwable t) |
EncodingException |
Log.unsupportedConversion(String content,
MediaType requestType) |
EncodingException |
Log_$logger.unsupportedConversion(String content,
MediaType requestType) |
EncodingException |
Log.unsupportedConversion(String content,
MediaType contentType,
MediaType requestType) |
EncodingException |
Log_$logger.unsupportedConversion(String content,
MediaType contentType,
MediaType requestType) |
Modifier and Type | Method and Description |
---|---|
MediaType |
IdentityMarshaller.mediaType() |
MediaType |
JavaSerializationMarshaller.mediaType() |
MediaType |
Marshaller.mediaType() |
MediaType |
ProtoStreamMarshaller.mediaType() |
MediaType |
StreamAwareMarshaller.mediaType() |
MediaType |
StringMarshaller.mediaType() |
MediaType |
UTF8StringMarshaller.mediaType() |
Modifier and Type | Method and Description |
---|---|
MediaType |
ContentTypeConfiguration.mediaType() |
Modifier and Type | Method and Description |
---|---|
void |
ContentTypeConfiguration.mediaType(MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
MediaType |
DataConversion.getRequestMediaType() |
MediaType |
DataConversion.getStorageMediaType() |
Modifier and Type | Method and Description |
---|---|
Object |
DataConversion.convert(Object o,
MediaType from,
MediaType to)
Deprecated.
Since 11.0, with no replacement.
|
Object |
DataConversion.convertToRequestFormat(Object o,
MediaType contentType)
Deprecated.
Since 11.0, with no replacement.
|
boolean |
DataConversion.isConversionSupported(MediaType mediaType)
Deprecated.
Since 11.0, with no replacement.
|
Object |
ProtostreamTranscoder.transcode(Object content,
MediaType contentType,
MediaType destinationType) |
DataConversion |
DataConversion.withRequestMediaType(MediaType requestMediaType) |
Modifier and Type | Method and Description |
---|---|
MediaType |
StorageConfigurationManager.getKeyStorageMediaType() |
MediaType |
StorageConfigurationManager.getStorageMediaType(boolean isKey) |
MediaType |
StorageConfigurationManager.getValueStorageMediaType() |
Modifier and Type | Method and Description |
---|---|
Set<MediaType> |
TwoStepTranscoder.getSupportedMediaTypes() |
Modifier and Type | Method and Description |
---|---|
boolean |
TwoStepTranscoder.supportsConversion(MediaType mediaType,
MediaType other) |
Object |
TwoStepTranscoder.transcode(Object content,
MediaType contentType,
MediaType destinationType) |
Modifier and Type | Method and Description |
---|---|
default MediaType |
KeyValueFilter.format() |
Modifier and Type | Method and Description |
---|---|
MediaType |
GlobalMarshaller.mediaType() |
Modifier and Type | Method and Description |
---|---|
Object |
EncoderRegistry.convert(Object o,
MediaType from,
MediaType to)
Performs a data conversion.
|
Object |
EncoderRegistryImpl.convert(Object o,
MediaType from,
MediaType to) |
Transcoder |
EncoderRegistry.getTranscoder(MediaType type1,
MediaType type2)
Obtain an instance of
Transcoder from the registry. |
Transcoder |
EncoderRegistryImpl.getTranscoder(MediaType mediaType,
MediaType another) |
boolean |
EncoderRegistry.isConversionSupported(MediaType from,
MediaType to) |
boolean |
EncoderRegistryImpl.isConversionSupported(MediaType from,
MediaType to) |
Modifier and Type | Method and Description |
---|---|
MediaType |
PersistenceMarshallerImpl.mediaType() |
Modifier and Type | Method and Description |
---|---|
default MediaType |
CacheEventConverter.format() |
default MediaType |
CacheEventFilter.format() |
default MediaType |
CacheEventFilterConverter.format() |
Modifier and Type | Method and Description |
---|---|
EncodingException |
Log.cannotConvertContent(Object content,
MediaType contentType,
MediaType destination) |
EncodingException |
Log_$logger.cannotConvertContent(Object content,
MediaType contentType,
MediaType destination) |
EncodingException |
Log.cannotFindTranscoder(MediaType mediaType,
MediaType another) |
EncodingException |
Log_$logger.cannotFindTranscoder(MediaType mediaType,
MediaType another) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.