| |
|
| java.lang.Object java.net.URLConnection org.apache.naming.resources.DirContextURLConnection
DirContextURLConnection | public class DirContextURLConnection extends URLConnection (Code) | | Connection to a JNDI directory context.
Note: All the object attribute names are the WebDAV names, not the HTTP
names, so this class overrides some methods from URLConnection to do the
queries using the right names. Content handler is also not used; the
content is directly returned.
author: Remy Maucherat version: $Revision: 1.2 $ |
date | protected long date(Code) | | Date.
|
connect | public void connect() throws IOException(Code) | | Connect to the DirContext, and retrive the bound object, as well as
its attributes. If no object is bound with the name specified in the
URL, then an IOException is thrown.
throws: IOException - Object not found |
getContentLength | public int getContentLength()(Code) | | Return the content length value.
|
getContentType | public String getContentType()(Code) | | Return the content type value.
|
getDate | public long getDate()(Code) | | Return the last modified date.
|
getHeaderField | public String getHeaderField(String name)(Code) | | Returns the name of the specified header field.
|
getLastModified | public long getLastModified()(Code) | | Return the last modified date.
|
getPermission | public Permission getPermission()(Code) | | Get the Permission for this URL
|
list | public Enumeration list() throws IOException(Code) | | List children of this collection. The names given are relative to this
URI's path. The full uri of the children is then : path + "/" + name.
|
|
|
|