Class ContentTypeInfo
- java.lang.Object
-
- org.apache.axis2.transport.jms.ctype.ContentTypeInfo
-
public class ContentTypeInfo extends Object
Class encapsulating the content type information for a given message.
-
-
Constructor Summary
Constructors Constructor Description ContentTypeInfo(String propertyName, String contentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
Get the content type of the message.String
getPropertyName()
Get the name of the message property from which the content type has been extracted.
-
-
-
Method Detail
-
getPropertyName
public String getPropertyName()
Get the name of the message property from which the content type has been extracted.- Returns:
- the property name or null if the content type was not determined by extracting it from a message property
-
getContentType
public String getContentType()
Get the content type of the message.- Returns:
- The content type of the message. The return value is never null.
-
-