Interface EncoderRegistry
- All Superinterfaces:
org.infinispan.marshall.core.EncoderRegistry
- All Known Implementing Classes:
DefaultEncoderRegistry
public interface EncoderRegistry
extends org.infinispan.marshall.core.EncoderRegistry
Extends Infinispan's
EncoderRegistry adding the ability to unregister transcoders.- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault Objectconvert(Object object, org.infinispan.commons.dataconversion.MediaType fromType, org.infinispan.commons.dataconversion.MediaType toType) voidunregisterTranscoder(org.infinispan.commons.dataconversion.MediaType type) Unregisters the transcoding support for the specified media type.Methods inherited from interface org.infinispan.marshall.core.EncoderRegistry
getTranscoder, getTranscoder, isConversionSupported, registerTranscoder
-
Method Details
-
unregisterTranscoder
void unregisterTranscoder(org.infinispan.commons.dataconversion.MediaType type) Unregisters the transcoding support for the specified media type.- Parameters:
type- a media type
-
convert
-