public class MetacatURLConnection
extends java.net.URLConnection
| Constructor and Description |
|---|
MetacatURLConnection(java.net.URL u)
Construct a new metacat scheme URL connection
|
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Make a connection to the URL
|
void |
setRequestHeader(java.lang.String name,
java.lang.String value)
Set the request header for the URL
|
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, getInputStream, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toStringpublic MetacatURLConnection(java.net.URL u)
u - the URL to which to connectpublic void setRequestHeader(java.lang.String name,
java.lang.String value)
public void connect()
throws java.io.IOException
connect in class java.net.URLConnectionjava.io.IOExceptionCopyright © 2020 Regents of the University of California. All Rights Reserved.