Uses of Class
org.infinispan.commons.dataconversion.MediaType
Packages that use MediaType
Package
Description
Commons Configuration package
Provides Infinispan-specific input and output streams, buffers and related utilities.
-
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 MediaTypeMediaType.APPLICATION_INFINISPAN_BINARYDeprecated, for removal: This API element is subject to removal in a future version.Since 11.0, will be removed in 14.0.static final MediaTypeMediaType.APPLICATION_INFINISPAN_MARSHALLEDDeprecated, for removal: This API element is subject to removal in a future version.Since 11.0, will be removed with ISPN-9622static final MediaTypeMediaType.APPLICATION_INFINISPAN_MARSHALLINGDeprecated, for removal: This API element is subject to removal in a future version.Since 11.0, will be removed with ISPN-9622static final MediaTypeMediaType.APPLICATION_JAVASCRIPTstatic final MediaTypeMediaType.APPLICATION_JBOSS_MARSHALLINGstatic final MediaTypeMediaType.APPLICATION_JSONstatic final MediaTypeMediaType.APPLICATION_KRYOstatic final MediaTypeMediaType.APPLICATION_OBJECTstatic final MediaTypeMediaType.APPLICATION_OCTET_STREAMstatic final MediaTypeMediaType.APPLICATION_OPENMETRICSstatic final MediaTypeMediaType.APPLICATION_PDFstatic final MediaTypeMediaType.APPLICATION_PROTOSTREAMstatic final MediaTypeMediaType.APPLICATION_PROTOSTUFFstatic final MediaTypeMediaType.APPLICATION_RTFstatic final MediaTypeMediaType.APPLICATION_SERIALIZED_OBJECTstatic final MediaTypeMediaType.APPLICATION_UNKNOWNDeprecated, for removal: This API element is subject to removal in a future version.Since 11.0, without replacement.static final MediaTypeMediaType.APPLICATION_WWW_FORM_URLENCODEDstatic final MediaTypeMediaType.APPLICATION_XMLstatic final MediaTypeMediaType.APPLICATION_YAMLstatic final MediaTypeMediaType.APPLICATION_ZIPstatic final MediaTypeMediaType.IMAGE_GIFstatic final MediaTypeMediaType.IMAGE_JPEGstatic final MediaTypeMediaType.IMAGE_PNGprotected final MediaTypeOneToManyTranscoder.mainTypestatic final MediaTypeMediaType.MATCH_ALLstatic final MediaTypeMediaType.MULTIPART_FORM_DATAstatic final MediaTypeMediaType.TEXT_CSSstatic final MediaTypeMediaType.TEXT_CSVstatic final MediaTypeMediaType.TEXT_EVENT_STREAMstatic final MediaTypeMediaType.TEXT_HTMLstatic final MediaTypeMediaType.TEXT_PLAINFields in org.infinispan.commons.dataconversion with type parameters of type MediaTypeMethods in org.infinispan.commons.dataconversion that return MediaTypeModifier and TypeMethodDescriptionstatic MediaTypeMediaType.fromExtension(String name) static MediaTypeMediaType.fromString(String tree) static MediaTypeMediaTypeIds.getMediaType(Short id) Encoder.getStorageFormat()Deprecated, for removal: This API element is subject to removal in a future version.Returns theMediaTypeproduced 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 MediaTypeDeprecated, 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 ObjectStandardConversions.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 ObjectStandardConversions.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 StringStandardConversions.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 ObjectStandardConversions.convertTextToText(Object source, MediaType sourceType, MediaType destinationType) Convert text content to a different encoding.static StringStandardConversions.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 ObjectStandardConversions.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 ObjectAbstractTranscoder.decodeContent(Object content, MediaType contentType) Decodes content before doing the transcoding.static ObjectStandardConversions.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 ObjectAbstractTranscoder.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 ObjectAbstractTranscoder.encodeContent(Object content, MediaType destinationType) Encode the content after transcoding if necessary.static Shortbooleandefault booleanbooleanDefaultTranscoder.supportsConversion(MediaType mediaType, MediaType other) booleanOneToManyTranscoder.supportsConversion(MediaType mediaType, MediaType other) default booleanTranscoder.supportsConversion(MediaType mediaType, MediaType other) Transcodes content between two differentMediaType.static StringDeprecated, for removal: This API element is subject to removal in a future version.Since 13.0 without replacement.voidMediaType$___Marshaller_f2fc301543ca54d0326b5d8ce3b7199226a678253252e7ac46f1fad54bd90568.write(org.infinispan.protostream.ProtobufTagMarshaller.WriteContext $1, MediaType $2) voidMediaType.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.logging
Methods in org.infinispan.commons.logging with parameters of type MediaTypeModifier and TypeMethodDescriptionfinal EncodingExceptionLog_$logger.errorEncoding(Object content, MediaType mediaType) Log.errorEncoding(Object content, MediaType mediaType) final EncodingExceptionLog_$logger.errorTranscoding(String content, MediaType contentType, MediaType requestType, Throwable t) Log.errorTranscoding(String content, MediaType contentType, MediaType requestType, Throwable t) final EncodingExceptionLog_$logger.unsupportedConversion(String content, MediaType requestType) final EncodingExceptionLog_$logger.unsupportedConversion(String content, MediaType contentType, MediaType requestType) Log.unsupportedConversion(String content, MediaType requestType) Log.unsupportedConversion(String content, MediaType contentType, MediaType requestType) -
Uses of MediaType in org.infinispan.commons.marshall
Methods in org.infinispan.commons.marshall that return MediaType