クラス XmlEventDecoder.ReceivedByteTracker
java.lang.ObjectSE
org.springframework.http.codec.xml.XmlEventDecoder.ReceivedByteTracker
- 含まれているクラス:
XmlEventDecoder
上位レベルで発行された XML イベントをバッファリングする
XmlEventDecoder の呼び出し元は、受信したバイト総数を監視し、定期的にリセットするために、このトラッカーのインスタンスを XmlEventDecoder.BYTE_TRACKER_HINT として渡すことができます。For use with Aalto XML async parsing only, in which case this decoder parses releases each buffer immediately.
- 導入:
- 5.0
- 作成者:
- Arjen Poutsma, Sam Brannen
フィールド概要
フィールド修飾子と型フィールド説明static final XmlEventDecoder.ReceivedByteTrackerAn instance to use when there is no limit.コンストラクター概要
コンストラクター方法の概要
フィールドの詳細
NO_OP
An instance to use when there is no limit.
コンストラクターの詳細
ReceivedByteTracker
public ReceivedByteTracker(int maxInMemorySize)
方法の詳細
getMaxInMemorySize
public int getMaxInMemorySize()isMaxInMemorySizeExceeded
public boolean isMaxInMemorySizeExceeded()reset
public void reset()toString