|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.transport.jms.ctype.DefaultRule
public class DefaultRule
Content type rule that always matches and that returns a fixed (default) content type.
Constructor Summary | |
---|---|
DefaultRule(java.lang.String contentType)
|
Method Summary | |
---|---|
ContentTypeInfo |
getContentType(javax.jms.Message message)
Attempt to determine the content type of the given JMS message. |
java.lang.String |
getExpectedContentTypeProperty()
Get the name of the message property used to extract the content type from, if applicable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRule(java.lang.String contentType)
Method Detail |
---|
public ContentTypeInfo getContentType(javax.jms.Message message)
ContentTypeRule
getContentType
in interface ContentTypeRule
message
- the message
public java.lang.String getExpectedContentTypeProperty()
ContentTypeRule
getExpectedContentTypeProperty
in interface ContentTypeRule
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |