public abstract class MTOMAssertion
extends java.lang.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 |
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.Copyright © 2004-2017 The Apache Software Foundation. All Rights Reserved.