public class AttachmentWrapper
extends org.apache.camel.impl.DefaultAttachment
| Constructor and Description |
|---|
AttachmentWrapper(DataHandler dh) |
AttachmentWrapper(DataSource ds) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String headerName,
String headerValue) |
DataHandler |
getDataHandler() |
String |
getHeader(String name) |
List<String> |
getHeaderAsList(String name) |
Collection<String> |
getHeaderNames() |
void |
removeHeader(String headerName) |
void |
setHeader(String headerName,
String headerValue) |
public AttachmentWrapper(DataHandler dh)
public AttachmentWrapper(DataSource ds)
public DataHandler getDataHandler()
getDataHandler in interface org.apache.camel.AttachmentgetDataHandler in class org.apache.camel.impl.DefaultAttachmentpublic String getHeader(String name)
getHeader in interface org.apache.camel.AttachmentgetHeader in class org.apache.camel.impl.DefaultAttachmentpublic List<String> getHeaderAsList(String name)
getHeaderAsList in interface org.apache.camel.AttachmentgetHeaderAsList in class org.apache.camel.impl.DefaultAttachmentpublic void addHeader(String headerName, String headerValue)
addHeader in interface org.apache.camel.AttachmentaddHeader in class org.apache.camel.impl.DefaultAttachmentpublic void setHeader(String headerName, String headerValue)
setHeader in interface org.apache.camel.AttachmentsetHeader in class org.apache.camel.impl.DefaultAttachmentpublic void removeHeader(String headerName)
removeHeader in interface org.apache.camel.AttachmentremoveHeader in class org.apache.camel.impl.DefaultAttachmentpublic Collection<String> getHeaderNames()
getHeaderNames in interface org.apache.camel.AttachmentgetHeaderNames in class org.apache.camel.impl.DefaultAttachmentCopyright © 2020 SAP. All Rights Reserved.