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, getUsernameaddRequestProperty, 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, toStringprotected String m_foreignSource
public VmwareRequisitionUrlConnection(URL url) throws MalformedURLException, RemoteException
url - the URL to useMalformedURLExceptionRemoteExceptionpublic void connect()
throws IOException
connect in class URLConnectionIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in class URLConnectionIOExceptionprotected Requisition getExistingRequisition()
Copyright © 2020. All rights reserved.