public class BrpcHttpObjectDecoder
extends io.netty.handler.codec.http.HttpObjectDecoder
HttpObjectDecoder| 限定符和类型 | 方法和说明 |
|---|---|
protected io.netty.handler.codec.http.HttpMessage |
createInvalidMessage() |
protected io.netty.handler.codec.http.HttpMessage |
createMessage(String[] initialLine) |
Object |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in)
a ByteToMessageDecoder for http message
|
static BrpcHttpObjectDecoder |
getDecoder(boolean isDecodingRequest) |
protected boolean |
isDecodingRequest() |
decode, decodeLast, isContentAlwaysEmpty, isSwitchingToNonHttp1Protocol, reset, userEventTriggeredactualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecodechannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtpublic static BrpcHttpObjectDecoder getDecoder(boolean isDecodingRequest)
protected io.netty.handler.codec.http.HttpMessage createMessage(String[] initialLine) throws Exception
createMessage 在类中 io.netty.handler.codec.http.HttpObjectDecoderExceptionprotected io.netty.handler.codec.http.HttpMessage createInvalidMessage()
createInvalidMessage 在类中 io.netty.handler.codec.http.HttpObjectDecoderprotected boolean isDecodingRequest()
isDecodingRequest 在类中 io.netty.handler.codec.http.HttpObjectDecoderpublic Object decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf in)
Copyright © 2019 Baidu, Inc.. All rights reserved.