Class SerializableToJavaObjectStream
- java.lang.Object
-
- org.apache.qpid.server.message.mimecontentconverter.SerializableToJavaObjectStream
-
- All Implemented Interfaces:
ObjectToMimeContentConverter<java.io.Serializable>
,Pluggable
public class SerializableToJavaObjectStream extends java.lang.Object implements ObjectToMimeContentConverter<java.io.Serializable>
-
-
Constructor Summary
Constructors Constructor Description SerializableToJavaObjectStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMimeType()
java.lang.Class<java.io.Serializable>
getObjectClass()
int
getRank()
A converter with a higher rank value takes priority over those with lower values.java.lang.String
getType()
boolean
isAcceptable(java.io.Serializable object)
byte[]
toMimeContent(java.io.Serializable object)
-
-
-
Method Detail
-
getMimeType
public java.lang.String getMimeType()
- Specified by:
getMimeType
in interfaceObjectToMimeContentConverter<java.io.Serializable>
-
getObjectClass
public java.lang.Class<java.io.Serializable> getObjectClass()
- Specified by:
getObjectClass
in interfaceObjectToMimeContentConverter<java.io.Serializable>
-
getRank
public int getRank()
Description copied from interface:ObjectToMimeContentConverter
A converter with a higher rank value takes priority over those with lower values.- Specified by:
getRank
in interfaceObjectToMimeContentConverter<java.io.Serializable>
-
isAcceptable
public boolean isAcceptable(java.io.Serializable object)
- Specified by:
isAcceptable
in interfaceObjectToMimeContentConverter<java.io.Serializable>
-
toMimeContent
public byte[] toMimeContent(java.io.Serializable object)
- Specified by:
toMimeContent
in interfaceObjectToMimeContentConverter<java.io.Serializable>
-
-