Class RequisitionUrlConnection
- java.lang.Object
-
- java.net.URLConnection
-
- org.opennms.netmgt.provision.service.requisition.RequisitionUrlConnection
-
public class RequisitionUrlConnection extends java.net.URLConnection
URL handler for the requisition:// protocol.- Author:
- jwhite
-
-
Constructor Summary
Constructors Constructor Description RequisitionUrlConnection(java.net.URL url)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect()
java.io.InputStream
getInputStream()
static java.util.Map<java.lang.String,java.lang.String>
getParameters(java.net.URL url)
static void
setClient(LocationAwareRequisitionClient client)
-
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
-
-
-
-
Method Detail
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
- Overrides:
getInputStream
in classjava.net.URLConnection
- Throws:
java.io.IOException
-
connect
public void connect()
- Specified by:
connect
in classjava.net.URLConnection
-
setClient
public static void setClient(LocationAwareRequisitionClient client)
-
getParameters
public static java.util.Map<java.lang.String,java.lang.String> getParameters(java.net.URL url)
-
-