public class HttpInfo extends Object implements org.elasticsearch.common.io.stream.Streamable, Serializable, org.elasticsearch.common.xcontent.ToXContent
Constructor and Description |
---|
HttpInfo(org.elasticsearch.common.transport.BoundTransportAddress address,
long maxContentLength) |
Modifier and Type | Method and Description |
---|---|
org.elasticsearch.common.transport.BoundTransportAddress |
address() |
org.elasticsearch.common.transport.BoundTransportAddress |
getAddress() |
org.elasticsearch.common.unit.ByteSizeValue |
getMaxContentLength() |
org.elasticsearch.common.unit.ByteSizeValue |
maxContentLength() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
static HttpInfo |
readHttpInfo(org.elasticsearch.common.io.stream.StreamInput in) |
org.elasticsearch.common.xcontent.XContentBuilder |
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params) |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
public HttpInfo(org.elasticsearch.common.transport.BoundTransportAddress address, long maxContentLength)
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException
toXContent
in interface org.elasticsearch.common.xcontent.ToXContent
IOException
public static HttpInfo readHttpInfo(org.elasticsearch.common.io.stream.StreamInput in) throws IOException
IOException
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in) throws IOException
readFrom
in interface org.elasticsearch.common.io.stream.Streamable
IOException
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out) throws IOException
writeTo
in interface org.elasticsearch.common.io.stream.Streamable
IOException
public org.elasticsearch.common.transport.BoundTransportAddress address()
public org.elasticsearch.common.transport.BoundTransportAddress getAddress()
public org.elasticsearch.common.unit.ByteSizeValue maxContentLength()
public org.elasticsearch.common.unit.ByteSizeValue getMaxContentLength()
Copyright © 2012–2014. All rights reserved.