|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecmimpl.cmis.wshandler.OwCMISContentHandler
public class OwCMISContentHandler
Default content handler. A SOAPHandler which will create a SOAP-Message, where content is provided as SOAP-Attachment (http://www.w3.org/TR/SOAP-attachments). The SOAP-Attachment is defined as XOP http://www.w3.org/2004/08/xop/include element.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Field Summary | |
---|---|
static String |
SYS_PROP_OWD_CMIS_SKIPMETROSOAPATTACHMENTFIX
Set this system property to true if you want to skip using the Big SOAP Attachment workaround. |
Constructor Summary | |
---|---|
OwCMISContentHandler()
|
Method Summary | |
---|---|
void |
close(MessageContext msgCtx_p)
|
Set<QName> |
getHeaders()
|
protected String |
getMethods()
Return all method names where the content is provided. |
boolean |
handleFault(SOAPMessageContext msgCtx_p)
|
boolean |
handleMessage(SOAPMessageContext msgCtx_p)
Workaround for OutOfMemoryError when sending big Attachments with Metro JAX-WS RI. |
static boolean |
isSkipMetroSOAPAttachmentFix()
|
protected boolean |
processContent(SOAPMessageContext msgCtx_p)
Method which check if a content processing is needed for that call. |
static void |
setAttachmentToContext(org.oasis_open.docs.ns.cmis.messaging._200908.CmisContentStreamType content_p,
BindingProvider bindingProvider)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SYS_PROP_OWD_CMIS_SKIPMETROSOAPATTACHMENTFIX
handleMessage(SOAPMessageContext)
Constructor Detail |
---|
public OwCMISContentHandler()
Method Detail |
---|
public static boolean isSkipMetroSOAPAttachmentFix()
public Set<QName> getHeaders()
getHeaders
in interface SOAPHandler<SOAPMessageContext>
public void close(MessageContext msgCtx_p)
close
in interface Handler<SOAPMessageContext>
public boolean handleFault(SOAPMessageContext msgCtx_p)
handleFault
in interface Handler<SOAPMessageContext>
public boolean handleMessage(SOAPMessageContext msgCtx_p)
handleMessage
in interface Handler<SOAPMessageContext>
protected String getMethods()
protected boolean processContent(SOAPMessageContext msgCtx_p) throws SOAPException
msgCtx_p
- SOAPMessageContext current context
SOAPException
public static void setAttachmentToContext(org.oasis_open.docs.ns.cmis.messaging._200908.CmisContentStreamType content_p, BindingProvider bindingProvider)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |