Uses of Class
org.infinispan.commons.dataconversion.MediaType
-
Packages that use MediaType Package Description org.infinispan.client.hotrod Hot Rod client API.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.commons.marshall.jboss Hooks to bridge Infinispan's marshalling APIs with JBoss Marshalling internals.org.infinispan.query.remote.client Query client support classes. -
-
Uses of MediaType in org.infinispan.client.hotrod
Methods in org.infinispan.client.hotrod that return MediaType Modifier and Type Method Description MediaTypeDataFormat. getKeyType()MediaTypeDataFormat. getValueType()Methods in org.infinispan.client.hotrod with parameters of type MediaType Modifier and Type Method Description DataFormat.BuilderDataFormat.Builder. keyType(MediaType keyType)DataFormat.BuilderDataFormat.Builder. valueType(MediaType valueType) -
Uses of MediaType in org.infinispan.client.hotrod.marshall
Methods in org.infinispan.client.hotrod.marshall that return MediaType Modifier and Type Method Description MediaTypeBytesOnlyJBossLikeMarshaller. mediaType()MediaTypeBytesOnlyMarshaller. 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 java.util.Set<MediaType>OneToManyTranscoder. supportedTypesMethods in org.infinispan.commons.dataconversion that return MediaType Modifier and Type Method Description static MediaTypeMediaType. fromString(java.lang.String mediaType)static MediaTypeMediaTypeIds. getMediaType(java.lang.Short id)MediaTypeBinaryEncoder. getStorageFormat()MediaTypeEncoder. getStorageFormat()Returns theMediaTypeproduced by this encoder or null if the storage format is not known.MediaTypeGenericJbossMarshallerEncoder. getStorageFormat()MediaTypeGlobalMarshallerEncoder. getStorageFormat()MediaTypeIdentityEncoder. getStorageFormat()MediaTypeJavaSerializationEncoder. getStorageFormat()MediaTypeUTF8Encoder. getStorageFormat()static MediaTypeMediaType. parse(java.lang.String str)MediaTypeMediaType.MediaTypeExternalizer. readObject(java.io.ObjectInput input)MediaTypeMediaType. withCharset(java.nio.charset.Charset charset)MediaTypeMediaType. withClassType(java.lang.Class<?> clazz)MediaTypeMediaType. withoutParameters()MediaTypeMediaType. withParameter(java.lang.String name, java.lang.String value)MediaTypeMediaType. withParameters(java.util.Map<java.lang.String,java.lang.String> parameters)Methods in org.infinispan.commons.dataconversion that return types with arguments of type MediaType Modifier and Type Method Description java.util.Set<MediaType>DefaultTranscoder. getSupportedMediaTypes()java.util.Set<MediaType>OneToManyTranscoder. getSupportedMediaTypes()java.util.Set<MediaType>Transcoder. getSupportedMediaTypes()static java.util.stream.Stream<MediaType>MediaType. parseList(java.lang.String mediaTypeList)Methods in org.infinispan.commons.dataconversion with parameters of type MediaType Modifier and Type Method Description static byte[]StandardConversions. convertJavaToOctetStream(java.lang.Object source, MediaType sourceMediaType, Marshaller marshaller)Converts a java object to a sequence of bytes applying standard java serialization.static byte[]StandardConversions. convertJavaToText(java.lang.Object source, MediaType sourceMediaType, MediaType destinationMediaType)Converts a java object to a text/plain representation.static java.lang.ObjectStandardConversions. 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 java.lang.ObjectStandardConversions. convertOctetStreamToUrlEncoded(java.lang.Object content, MediaType contentType)static java.lang.StringStandardConversions. convertTextToObject(java.lang.Object source, MediaType sourceType)Converts text content to the Java representation (String).static byte[]StandardConversions. convertTextToOctetStream(java.lang.Object source, MediaType sourceType)Converts text content to binary.static java.lang.ObjectStandardConversions. convertTextToText(java.lang.Object source, MediaType sourceType, MediaType destinationType)Convert text content to a different encoding.static java.lang.StringStandardConversions. convertTextToUrlEncoded(java.lang.Object source, MediaType sourceType)Convert text format to a URL safe format.java.lang.ObjectDefaultTranscoder. convertToOctetStream(java.lang.Object content, MediaType contentType, MediaType destinationType)static java.lang.ObjectStandardConversions. convertUrlEncodedToText(java.lang.Object content, MediaType destinationType)static java.lang.ObjectStandardConversions. decodeObjectContent(java.lang.Object content, MediaType contentMediaType)Decode UTF-8 as a java object.static byte[]StandardConversions. decodeOctetStream(java.lang.Object input, MediaType octetStream)Decode a octet-stream content that is not a byte[].static java.lang.ShortMediaTypeIds. getId(MediaType mediaType)booleanMediaType. match(MediaType other)default booleanTranscoder. supports(MediaType mediaType)booleanDefaultTranscoder. supportsConversion(MediaType mediaType, MediaType other)booleanOneToManyTranscoder. supportsConversion(MediaType mediaType, MediaType other)default booleanTranscoder. supportsConversion(MediaType mediaType, MediaType other)java.lang.ObjectDefaultTranscoder. transcode(java.lang.Object content, MediaType contentType, MediaType destinationType)java.lang.ObjectTranscoder. transcode(java.lang.Object content, MediaType contentType, MediaType destinationType)Transcodes content between two differentMediaType.java.lang.ObjectTranscoderMarshallerAdapter. transcode(java.lang.Object content, MediaType contentType, MediaType destinationType)static java.lang.StringStandardConversions. urlEncode(java.lang.Object content, MediaType mediaType)voidMediaType.MediaTypeExternalizer. writeObject(java.io.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.logging
Methods in org.infinispan.commons.logging with parameters of type MediaType Modifier and Type Method Description EncodingExceptionLog_$logger. errorEncoding(java.lang.Object content, MediaType mediaType)EncodingExceptionLog. errorEncoding(java.lang.Object content, MediaType mediaType) -
Uses of MediaType in org.infinispan.commons.marshall
Methods in org.infinispan.commons.marshall that return MediaType Modifier and Type Method Description MediaTypeIdentityMarshaller. mediaType()MediaTypeJavaSerializationMarshaller. mediaType()MediaTypeMarshaller. mediaType()MediaTypeStringMarshaller. mediaType()MediaTypeUTF8StringMarshaller. 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 MediaTypeAbstractJBossMarshaller. 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 MediaTypeBaseProtoStreamMarshaller. mediaType()
-