org.apache.naming.resources
public class DirContextURLConnection extends URLConnection
Version: $Revision: 666821 $
Field Summary | |
---|---|
protected Attributes | attributes
Attributes. |
protected DirContext | collection
Associated DirContext. |
protected DirContext | context
Directory context. |
protected long | date
Date. |
protected Object | object
Other unknown object. |
protected Permission | permission
Permission |
protected Resource | resource
Associated resource. |
Constructor Summary | |
---|---|
DirContextURLConnection(DirContext context, URL url) |
Method Summary | |
---|---|
void | connect()
Connect to the DirContext, and retrive the bound object, as well as
its attributes. |
Object | getContent()
Get object content. |
Object | getContent(Class[] classes)
Get object content. |
int | getContentLength()
Return the content length value. |
String | getContentType()
Return the content type value. |
long | getDate()
Return the last modified date. |
String | getHeaderField(String name)
Returns the name of the specified header field. |
Map | getHeaderFields()
Returns an unmodifiable Map of the header fields. |
protected String | getHeaderValueAsString(Object headerValue) |
InputStream | getInputStream()
Get input stream. |
long | getLastModified()
Return the last modified date. |
Permission | getPermission()
Get the Permission for this URL |
Enumeration | list()
List children of this collection. |
Throws: IOException Object not found