public class InferenceRequestHandler extends HttpRequestHandler
| Constructor and Description |
|---|
InferenceRequestHandler()
default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptInboundMessage(java.lang.Object msg) |
protected void |
handleRequest(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest req,
io.netty.handler.codec.http.QueryStringDecoder decoder,
java.lang.String[] segments) |
channelRead0, exceptionCaughtchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic boolean acceptInboundMessage(java.lang.Object msg)
throws java.lang.Exception
acceptInboundMessage in class io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpRequest>java.lang.Exceptionprotected void handleRequest(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest req,
io.netty.handler.codec.http.QueryStringDecoder decoder,
java.lang.String[] segments)
throws ai.djl.ModelException
handleRequest in class HttpRequestHandlerai.djl.ModelException