public class DepthRestrictingStreamInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
| Constructor and Description |
|---|
DepthRestrictingStreamInterceptor() |
DepthRestrictingStreamInterceptor(String phase) |
DepthRestrictingStreamInterceptor(String phase,
List<String> after) |
DepthRestrictingStreamInterceptor(String phase,
List<String> before,
List<String> after) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canBeIgnored(org.apache.cxf.message.Message message) |
int |
getElementCountThreshold() |
int |
getInnerElementCountThreshold() |
int |
getInnerElementLevelThreshold() |
void |
handleMessage(org.apache.cxf.message.Message message) |
void |
setElementCountThreshold(int elementCountThreshold)
Sets the acceptable total number of elements in the XML payload
|
void |
setInnerElementCountThreshold(int innerElementCountThreshold)
Sets the acceptable total number of child elements for the current XML element
|
void |
setInnerElementLevelThreshold(int elementLevelThreshold)
Sets the acceptable total stack depth in the XML payload
|
public DepthRestrictingStreamInterceptor()
public DepthRestrictingStreamInterceptor(String phase)
public DepthRestrictingStreamInterceptor(String phase, List<String> after)
public void handleMessage(org.apache.cxf.message.Message message)
protected boolean canBeIgnored(org.apache.cxf.message.Message message)
public void setElementCountThreshold(int elementCountThreshold)
elementCountThreshold - public int getElementCountThreshold()
public void setInnerElementLevelThreshold(int elementLevelThreshold)
elementLevelThreshold - public int getInnerElementLevelThreshold()
public void setInnerElementCountThreshold(int innerElementCountThreshold)
innerElementCountThreshold - public int getInnerElementCountThreshold()
Apache CXF