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 theVmwareRequisitionProviderinstead.The Class VmwareRequisitionUrlConnectionThis class is used for the automatic requisition of Vmware related entities.
- Author:
- Christian Pape
, Alejandro Galue
-
-
Field Summary
-
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
-
-
Constructor Summary
Constructors Constructor Description VmwareRequisitionUrlConnection(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 voidconnect()Deprecated.protected RequisitiongetExistingRequisition(String foreignSource)Deprecated.VmwareImportRequestgetImportRequest()Deprecated.InputStreamgetInputStream()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(URL url) throws MalformedURLException, RemoteException
Deprecated.Constructor for creating an instance of this class.- Parameters:
url- the URL to use- Throws:
MalformedURLExceptionRemoteException
-
-
Method Detail
-
getExistingRequisition
protected Requisition getExistingRequisition(String foreignSource)
Deprecated.
-
connect
public void connect()
Deprecated.- Specified by:
connectin classURLConnection
-
getInputStream
public InputStream getInputStream() throws 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:
getInputStreamin classURLConnection- Throws:
IOException
-
getImportRequest
public VmwareImportRequest getImportRequest()
Deprecated.
-
-