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 InteractiveChannel
public void sendResponse(InteractiveResponse response) throws IOException
sendResponse
in interface InteractiveChannel
IOException
public void sendResponse(String type, Throwable t) throws IOException
sendResponse
in interface InteractiveChannel
IOException
public void sendResponse(String type, org.elasticsearch.common.xcontent.XContentBuilder builder) throws IOException
sendResponse
in interface InteractiveChannel
IOException
Copyright © 2012–2014. All rights reserved.