edu.ucsb.nceas.protocols.metacat
Class MetacatURLConnection

java.lang.Object
  |
  +--java.net.URLConnection
        |
        +--edu.ucsb.nceas.protocols.metacat.MetacatURLConnection

public class MetacatURLConnection
extends java.net.URLConnection

Handle requests for metacat scheme URLs


Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
MetacatURLConnection(java.net.URL u)
          Construct a new metacat scheme URL connection
 
Method Summary
 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
 
Methods inherited from class java.net.URLConnection
getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getIfModifiedSince, getInputStream, getLastModified, getOutputStream, getPermission, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetacatURLConnection

public MetacatURLConnection(java.net.URL u)
Construct a new metacat scheme URL connection
Parameters:
u - the URL to which to connect
Method Detail

setRequestHeader

public void setRequestHeader(java.lang.String name,
                             java.lang.String value)
Set the request header for the URL

connect

public void connect()
             throws java.io.IOException
Make a connection to the URL
Overrides:
connect in class java.net.URLConnection


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.