org.opennms.protocols.http
Class HttpUrlConnection
java.lang.Object
java.net.URLConnection
org.opennms.protocols.http.HttpUrlConnection
public class HttpUrlConnection
- extends URLConnection
The class for managing HTTP URL Connection using Apache HTTP Client
- Author:
- Alejandro Galue
| Methods inherited from class java.net.URLConnection |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString |
HttpUrlConnection
protected HttpUrlConnection(URL url)
- Instantiates a new SFTP URL connection.
- Parameters:
url - the URL
connect
public void connect()
throws IOException
- Specified by:
connect in class URLConnection
- Throws:
IOException
getInputStream
public InputStream getInputStream()
throws IOException
- Overrides:
getInputStream in class URLConnection
- Throws:
IOException
log
protected ThreadCategory log()
- Log.
- Returns:
- the thread category
Copyright © 2011. All Rights Reserved.