|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.ws.WebServiceFeature
com.sun.xml.ws.developer.StreamingAttachmentFeature
@ManagedData public final class StreamingAttachmentFeature
Proxy needs to be created with this feature to configure StreamingAttachment attachments behaviour.
for e.g.: To configure all StreamingAttachment attachments to be kept in memoryStreamingAttachmentFeature feature = new StreamingAttachmentFeature(); feature.setAllMemory(true); proxy = HelloService().getHelloPort(feature);
| Field Summary | |
|---|---|
static java.lang.String |
ID
Constant value identifying the StreamingAttachment feature. |
| Fields inherited from class javax.xml.ws.WebServiceFeature |
|---|
enabled |
| Constructor Summary | |
|---|---|
StreamingAttachmentFeature()
|
|
StreamingAttachmentFeature(java.lang.String dir,
boolean parseEagerly,
long memoryThreshold)
|
|
| Method Summary | |
|---|---|
org.jvnet.mimepull.MIMEConfig |
getConfig()
Returns the configuration object. |
java.lang.String |
getID()
|
void |
setDir(java.lang.String dir)
Directory in which large attachments are stored |
void |
setMemoryThreshold(long memoryThreshold)
After this threshold(no of bytes), large attachments are written to file system |
void |
setParseEagerly(boolean parseEagerly)
StreamingAttachment message is parsed eagerly |
| Methods inherited from class javax.xml.ws.WebServiceFeature |
|---|
isEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ID
StreamingAttachment feature.
| Constructor Detail |
|---|
public StreamingAttachmentFeature()
public StreamingAttachmentFeature(@Nullable
java.lang.String dir,
boolean parseEagerly,
long memoryThreshold)
| Method Detail |
|---|
@ManagedAttribute public java.lang.String getID()
getID in class javax.xml.ws.WebServiceFeature@ManagedAttribute public org.jvnet.mimepull.MIMEConfig getConfig()
public void setDir(java.lang.String dir)
public void setParseEagerly(boolean parseEagerly)
public void setMemoryThreshold(long memoryThreshold)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||