@Internal public class FormDataHttpContentProcessor extends AbstractHttpContentProcessor<io.netty.handler.codec.http.multipart.HttpData>
Decodes MediaType.MULTIPART_FORM_DATA in a non-blocking manner.
Designed to be used by a single thread
advertisedLength, configuration, nettyHttpRequest, receivedLength, requestMaxSizeEMPTY_SUBSCRIPTION, parentSubscriptionsubscription| Modifier and Type | Method and Description |
|---|---|
protected void |
doAfterComplete()
Called after
SingleSubscriberProcessor.doOnComplete() completes. |
protected void |
doAfterOnError(Throwable throwable)
Called after
SingleSubscriberProcessor.doOnError(Throwable) completes. |
protected void |
doOnSubscribe(Subscription subscription,
Subscriber<? super io.netty.handler.codec.http.multipart.HttpData> subscriber)
Perform the actual subscription to the subscriber.
|
boolean |
isEnabled() |
protected void |
onData(io.netty.buffer.ByteBufHolder message)
Called after verifying the data of the message.
|
doOnNext, doSubscribe, fireExceedsLengthcurrentSubscriber, doAfterOnSubscribe, doOnComplete, doOnError, doOnSubscribe, getSubscriber, subscribeisComplete, onComplete, onError, onNext, onSubscribeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonComplete, onError, onNext, onSubscribepublic boolean isEnabled()
protected void doOnSubscribe(Subscription subscription, Subscriber<? super io.netty.handler.codec.http.multipart.HttpData> subscriber)
SingleSubscriberProcessordoOnSubscribe in class SingleSubscriberProcessor<io.netty.buffer.ByteBufHolder,io.netty.handler.codec.http.multipart.HttpData>subscription - The subscriptionsubscriber - The subscriber (never null)protected void onData(io.netty.buffer.ByteBufHolder message)
AbstractHttpContentProcessoronData in class AbstractHttpContentProcessor<io.netty.handler.codec.http.multipart.HttpData>message - The messageprotected void doAfterOnError(Throwable throwable)
SingleSubscriberProcessorSingleSubscriberProcessor.doOnError(Throwable) completes.doAfterOnError in class SingleSubscriberProcessor<io.netty.buffer.ByteBufHolder,io.netty.handler.codec.http.multipart.HttpData>throwable - The errorprotected void doAfterComplete()
SingleSubscriberProcessorSingleSubscriberProcessor.doOnComplete() completes.doAfterComplete in class SingleSubscriberProcessor<io.netty.buffer.ByteBufHolder,io.netty.handler.codec.http.multipart.HttpData>