org.elasticsearch.http
Class HttpInfo

java.lang.Object
  extended by org.elasticsearch.http.HttpInfo
All Implemented Interfaces:
Serializable, Streamable, ToXContent

public class HttpInfo
extends Object
implements Streamable, Serializable, ToXContent

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Constructor Summary
HttpInfo(BoundTransportAddress address)
           
 
Method Summary
 BoundTransportAddress address()
           
 BoundTransportAddress getAddress()
           
 void readFrom(StreamInput in)
           
static HttpInfo readHttpInfo(StreamInput in)
           
 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpInfo

public HttpInfo(BoundTransportAddress address)
Method Detail

toXContent

public XContentBuilder toXContent(XContentBuilder builder,
                                  ToXContent.Params params)
                           throws IOException
Specified by:
toXContent in interface ToXContent
Throws:
IOException

readHttpInfo

public static HttpInfo readHttpInfo(StreamInput in)
                             throws IOException
Throws:
IOException

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Throws:
IOException

address

public BoundTransportAddress address()

getAddress

public BoundTransportAddress getAddress()


Copyright © 2009-2012. All Rights Reserved.