|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object magoffin.matt.ma2.web.service.AxiomSoapMessageFactory
public class AxiomSoapMessageFactory
This is a tweak of Spring-WS 1.0.2 to allow for setting the Axiom Attachment file cache settings. See http://opensource.atlassian.com/projects/spring/browse/SWS-246
Constructor Summary | |
---|---|
AxiomSoapMessageFactory()
Default constructor. |
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
org.springframework.ws.WebServiceMessage |
createWebServiceMessage()
|
org.springframework.ws.WebServiceMessage |
createWebServiceMessage(java.io.InputStream inputStream)
|
protected java.lang.String |
getCharSetEncoding(java.lang.String contentType)
Returns the character set from the given content type. |
void |
setAttachmentFileCaching(boolean attachmentFileCaching)
Indicate whether SOAP attachments should make use of file caching. |
void |
setPayloadCaching(boolean payloadCaching)
Indicates whether the SOAP Body payload should be cached or not. |
void |
setSoapVersion(org.springframework.ws.soap.SoapVersion version)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AxiomSoapMessageFactory()
Method Detail |
---|
public void setPayloadCaching(boolean payloadCaching)
true
. Setting this to
false
will increase performance, but also result in the fact that the message payload can only be
read once.
payloadCaching
- the payloadCaching to setpublic void setAttachmentFileCaching(boolean attachmentFileCaching)
attachmentFileCaching
- the attachmentFileCaching to setpublic void setSoapVersion(org.springframework.ws.soap.SoapVersion version)
setSoapVersion
in interface org.springframework.ws.soap.SoapMessageFactory
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public org.springframework.ws.WebServiceMessage createWebServiceMessage()
createWebServiceMessage
in interface org.springframework.ws.WebServiceMessageFactory
public org.springframework.ws.WebServiceMessage createWebServiceMessage(java.io.InputStream inputStream) throws java.io.IOException
createWebServiceMessage
in interface org.springframework.ws.WebServiceMessageFactory
java.io.IOException
protected java.lang.String getCharSetEncoding(java.lang.String contentType)
contentType
-
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |