cz.geek.gdata.client
Class CachedResponse

java.lang.Object
  extended by cz.geek.gdata.client.CachedResponse
All Implemented Interfaces:
Serializable

public class CachedResponse
extends Object
implements Serializable

Response stored in a cache.

Author:
martin
See Also:
Serialized Form

Constructor Summary
CachedResponse(byte[] buffer, Map<String,List<String>> headers)
           
CachedResponse(InputStream in, Map<String,List<String>> headers)
           
 
Method Summary
 String getHeaderField(String name)
           
 long getHeaderFieldDate(String name, int Default)
           
 InputStream getResponseStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedResponse

public CachedResponse(byte[] buffer,
                      Map<String,List<String>> headers)

CachedResponse

public CachedResponse(InputStream in,
                      Map<String,List<String>> headers)
               throws IOException
Throws:
IOException
Method Detail

getResponseStream

public InputStream getResponseStream()

getHeaderField

public String getHeaderField(String name)

getHeaderFieldDate

public long getHeaderFieldDate(String name,
                               int Default)


Copyright © 2012. All Rights Reserved.