@Internal public class JsonContentProcessor extends AbstractHttpContentProcessor<io.micronaut.json.tree.JsonNode>
advertisedLength, configuration, nettyHttpRequest, receivedLength, requestMaxSize| Constructor and Description |
|---|
JsonContentProcessor(NettyHttpRequest<?> nettyHttpRequest,
io.micronaut.http.server.HttpServerConfiguration configuration,
io.micronaut.json.JsonMapper jsonMapper) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAfterOnError(java.lang.Throwable throwable) |
protected void |
doOnComplete() |
protected void |
doOnSubscribe(org.reactivestreams.Subscription subscription,
org.reactivestreams.Subscriber<? super io.micronaut.json.tree.JsonNode> subscriber) |
protected void |
onData(io.netty.buffer.ByteBufHolder message)
Called after verifying the data of the message.
|
doOnNext, doSubscribe, fireExceedsLengthcurrentSubscriber, doAfterComplete, doAfterOnSubscribe, doOnError, doOnSubscribe, getSubscriber, subscribeisComplete, onComplete, onError, onNext, onSubscribeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic JsonContentProcessor(NettyHttpRequest<?> nettyHttpRequest, io.micronaut.http.server.HttpServerConfiguration configuration, io.micronaut.json.JsonMapper jsonMapper)
nettyHttpRequest - The Netty Http requestconfiguration - The Http server configurationjsonMapper - The json codecprotected void doOnSubscribe(org.reactivestreams.Subscription subscription,
org.reactivestreams.Subscriber<? super io.micronaut.json.tree.JsonNode> subscriber)
doOnSubscribe in class io.micronaut.core.async.processor.SingleSubscriberProcessor<io.netty.buffer.ByteBufHolder,io.micronaut.json.tree.JsonNode>protected void onData(io.netty.buffer.ByteBufHolder message)
AbstractHttpContentProcessoronData in class AbstractHttpContentProcessor<io.micronaut.json.tree.JsonNode>message - The messageprotected void doAfterOnError(java.lang.Throwable throwable)
doAfterOnError in class io.micronaut.core.async.processor.SingleSubscriberProcessor<io.netty.buffer.ByteBufHolder,io.micronaut.json.tree.JsonNode>protected void doOnComplete()
doOnComplete in class io.micronaut.core.async.processor.SingleSubscriberProcessor<io.netty.buffer.ByteBufHolder,io.micronaut.json.tree.JsonNode>