|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.phase.AbstractPhaseInterceptor<Message> org.apache.cxf.interceptor.security.DepthRestrictingStreamInterceptor
public class DepthRestrictingStreamInterceptor
Creates an XMLStreamReader from the InputStream on the Message.
Constructor Summary | |
---|---|
DepthRestrictingStreamInterceptor()
|
|
DepthRestrictingStreamInterceptor(String phase)
|
|
DepthRestrictingStreamInterceptor(String phase,
List<String> after)
|
|
DepthRestrictingStreamInterceptor(String phase,
List<String> before,
List<String> after)
|
Method Summary | |
---|---|
protected boolean |
canBeIgnored(Message message)
|
int |
getElementCountThreshold()
|
int |
getInnerElementCountThreshold()
|
int |
getInnerElementLevelThreshold()
|
void |
handleMessage(Message message)
Intercepts a 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 |
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
---|
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DepthRestrictingStreamInterceptor()
public DepthRestrictingStreamInterceptor(String phase)
public DepthRestrictingStreamInterceptor(String phase, List<String> after)
public DepthRestrictingStreamInterceptor(String phase, List<String> before, List<String> after)
Method Detail |
---|
public void handleMessage(Message message)
Interceptor
protected boolean canBeIgnored(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 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |