public abstract class MTOMAssertion extends Object implements org.apache.neethi.Assertion
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
optional
Specifies if the MTOM assertion is optional.
|
| Constructor and Description |
|---|
MTOMAssertion() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIgnorable() |
boolean |
isOptional()
Checks if the MTOM assertion is optional.
|
void |
setOptional(boolean isOptional)
Sets the
optional parameter. |
protected boolean optional
public boolean isOptional()
isOptional in interface org.apache.neethi.Assertiontrue if the MTOM assertion is optional, otherwise returns false.public void setOptional(boolean isOptional)
optional parameter.isOptional - sets if the MTOM assertion is optional or not. If set to true
then if the request is MTOMised then the response should be MTOMised, too.public boolean isIgnorable()
isIgnorable in interface org.apache.neethi.AssertionCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.