Class VmwareRequisitionUrlConnection
- java.lang.Object
-
- java.net.URLConnection
-
- org.opennms.core.utils.url.GenericURLConnection
-
- org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection
-
public class VmwareRequisitionUrlConnection extends GenericURLConnection
Deprecated.Use theVmwareRequisitionProvider
instead.The Class VmwareRequisitionUrlConnectionThis class is used for the automatic requisition of Vmware related entities.
- Author:
- Christian Pape
, Alejandro Galue
-
-
Constructor Summary
Constructors Constructor Description VmwareRequisitionUrlConnection(java.net.URL url)
Deprecated.Constructor for creating an instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
connect()
Deprecated.protected Requisition
getExistingRequisition(java.lang.String foreignSource)
Deprecated.VmwareImportRequest
getImportRequest()
Deprecated.java.io.InputStream
getInputStream()
Deprecated.-
Methods inherited from class org.opennms.core.utils.url.GenericURLConnection
getPassword, getQueryArgs, getQueryStringParameters, getUsername
-
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
-
-
-
Constructor Detail
-
VmwareRequisitionUrlConnection
public VmwareRequisitionUrlConnection(java.net.URL url) throws java.net.MalformedURLException, java.rmi.RemoteException
Deprecated.Constructor for creating an instance of this class.- Parameters:
url
- the URL to use- Throws:
java.net.MalformedURLException
java.rmi.RemoteException
-
-
Method Detail
-
getExistingRequisition
protected Requisition getExistingRequisition(java.lang.String foreignSource)
Deprecated.
-
connect
public void connect()
Deprecated.- Specified by:
connect
in classjava.net.URLConnection
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
Deprecated.Creates a ByteArrayInputStream implementation of InputStream of the XML marshaled version of the Requisition class. Calling close on this stream is safe.- Overrides:
getInputStream
in classjava.net.URLConnection
- Throws:
java.io.IOException
-
getImportRequest
public VmwareImportRequest getImportRequest()
Deprecated.
-
-