TV-Browser 2.7.5 API

primarydatamanager.primarydataservice.util.httpsession
Class HttpSession

java.lang.Object
  extended by primarydatamanager.primarydataservice.util.httpsession.HttpSession

public class HttpSession
extends Object


Constructor Summary
HttpSession()
           
HttpSession(URL url)
           
 
Method Summary
 String getCookie()
           
 HttpURLConnection getURLConnection()
           
 InputStream openPage(URL url)
           
 InputStream openPage(URL page, boolean followRedirects)
           
 InputStream postForm(URL scriptUrl, Form form)
           
 InputStream postForm(URL scriptUrl, Form form, boolean followRedirect)
           
 void setCookie(String cookie)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpSession

public HttpSession()

HttpSession

public HttpSession(URL url)
            throws IOException
Throws:
IOException
Method Detail

openPage

public InputStream openPage(URL url)
                     throws IOException
Throws:
IOException

openPage

public InputStream openPage(URL page,
                            boolean followRedirects)
                     throws IOException
Throws:
IOException

postForm

public InputStream postForm(URL scriptUrl,
                            Form form,
                            boolean followRedirect)
                     throws IOException
Throws:
IOException

postForm

public InputStream postForm(URL scriptUrl,
                            Form form)
                     throws IOException
Throws:
IOException

getURLConnection

public HttpURLConnection getURLConnection()

setCookie

public void setCookie(String cookie)

getCookie

public String getCookie()

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)