org.exist.protocolhandler.protocols.xmldb
Class Connection

java.lang.Object
  extended by java.net.URLConnection
      extended by org.exist.protocolhandler.protocols.xmldb.Connection

public class Connection
extends URLConnection

A URLConnection object manages the translation of a URL object into a resource stream.

Author:
Dannes Wessels
See Also:
A New Era for Java Protocol Handlers, URLConnection

Method Summary
 void connect()
           
 InputStream getInputStream()
           
 OutputStream getOutputStream()
           
 
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

connect

public void connect()
             throws IOException
Specified by:
connect in class URLConnection
Throws:
IOException
See Also:
URLConnection.connect()

getInputStream

public InputStream getInputStream()
                           throws IOException
Overrides:
getInputStream in class URLConnection
Throws:
IOException
See Also:
URLConnection.getInputStream()

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Overrides:
getOutputStream in class URLConnection
Throws:
IOException
See Also:
URLConnection.getOutputStream()


Copyright (C) Wolfgang Meier. All rights reserved.