Uses of Class
org.infinispan.commons.dataconversion.MediaType
Packages that use MediaType
Package
Description
This is the core of Infinispan, a distributed, transactional, highly scalable data grid
platform.
Hot Rod client API.
Commons Configuration package
Provides Infinispan-specific input and output streams, buffers and related utilities.
Cache
configurationProvides capabilities around filtering and converting entries that are found in the cache or cache store/loader.
Hooks to bridge Infinispan's marshalling APIs with JBoss Marshalling internals.
Cache
-specific notifications and eventing filtering classes.REST Server bootstrap and Netty bridge classes.
Memcached Server Configuration API
-
Uses of MediaType in org.infinispan
Methods in org.infinispan with parameters of type MediaTypeModifier and TypeMethodDescription<K1,
V1> AdvancedCache<K1, V1> AdvancedCache.withMediaType
(MediaType keyMediaType, MediaType valueMediaType) -
Uses of MediaType in org.infinispan.cache.impl
Methods in org.infinispan.cache.impl with parameters of type MediaTypeModifier and TypeMethodDescription<K1,
V1> AdvancedCache<K1, V1> AbstractDelegatingAdvancedCache.withMediaType
(MediaType keyMediaType, MediaType valueMediaType) <K1,
V1> AdvancedCache<K1, V1> CacheImpl.withMediaType
(MediaType keyMediaType, MediaType valueMediaType) EncoderCache.withMediaType
(MediaType kType, MediaType vType) <K1,
V1> AdvancedCache<K1, V1> SimpleCacheImpl.withMediaType
(MediaType keyMediaType, MediaType valueMediaType) -
Uses of MediaType in org.infinispan.client.hotrod
Methods in org.infinispan.client.hotrod that return MediaTypeMethods in org.infinispan.client.hotrod with parameters of type MediaTypeModifier and TypeMethodDescription -
Uses of MediaType in org.infinispan.client.hotrod.impl
Methods in org.infinispan.client.hotrod.impl with parameters of type MediaTypeModifier and TypeMethodDescriptionMarshallerRegistry.getMarshaller
(MediaType mediaType) default void
InternalRemoteCache.resolveStorage
(MediaType key, MediaType value, boolean objectStorage) void
InvalidatedNearRemoteCache.resolveStorage
(MediaType key, MediaType value, boolean objectStorage) void
RemoteCacheImpl.resolveStorage
(MediaType key, MediaType value, boolean objectStorage) -
Uses of MediaType in org.infinispan.client.hotrod.logging
Methods in org.infinispan.client.hotrod.logging with parameters of type MediaTypeModifier and TypeMethodDescriptionvoid
Log.invalidateNearDefaultMarshallerMismatch
(String cacheName, Class<?> clazz, MediaType serverKeyType) void
Log.serverKeyTypeNotRecognized
(MediaType serverKeyType) -
Uses of MediaType in org.infinispan.client.hotrod.marshall
Methods in org.infinispan.client.hotrod.marshall that return MediaTypeModifier and TypeMethodDescriptionMediaTypeMarshaller.getKeyType()
The decided type for the key.MediaTypeMarshaller.getValueType()
The decided type for the values.BytesOnlyMarshaller.mediaType()
-
Uses of MediaType in org.infinispan.commons.configuration
Methods in org.infinispan.commons.configuration with parameters of type MediaTypeModifier and TypeMethodDescriptionBasicConfiguration.toStringConfiguration
(String name, MediaType mediaType, boolean clearTextSecrets) Converts this configuration to a string representation.StringConfiguration.toStringConfiguration
(String name, MediaType mediaType, boolean clearTextSecrets) -
Uses of MediaType in org.infinispan.commons.configuration.io
Methods in org.infinispan.commons.configuration.io with parameters of type MediaTypeModifier and TypeMethodDescription -
Uses of MediaType in org.infinispan.commons.dataconversion
Fields in org.infinispan.commons.dataconversion declared as MediaTypeModifier and TypeFieldDescriptionstatic final MediaType
MediaType.APPLICATION_INFINISPAN_BINARY
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0, will be removed in 14.0.static final MediaType
MediaType.APPLICATION_INFINISPAN_MARSHALLED
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0, will be removed with ISPN-9622static final MediaType
MediaType.APPLICATION_INFINISPAN_MARSHALLING
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0, will be removed with ISPN-9622static final MediaType
MediaType.APPLICATION_JAVASCRIPT
static final MediaType
MediaType.APPLICATION_JBOSS_MARSHALLING
static final MediaType
MediaType.APPLICATION_JSON
static final MediaType
MediaType.APPLICATION_KRYO
static final MediaType
MediaType.APPLICATION_OBJECT
static final MediaType
MediaType.APPLICATION_OCTET_STREAM
static final MediaType
MediaType.APPLICATION_OPENMETRICS
static final MediaType
MediaType.APPLICATION_PDF
static final MediaType
MediaType.APPLICATION_PROTOSTREAM
static final MediaType
MediaType.APPLICATION_PROTOSTUFF
static final MediaType
MediaType.APPLICATION_RTF
static final MediaType
MediaType.APPLICATION_SERIALIZED_OBJECT
static final MediaType
MediaType.APPLICATION_UNKNOWN
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0, without replacement.static final MediaType
MediaType.APPLICATION_WWW_FORM_URLENCODED
static final MediaType
MediaType.APPLICATION_XML
static final MediaType
MediaType.APPLICATION_YAML
static final MediaType
MediaType.APPLICATION_ZIP
static final MediaType
MediaType.IMAGE_GIF
static final MediaType
MediaType.IMAGE_JPEG
static final MediaType
MediaType.IMAGE_PNG
protected final MediaType
OneToManyTranscoder.mainType
static final MediaType
MediaType.MATCH_ALL
static final MediaType
MediaType.MULTIPART_FORM_DATA
static final MediaType
MediaType.TEXT_CSS
static final MediaType
MediaType.TEXT_CSV
static final MediaType
MediaType.TEXT_EVENT_STREAM
static final MediaType
MediaType.TEXT_HTML
static final MediaType
MediaType.TEXT_PLAIN
Fields in org.infinispan.commons.dataconversion with type parameters of type MediaTypeMethods in org.infinispan.commons.dataconversion that return MediaTypeModifier and TypeMethodDescriptionstatic MediaType
MediaType.fromExtension
(String name) static MediaType
MediaType.fromString
(String tree) static MediaType
MediaTypeIds.getMediaType
(Short id) Encoder.getStorageFormat()
Deprecated, for removal: This API element is subject to removal in a future version.Returns theMediaType
produced by this encoder or null if the storage format is not known.GlobalMarshallerEncoder.getStorageFormat()
Deprecated, for removal: This API element is subject to removal in a future version.IdentityEncoder.getStorageFormat()
Deprecated, for removal: This API element is subject to removal in a future version.JavaSerializationEncoder.getStorageFormat()
Deprecated, for removal: This API element is subject to removal in a future version.UTF8Encoder.getStorageFormat()
Deprecated, for removal: This API element is subject to removal in a future version.static MediaType
Deprecated, for removal: This API element is subject to removal in a future version.replaced byfromString(java.lang.String)
MediaType$___Marshaller_f2fc301543ca54d0326b5d8ce3b7199226a678253252e7ac46f1fad54bd90568.read
(org.infinispan.protostream.ProtobufTagMarshaller.ReadContext $1) MediaType.MediaTypeExternalizer.readObject
(ObjectInput input) MediaType.withCharset
(Charset charset) MediaType.withClassType
(Class<?> clazz) MediaType.withEncoding
(String enc) MediaType.withoutParameters()
MediaType.withParameter
(String name, String value) MediaType.withParameters
(Map<String, String> parameters) Methods in org.infinispan.commons.dataconversion that return types with arguments of type MediaTypeModifier and TypeMethodDescriptionMediaType$___Marshaller_f2fc301543ca54d0326b5d8ce3b7199226a678253252e7ac46f1fad54bd90568.getJavaClass()
DefaultTranscoder.getSupportedMediaTypes()
OneToManyTranscoder.getSupportedMediaTypes()
Transcoder.getSupportedMediaTypes()
Parse a comma separated list of media type trees.Methods in org.infinispan.commons.dataconversion with parameters of type MediaTypeModifier and TypeMethodDescriptionstatic byte[]
StandardConversions.convertJavaToOctetStream
(Object source, MediaType sourceMediaType, Marshaller marshaller) Deprecated, for removal: This API element is subject to removal in a future version.Since 13.0, with no replacement.static byte[]
StandardConversions.convertJavaToProtoStream
(Object source, MediaType sourceMediaType, org.infinispan.protostream.ImmutableSerializationContext ctx) Converts a java object to a sequence of bytes using a ProtoStreamImmutableSerializationContext
.static byte[]
StandardConversions.convertJavaToText
(Object source, MediaType sourceMediaType, MediaType destinationMediaType) Deprecated, for removal: This API element is subject to removal in a future version.Since 13.0 without replacement.static Object
StandardConversions.convertOctetStreamToJava
(byte[] source, MediaType destination, Marshaller marshaller) Deprecated, for removal: This API element is subject to removal in a future version.Since 13.0, without replacement.static byte[]
StandardConversions.convertOctetStreamToText
(byte[] source, MediaType destination) Deprecated, for removal: This API element is subject to removal in a future version.Since 13.0, without replacment.static Object
StandardConversions.convertOctetStreamToUrlEncoded
(Object content, MediaType contentType) Deprecated, for removal: This API element is subject to removal in a future version.Since 13.0 without replacement.static String
StandardConversions.convertTextToObject
(Object source, MediaType sourceType) Converts text content to the Java representation (String).static byte[]
StandardConversions.convertTextToOctetStream
(Object source, MediaType sourceType) Deprecated, for removal: This API element is subject to removal in a future version.Since 13.0, without replacement.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) Deprecated, for removal: This API element is subject to removal in a future version.Since 13.0, without replacement.DefaultTranscoder.convertToOctetStream
(Object content, MediaType contentType, MediaType destinationType) static Object
StandardConversions.convertUrlEncodedToText
(Object content, MediaType destinationType) Deprecated, for removal: This API element is subject to removal in a future version.Since 13.0 without replacement.protected Object
AbstractTranscoder.decodeContent
(Object content, MediaType contentType) Decodes content before doing the transcoding.static Object
StandardConversions.decodeObjectContent
(Object content, MediaType contentMediaType) Deprecated, for removal: This API element is subject to removal in a future version.Since 13.0, without replacement.static byte[]
StandardConversions.decodeOctetStream
(Object input, MediaType octetStream) Deprecated, for removal: This API element is subject to removal in a future version.Since 13.0, without replacement.protected abstract Object
AbstractTranscoder.doTranscode
(Object decoded, MediaType contentType, MediaType destinationType) BinaryTranscoder.doTranscode
(Object content, MediaType contentType, MediaType destinationType) Deprecated, for removal: This API element is subject to removal in a future version.DefaultTranscoder.doTranscode
(Object content, MediaType contentType, MediaType destinationType) TranscoderMarshallerAdapter.doTranscode
(Object content, MediaType contentType, MediaType destinationType) protected Object
AbstractTranscoder.encodeContent
(Object content, MediaType destinationType) Encode the content after transcoding if necessary.static Short
boolean
default boolean
boolean
DefaultTranscoder.supportsConversion
(MediaType mediaType, MediaType other) boolean
OneToManyTranscoder.supportsConversion
(MediaType mediaType, MediaType other) default boolean
Transcoder.supportsConversion
(MediaType mediaType, MediaType other) Transcodes content between two differentMediaType
.static String
Deprecated, for removal: This API element is subject to removal in a future version.Since 13.0 without replacement.void
MediaType$___Marshaller_f2fc301543ca54d0326b5d8ce3b7199226a678253252e7ac46f1fad54bd90568.write
(org.infinispan.protostream.ProtobufTagMarshaller.WriteContext $1, MediaType $2) void
MediaType.MediaTypeExternalizer.writeObject
(ObjectOutput output, MediaType mediaType) Constructors in org.infinispan.commons.dataconversion with parameters of type MediaTypeModifierConstructorDescriptionOneToManyTranscoder
(MediaType mainType, MediaType... supportedConversions) -
Uses of MediaType in org.infinispan.commons.marshall
Methods in org.infinispan.commons.marshall that return MediaType -
Uses of MediaType in org.infinispan.configuration.cache
Fields in org.infinispan.configuration.cache with type parameters of type MediaTypeModifier and TypeFieldDescriptionstatic final AttributeDefinition<MediaType>
ContentTypeConfiguration.MEDIA_TYPE
Methods in org.infinispan.configuration.cache that return MediaTypeModifier and TypeMethodDescriptionContentTypeConfiguration.mediaType()
ContentTypeConfigurationBuilder.mediaType()
Methods in org.infinispan.configuration.cache with parameters of type MediaTypeModifier and TypeMethodDescriptionConfiguration.toStringConfiguration
(String name, MediaType mediaType, boolean clearTextSecrets) -
Uses of MediaType in org.infinispan.configuration.parsing
Methods in org.infinispan.configuration.parsing with parameters of type MediaTypeModifier and TypeMethodDescriptionParserRegistry.parse
(InputStream is, ConfigurationResourceResolver resourceResolver, MediaType mediaType) Parses the suppliedInputStream
returning a newConfigurationBuilderHolder
ParserRegistry.parse
(InputStream is, MediaType mediaType) Parses the suppliedInputStream
returning a newConfigurationBuilderHolder
.ParserRegistry.parse
(InputStream is, ConfigurationBuilderHolder holder, ConfigurationResourceResolver resourceResolver, MediaType mediaType) -
Uses of MediaType in org.infinispan.encoding
Methods in org.infinispan.encoding that return MediaTypeModifier and TypeMethodDescriptionDataConversion.getRequestMediaType()
DataConversion.getStorageMediaType()
Methods in org.infinispan.encoding with parameters of type MediaTypeModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Since 11.0, with no replacement.DataConversion.convertToRequestFormat
(Object o, MediaType contentType) Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0, with no replacement.ProtostreamTranscoder.doTranscode
(Object content, MediaType contentType, MediaType destinationType) boolean
DataConversion.isConversionSupported
(MediaType mediaType) Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0, with no replacement.DataConversion.withRequestMediaType
(MediaType requestMediaType) -
Uses of MediaType in org.infinispan.encoding.impl
Methods in org.infinispan.encoding.impl that return MediaTypeModifier and TypeMethodDescriptionStorageConfigurationManager.getKeyStorageMediaType()
StorageConfigurationManager.getStorageMediaType
(boolean isKey) StorageConfigurationManager.getValueStorageMediaType()
Methods in org.infinispan.encoding.impl that return types with arguments of type MediaTypeMethods in org.infinispan.encoding.impl with parameters of type MediaTypeModifier and TypeMethodDescriptionTwoStepTranscoder.doTranscode
(Object content, MediaType contentType, MediaType destinationType) boolean
TwoStepTranscoder.supportsConversion
(MediaType mediaType, MediaType other) -
Uses of MediaType in org.infinispan.filter
Methods in org.infinispan.filter that return MediaType -
Uses of MediaType in org.infinispan.jboss.marshalling.commons
Methods in org.infinispan.jboss.marshalling.commons that return MediaType -
Uses of MediaType in org.infinispan.jboss.marshalling.dataconversion
Methods in org.infinispan.jboss.marshalling.dataconversion that return MediaTypeModifier and TypeMethodDescriptionGenericJbossMarshallerEncoder.getStorageFormat()
Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.infinispan.jboss.marshalling.dataconversion with parameters of type MediaTypeModifier and TypeMethodDescriptionJBossMarshallingTranscoder.doTranscode
(Object content, MediaType contentType, MediaType destinationType) -
Uses of MediaType in org.infinispan.marshall.core
Methods in org.infinispan.marshall.core that return MediaTypeMethods in org.infinispan.marshall.core with parameters of type MediaTypeModifier and TypeMethodDescriptionPerforms a data conversion.EncoderRegistry.getTranscoder
(MediaType type1, MediaType type2) Obtain an instance ofTranscoder
from the registry.EncoderRegistryImpl.getTranscoder
(MediaType mediaType, MediaType another) boolean
EncoderRegistry.isConversionSupported
(MediaType from, MediaType to) boolean
EncoderRegistryImpl.isConversionSupported
(MediaType from, MediaType to) -
Uses of MediaType in org.infinispan.notifications.cachelistener.filter
Methods in org.infinispan.notifications.cachelistener.filter that return MediaTypeModifier and TypeMethodDescriptiondefault MediaType
CacheEventConverter.format()
default MediaType
CacheEventFilter.format()
default MediaType
CacheEventFilterConverter.format()
KeyValueFilterConverterAsCacheEventFilterConverter.format()
Constructors in org.infinispan.notifications.cachelistener.filter with parameters of type MediaTypeModifierConstructorDescriptionKeyValueFilterConverterAsCacheEventFilterConverter
(KeyValueFilterConverter<K, V, C> keyValueFilterConverter, MediaType format) -
Uses of MediaType in org.infinispan.persistence.remote.logging
Methods in org.infinispan.persistence.remote.logging with parameters of type MediaTypeModifier and TypeMethodDescriptionLog.segmentationRequiresEqualMediaTypes
(MediaType cacheMediaType, MediaType serverMediaType) -
Uses of MediaType in org.infinispan.persistence.remote.upgrade
Methods in org.infinispan.persistence.remote.upgrade that return MediaType -
Uses of MediaType in org.infinispan.persistence.remote.wrapper
Methods in org.infinispan.persistence.remote.wrapper that return MediaType -
Uses of MediaType in org.infinispan.rest
Methods in org.infinispan.rest that return MediaTypeModifier and TypeMethodDescriptionNettyRestRequest.contentType()
NettyRestRequest.keyContentType()
Methods in org.infinispan.rest with parameters of type MediaType -
Uses of MediaType in org.infinispan.rest.framework
Methods in org.infinispan.rest.framework that return MediaType -
Uses of MediaType in org.infinispan.rest.framework.impl
Methods in org.infinispan.rest.framework.impl with parameters of type MediaTypeModifier and TypeMethodDescriptionRestResponseBuilder.contentType
(MediaType type) SimpleRestResponse.Builder.contentType
(MediaType type) -
Uses of MediaType in org.infinispan.rest.resources
Constructors in org.infinispan.rest.resources with parameters of type MediaTypeModifierConstructorDescriptionprotected
ConfigurationListener
(EmbeddedCacheManager cacheManager, MediaType mediaType, boolean includeCurrentState, boolean pretty) -
Uses of MediaType in org.infinispan.scripting.utils
Fields in org.infinispan.scripting.utils declared as MediaTypeModifier and TypeFieldDescriptionstatic final MediaType
ScriptConversions.APPLICATION_TEXT_STRING
Methods in org.infinispan.scripting.utils with parameters of type MediaTypeModifier and TypeMethodDescriptionScriptConversions.convertToRequestType
(Object obj, MediaType objType, MediaType requestType) -
Uses of MediaType in org.infinispan.security.impl
Methods in org.infinispan.security.impl with parameters of type MediaTypeModifier and TypeMethodDescription<K1,
V1> AdvancedCache<K1, V1> SecureCacheImpl.withMediaType
(MediaType keyMediaType, MediaType valueMediaType) -
Uses of MediaType in org.infinispan.server.core
Method parameters in org.infinispan.server.core with type arguments of type MediaTypeModifier and TypeMethodDescriptionCacheInfo.getCache
(KeyValuePair<MediaType, MediaType> mediaTypes, Subject subject) CacheInfo.getCache
(KeyValuePair<MediaType, MediaType> mediaTypes, Subject subject) -
Uses of MediaType in org.infinispan.server.core.dataconversion
Methods in org.infinispan.server.core.dataconversion with parameters of type MediaTypeModifier and TypeMethodDescriptionJsonTranscoder.doTranscode
(Object content, MediaType contentType, MediaType destinationType) XMLTranscoder.doTranscode
(Object content, MediaType contentType, MediaType destinationType) -
Uses of MediaType in org.infinispan.server.core.logging
Methods in org.infinispan.server.core.logging with parameters of type MediaType -
Uses of MediaType in org.infinispan.server.hotrod
Methods in org.infinispan.server.hotrod that return MediaTypeModifier and TypeMethodDescriptionHotRodHeader.getKeyMediaType()
HotRodHeader.getValueMediaType()
Constructors in org.infinispan.server.hotrod with parameters of type MediaTypeModifierConstructorDescriptionHotRodHeader
(HotRodOperation op, byte version, long messageId, String cacheName, int flag, short clientIntel, int topologyId, MediaType keyType, MediaType valueType, Map<String, byte[]> otherParams) -
Uses of MediaType in org.infinispan.server.hotrod.iteration
Methods in org.infinispan.server.hotrod.iteration with parameters of type MediaTypeModifier and TypeMethodDescriptionDefaultIterationManager.start
(AdvancedCache cache, BitSet segments, String filterConverterFactory, List<byte[]> filterConverterParams, MediaType requestValueType, int batch, boolean metadata) IterationManager.start
(AdvancedCache cache, BitSet segments, String filterConverterFactory, List<byte[]> filterConverterParams, MediaType valueMediaType, int batch, boolean metadata) Constructors in org.infinispan.server.hotrod.iteration with parameters of type MediaTypeModifierConstructorDescriptionIterationFilter
(MediaType storageMediaType, MediaType requestType, Optional<KeyValueFilterConverter<K, V, C>> providedFilter) -
Uses of MediaType in org.infinispan.server.memcached
Constructors in org.infinispan.server.memcached with parameters of type MediaTypeModifierConstructorDescriptionMemcachedDecoder
(AdvancedCache<byte[], byte[]> memcachedCache, ScheduledExecutorService scheduler, NettyTransport transport, Predicate<? super String> ignoreCache, MediaType valuePayload) -
Uses of MediaType in org.infinispan.server.memcached.configuration
Fields in org.infinispan.server.memcached.configuration with type parameters of type MediaTypeModifier and TypeFieldDescriptionstatic final AttributeDefinition<MediaType>
MemcachedServerConfiguration.CLIENT_ENCODING
Methods in org.infinispan.server.memcached.configuration that return MediaTypeMethods in org.infinispan.server.memcached.configuration with parameters of type MediaTypeModifier and TypeMethodDescriptionMemcachedServerConfigurationBuilder.clientEncoding
(MediaType payloadType) The encoding to be used by clients of the memcached text protocol.