public class OLENettyServerHandler extends io.netty.channel.ChannelInboundHandlerAdapter
Modifier and Type | Field and Description |
---|---|
protected Properties |
properties |
Constructor and Description |
---|
OLENettyServerHandler() |
OLENettyServerHandler(String serverURL,
String circulationService) |
Modifier and Type | Method and Description |
---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext channelHandlerContext,
Object message) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext channelHandlerContext) |
void |
channelRegistered(io.netty.channel.ChannelHandlerContext channelHandlerContext) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
String |
getLoginUserId(String requestData) |
String |
httpGet(String url,
String requestData) |
String |
processRequest(String requestData) |
String |
sendRequestToOle(String requestData,
String loginUserId) |
channelActive, channelInactive, channelUnregistered, channelWritabilityChanged, userEventTriggered
handlerAdded, handlerRemoved, isSharable
protected Properties properties
public OLENettyServerHandler()
public OLENettyServerHandler(String serverURL, String circulationService)
public void channelRegistered(io.netty.channel.ChannelHandlerContext channelHandlerContext) throws Exception
channelRegistered
in interface io.netty.channel.ChannelInboundHandler
channelRegistered
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public void channelRead(io.netty.channel.ChannelHandlerContext channelHandlerContext, Object message) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public String processRequest(String requestData)
public String sendRequestToOle(String requestData, String loginUserId)
public void channelReadComplete(io.netty.channel.ChannelHandlerContext channelHandlerContext)
channelReadComplete
in interface io.netty.channel.ChannelInboundHandler
channelReadComplete
in class io.netty.channel.ChannelInboundHandlerAdapter
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public String getLoginUserId(String requestData)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.