public class HttpSession extends Object
Constructor and Description |
---|
HttpSession() |
HttpSession(URL url) |
Modifier and Type | Method and Description |
---|---|
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) |
public HttpSession()
public HttpSession(URL url) throws IOException
IOException
public InputStream openPage(URL url) throws IOException
IOException
public InputStream openPage(URL page, boolean followRedirects) throws IOException
IOException
public InputStream postForm(URL scriptUrl, Form form, boolean followRedirect) throws IOException
IOException
public InputStream postForm(URL scriptUrl, Form form) throws IOException
IOException
public HttpURLConnection getURLConnection()
public void setCookie(String cookie)
public String getCookie()
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)