public class VmwareRequisitionUrlConnection extends GenericURLConnection
This class is used for the automtic requisition of Vmware related entities.
Modifier and Type | Field and Description |
---|---|
protected String |
m_foreignSource |
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
Constructor and Description |
---|
VmwareRequisitionUrlConnection(URL url)
Constructor for creating an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
connect() |
protected Requisition |
getExistingRequisition() |
InputStream |
getInputStream()
Creates a ByteArrayInputStream implementation of InputStream of the XML
marshaled version of the Requisition class.
|
getPassword, getQueryArgs, getUsername
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, 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, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
protected String m_foreignSource
public VmwareRequisitionUrlConnection(URL url) throws MalformedURLException, RemoteException
url
- the URL to useMalformedURLException
RemoteException
public void connect() throws IOException
connect
in class URLConnection
IOException
public InputStream getInputStream() throws IOException
getInputStream
in class URLConnection
IOException
protected Requisition getExistingRequisition()
Copyright © 2017. All rights reserved.