public class NettyInteractiveChannel extends Object implements InteractiveChannel
| Constructor and Description |
|---|
NettyInteractiveChannel(org.jboss.netty.channel.Channel channel) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.netty.channel.Channel |
getChannel() |
void |
sendResponse(InteractiveResponse response) |
void |
sendResponse(String type,
Throwable t) |
void |
sendResponse(String type,
org.elasticsearch.common.xcontent.XContentBuilder builder) |
public NettyInteractiveChannel(org.jboss.netty.channel.Channel channel)
public org.jboss.netty.channel.Channel getChannel()
getChannel in interface InteractiveChannelpublic void sendResponse(InteractiveResponse response) throws IOException
sendResponse in interface InteractiveChannelIOExceptionpublic void sendResponse(String type, Throwable t) throws IOException
sendResponse in interface InteractiveChannelIOExceptionpublic void sendResponse(String type, org.elasticsearch.common.xcontent.XContentBuilder builder) throws IOException
sendResponse in interface InteractiveChannelIOExceptionCopyright © 2012–2014. All rights reserved.