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, userEventTriggeredhandlerAdded, handlerRemoved, isSharableprotected 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.ChannelInboundHandlerchannelRegistered in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelRead(io.netty.channel.ChannelHandlerContext channelHandlerContext, Object message) throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic 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.ChannelInboundHandlerchannelReadComplete in class io.netty.channel.ChannelInboundHandlerAdapterpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause) throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic String getLoginUserId(String requestData)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.