io.airlift.http.client
Interface Response


@Beta
public interface Response


Method Summary
 long getBytesRead()
           
 String getHeader(String name)
           
 com.google.common.collect.ListMultimap<String,String> getHeaders()
           
 InputStream getInputStream()
           
 int getStatusCode()
           
 String getStatusMessage()
           
 

Method Detail

getStatusCode

int getStatusCode()

getStatusMessage

String getStatusMessage()

getHeader

String getHeader(String name)

getHeaders

com.google.common.collect.ListMultimap<String,String> getHeaders()

getBytesRead

long getBytesRead()

getInputStream

InputStream getInputStream()
                           throws IOException
Throws:
IOException


Copyright © 2010-2012 Airlift. All Rights Reserved.