Class VmwareRequisitionUrlConnection


  • public class VmwareRequisitionUrlConnection
    extends GenericURLConnection
    Deprecated.
    Use the VmwareRequisitionProvider instead.
    The Class VmwareRequisitionUrlConnection

    This 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​(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 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 class java.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 class java.net.URLConnection
        Throws:
        java.io.IOException