oak.http
Class OakConnection

java.lang.Object
  extended by oak.http.OakConnection

public class OakConnection
extends Object

User: mlake Date: 8/9/12 Time: 9:28 AM


Constructor Summary
OakConnection(HttpURLConnection httpURLConnection)
           
 
Method Summary
 void disconnect()
           
 BufferedReader getBufferedResponseReader()
           
 HttpURLConnection getHttpURLConnection()
           
 InputStream getInputStream()
           
 OakConnection printResponseToLog(boolean printToLog)
           
 OakConnection withCache(long cacheTimeoutSeconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OakConnection

public OakConnection(HttpURLConnection httpURLConnection)
Method Detail

getHttpURLConnection

public HttpURLConnection getHttpURLConnection()

getBufferedResponseReader

public BufferedReader getBufferedResponseReader()
                                         throws IOException
Throws:
IOException

getInputStream

public InputStream getInputStream()
                           throws IOException
Throws:
IOException

printResponseToLog

public OakConnection printResponseToLog(boolean printToLog)

withCache

public OakConnection withCache(long cacheTimeoutSeconds)

disconnect

public void disconnect()


Copyright © 2011-2012. All Rights Reserved.