Package org.opennms.protocols.http
Class HttpsUrlHandler
- java.lang.Object
-
- java.net.URLStreamHandler
-
- org.opennms.protocols.http.HttpUrlHandler
-
- org.opennms.protocols.http.HttpsUrlHandler
-
public class HttpsUrlHandler extends HttpUrlHandler
The class for handling HTTPS URL Connection using Apache HTTP Client- Author:
- Alejandro Galue
-
-
Field Summary
Fields Modifier and Type Field Description static String
HTTPS
The Constant PROTOCOL.-
Fields inherited from class org.opennms.protocols.http.HttpUrlHandler
HTTP
-
-
Constructor Summary
Constructors Constructor Description HttpsUrlHandler(Request request)
Instantiates a new HTTPS URL handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getDefaultPort()
-
Methods inherited from class org.opennms.protocols.http.HttpUrlHandler
openConnection
-
Methods inherited from class java.net.URLStreamHandler
equals, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
-
-
-
-
Field Detail
-
HTTPS
public static final String HTTPS
The Constant PROTOCOL.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HttpsUrlHandler
public HttpsUrlHandler(Request request)
Instantiates a new HTTPS URL handler.- Parameters:
request
- the request
-
-
Method Detail
-
getDefaultPort
protected int getDefaultPort()
- Overrides:
getDefaultPort
in classHttpUrlHandler
-
-