类 MultipartParser.State

java.lang.Object
cn.taketoday.http.codec.multipart.MultipartParser.State
直接已知子类:
MultipartParser.BodyState, MultipartParser.DisposedState, MultipartParser.HeadersState, MultipartParser.PreambleState
封闭类:
MultipartParser

private abstract static class MultipartParser.State extends Object
Represents the internal state of the MultipartParser. The flow for well-formed multipart messages is shown below:

     PREAMBLE
         |
         v
  +-->HEADERS--->DISPOSED
  |      |
  |      v
  +----BODY
  
For malformed messages the flow ends in DISPOSED, and also when the sink is cancelled.
  • 构造器详细资料

    • State

      private State()
  • 方法详细资料

    • onNext

      abstract void onNext(cn.taketoday.core.io.buffer.DataBuffer buf)
    • onComplete

      abstract void onComplete()
    • dispose

      void dispose()