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.Assertion
true
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.Assertion
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.