Uses of Class
org.infinispan.commons.dataconversion.MediaType
-
-
Uses of MediaType in org.infinispan.commons.dataconversion
Fields in org.infinispan.commons.dataconversion with type parameters of type MediaType Modifier and Type Field Description protected Set<MediaType>
OneToManyTranscoder. supportedTypes
Methods in org.infinispan.commons.dataconversion that return MediaType Modifier and Type Method Description static MediaType
MediaType. fromString(String mediaType)
static MediaType
MediaTypeIds. getMediaType(Short id)
MediaType
BinaryEncoder. getStorageFormat()
MediaType
Encoder. getStorageFormat()
Returns theMediaType
produced by this encoder or null if the storage format is not known.MediaType
GenericJbossMarshallerEncoder. getStorageFormat()
MediaType
GlobalMarshallerEncoder. getStorageFormat()
MediaType
IdentityEncoder. getStorageFormat()
MediaType
JavaSerializationEncoder. getStorageFormat()
MediaType
UTF8Encoder. getStorageFormat()
static MediaType
MediaType. parse(String str)
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)
Methods in org.infinispan.commons.dataconversion that return types with arguments of type MediaType Modifier and Type Method Description Set<MediaType>
DefaultTranscoder. getSupportedMediaTypes()
Set<MediaType>
OneToManyTranscoder. getSupportedMediaTypes()
Set<MediaType>
Transcoder. getSupportedMediaTypes()
static Stream<MediaType>
MediaType. parseList(String mediaTypeList)
Methods in org.infinispan.commons.dataconversion with parameters of type MediaType Modifier and Type Method 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. 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 objectstatic 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
DefaultTranscoder. transcode(Object content, MediaType contentType, MediaType destinationType)
Object
Transcoder. transcode(Object content, MediaType contentType, MediaType destinationType)
Transcodes content between two differentMediaType
.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)
Constructors in org.infinispan.commons.dataconversion with parameters of type MediaType Constructor Description OneToManyTranscoder(MediaType mainType, MediaType... supportedConversions)
-
Uses of MediaType in org.infinispan.commons.marshall
Methods in org.infinispan.commons.marshall that return MediaType Modifier and Type Method Description MediaType
IdentityMarshaller. mediaType()
MediaType
JavaSerializationMarshaller. mediaType()
MediaType
Marshaller. mediaType()
MediaType
StringMarshaller. mediaType()
MediaType
UTF8StringMarshaller. mediaType()
-
Uses of MediaType in org.infinispan.commons.marshall.jboss
Methods in org.infinispan.commons.marshall.jboss that return MediaType Modifier and Type Method Description MediaType
AbstractJBossMarshaller. mediaType()
-
Uses of MediaType in org.infinispan.configuration.cache
Methods in org.infinispan.configuration.cache that return MediaType Modifier and Type Method Description MediaType
ContentTypeConfiguration. mediaType()
Methods in org.infinispan.configuration.cache with parameters of type MediaType Modifier and Type Method Description void
ContentTypeConfiguration. mediaType(MediaType mediaType)
-
Uses of MediaType in org.infinispan.encoding
Methods in org.infinispan.encoding that return MediaType Modifier and Type Method Description MediaType
DataConversion. getRequestMediaType()
MediaType
DataConversion. getStorageMediaType()
Methods in org.infinispan.encoding with parameters of type MediaType Modifier and Type Method Description Object
DataConversion. convert(Object o, MediaType from, MediaType to)
Object
DataConversion. convertToRequestFormat(Object o, MediaType contentType)
boolean
DataConversion. isConversionSupported(MediaType mediaType)
static DataConversion
DataConversion. newKeyDataConversion(Class<? extends Encoder> encoderClass, Class<? extends Wrapper> wrapperClass, MediaType storageType)
static DataConversion
DataConversion. newValueDataConversion(Class<? extends Encoder> encoderClass, Class<? extends Wrapper> wrapperClass, MediaType storageType)
DataConversion
DataConversion. withRequestMediaType(MediaType requestMediaType)
-
Uses of MediaType in org.infinispan.filter
Methods in org.infinispan.filter that return MediaType Modifier and Type Method Description default MediaType
KeyValueFilter. format()
-
Uses of MediaType in org.infinispan.marshall.core
Methods in org.infinispan.marshall.core that return MediaType Modifier and Type Method Description MediaType
GlobalMarshaller. mediaType()
Methods in org.infinispan.marshall.core with parameters of type MediaType Modifier and Type Method Description Transcoder
EncoderRegistry. getTranscoder(MediaType type1, MediaType type2)
Obtain an instance ofTranscoder
from the registry.Transcoder
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 MediaType Modifier and Type Method Description default MediaType
CacheEventConverter. format()
default MediaType
CacheEventFilter. format()
default MediaType
CacheEventFilterConverter. format()
-
Uses of MediaType in org.infinispan.persistence.remote.upgrade
Methods in org.infinispan.persistence.remote.upgrade that return MediaType Modifier and Type Method Description MediaType
RemovedFilter. format()
-
Uses of MediaType in org.infinispan.persistence.remote.wrapper
Methods in org.infinispan.persistence.remote.wrapper that return MediaType Modifier and Type Method Description MediaType
HotRodEntryMarshaller. mediaType()
-
Uses of MediaType in org.infinispan.query.remote.client
Methods in org.infinispan.query.remote.client that return MediaType Modifier and Type Method Description MediaType
BaseProtoStreamMarshaller. mediaType()
-
Uses of MediaType in org.infinispan.rest
Methods in org.infinispan.rest that return MediaType Modifier and Type Method Description MediaType
InfinispanRequest. getKeyContentType()
-
Uses of MediaType in org.infinispan.rest.cachemanager
Methods in org.infinispan.rest.cachemanager that return MediaType Modifier and Type Method Description MediaType
RestCacheManager. getValueConfiguredFormat(String cacheName)
Methods in org.infinispan.rest.cachemanager with parameters of type MediaType Modifier and Type Method Description AdvancedCache<Object,V>
RestCacheManager. getCache(String name, MediaType keyContentType, MediaType valueContentType, Subject subject)
CacheEntry<Object,V>
RestCacheManager. getInternalEntry(String cacheName, Object key, boolean skipListener, MediaType keyContentType, MediaType mediaType, Subject subject)
CacheEntry<Object,V>
RestCacheManager. getInternalEntry(String cacheName, Object key, MediaType keyContentType, MediaType mediaType, Subject subject)
void
RestCacheManager. remove(String cacheName, Object key, MediaType keyContentType, boolean async, Subject subject)
-
Uses of MediaType in org.infinispan.rest.operations.mediatypes
Methods in org.infinispan.rest.operations.mediatypes with parameters of type MediaType Modifier and Type Method Description static OutputPrinter
EntrySetFormatter. forMediaType(MediaType mediaType)
-
Uses of MediaType in org.infinispan.scripting.utils
Fields in org.infinispan.scripting.utils declared as MediaType Modifier and Type Field Description static MediaType
ScriptConversions. APPLICATION_TEXT_STRING
Methods in org.infinispan.scripting.utils with parameters of type MediaType Modifier and Type Method Description Object
ScriptConversions. convertToRequestType(Object obj, MediaType objType, MediaType requestType)
-
Uses of MediaType in org.infinispan.server.core.dataconversion
Methods in org.infinispan.server.core.dataconversion with parameters of type MediaType Modifier and Type Method Description Object
JBossMarshallingTranscoder. transcode(Object content, MediaType contentType, MediaType destinationType)
Object
JsonTranscoder. transcode(Object content, MediaType contentType, MediaType destinationType)
Object
XMLTranscoder. transcode(Object content, MediaType contentType, MediaType destinationType)
-
Uses of MediaType in org.infinispan.server.hotrod
Methods in org.infinispan.server.hotrod that return MediaType Modifier and Type Method Description MediaType
HotRodHeader. getKeyMediaType()
MediaType
HotRodHeader. getValueMediaType()
Constructors in org.infinispan.server.hotrod with parameters of type MediaType Constructor Description HotRodHeader(HotRodOperation op, byte version, long messageId, String cacheName, int flag, short clientIntel, int topologyId, MediaType keyType, MediaType valueType)
-
Uses of MediaType in org.infinispan.server.hotrod.iteration
Methods in org.infinispan.server.hotrod.iteration with parameters of type MediaType Modifier and Type Method Description IterationState
DefaultIterationManager. start(Cache cache, BitSet segments, String filterConverterFactory, List<byte[]> filterConverterParams, MediaType requestValueType, int batch, boolean metadata)
IterationState
IterationManager. start(Cache 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 MediaType Constructor Description IterationFilter(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 MediaType Constructor Description MemcachedDecoder(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 MediaType Modifier and Type Field Description static AttributeDefinition<MediaType>
MemcachedServerConfiguration. CLIENT_ENCODING
Methods in org.infinispan.server.memcached.configuration that return MediaType Modifier and Type Method Description MediaType
MemcachedServerConfiguration. clientEncoding()
Methods in org.infinispan.server.memcached.configuration with parameters of type MediaType Modifier and Type Method Description MemcachedServerConfigurationBuilder
MemcachedServerConfigurationBuilder. clientEncoding(MediaType payloadType)
The encoding to be used by clients of the memcached text protocol.
-