org.wymiwyg.commons.util.http
Class HttpURLTools
java.lang.Object
org.wymiwyg.commons.util.http.HttpURLTools
public class HttpURLTools
- extends Object
- Author:
- reto
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpURLTools
public HttpURLTools(URL url)
HttpURLTools
public HttpURLTools(URL url,
String acceptLanguage)
openStream
public InputStream openStream()
throws IOException
- Throws:
IOException
getConnection
public URLConnection getConnection()
throws IOException
- Throws:
IOException
getAcceptLanguage
public String getAcceptLanguage()
- Returns:
setAcceptLanguage
public void setAcceptLanguage(String string)
- Parameters:
string -
getAccept
public String getAccept()
- Returns:
- Returns the accept.
setAccept
public void setAccept(String accept)
- Parameters:
accept - The accept to set.
Copyright © 2011. All Rights Reserved.