Class FullResponseHolder<T>
- java.lang.Object
-
- org.apache.druid.java.util.http.client.response.FullResponseHolder<T>
-
- Type Parameters:
T- data type
- Direct Known Subclasses:
BytesFullResponseHolder,InputStreamFullResponseHolder,StringFullResponseHolder
public abstract class FullResponseHolder<T> extends Object
This class is to hold data while receiving stream data via HTTP. Used withHttpResponseHandler.
-
-
Constructor Summary
Constructors Constructor Description FullResponseHolder(org.jboss.netty.handler.codec.http.HttpResponse response)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract TgetContent()Get the data.org.jboss.netty.handler.codec.http.HttpResponsegetResponse()org.jboss.netty.handler.codec.http.HttpResponseStatusgetStatus()
-
-
-
Method Detail
-
getStatus
public org.jboss.netty.handler.codec.http.HttpResponseStatus getStatus()
-
getResponse
public org.jboss.netty.handler.codec.http.HttpResponse getResponse()
-
getContent
public abstract T getContent()
Get the data.
-
-