|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--java.net.URLConnection | +--org.apache.naming.resources.DirContextURLConnection
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.
フィールドの概要 | |
protected javax.naming.directory.Attributes |
attributes
Attributes. |
protected javax.naming.directory.DirContext |
collection
Associated DirContext. |
protected javax.naming.directory.DirContext |
context
Directory context. |
protected long |
date
Date. |
protected java.lang.Object |
object
Other unknown object. |
protected java.security.Permission |
permission
Permission |
protected Resource |
resource
Associated resource. |
クラス java.net.URLConnection から継承したフィールド |
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches |
コンストラクタの概要 | |
DirContextURLConnection(javax.naming.directory.DirContext context,
java.net.URL url)
|
メソッドの概要 | |
void |
connect()
Connect to the DirContext, and retrive the bound object, as well as its attributes. |
java.lang.Object |
getContent()
Get object content. |
java.lang.Object |
getContent(java.lang.Class[] classes)
Get object content. |
int |
getContentLength()
Return the content length value. |
java.lang.String |
getContentType()
Return the content type value. |
long |
getDate()
Return the last modified date. |
java.lang.String |
getHeaderField(java.lang.String name)
Returns the name of the specified header field. |
java.io.InputStream |
getInputStream()
Get input stream. |
long |
getLastModified()
Return the last modified date. |
java.security.Permission |
getPermission()
Get the Permission for this URL |
java.util.Enumeration |
list()
List children of this collection. |
クラス java.net.URLConnection から継承したメソッド |
getAllowUserInteraction, getContentEncoding, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getIfModifiedSince, getOutputStream, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches, toString |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
protected javax.naming.directory.DirContext context
protected Resource resource
protected javax.naming.directory.DirContext collection
protected java.lang.Object object
protected javax.naming.directory.Attributes attributes
protected long date
protected java.security.Permission permission
コンストラクタの詳細 |
public DirContextURLConnection(javax.naming.directory.DirContext context, java.net.URL url)
メソッドの詳細 |
public void connect() throws java.io.IOException
java.net.URLConnection
内の connect
java.io.IOException
- Object not foundpublic int getContentLength()
java.net.URLConnection
内の getContentLength
public java.lang.String getContentType()
java.net.URLConnection
内の getContentType
public long getDate()
java.net.URLConnection
内の getDate
public long getLastModified()
java.net.URLConnection
内の getLastModified
public java.lang.String getHeaderField(java.lang.String name)
java.net.URLConnection
内の getHeaderField
public java.lang.Object getContent() throws java.io.IOException
java.net.URLConnection
内の getContent
public java.lang.Object getContent(java.lang.Class[] classes) throws java.io.IOException
java.net.URLConnection
内の getContent
public java.io.InputStream getInputStream() throws java.io.IOException
java.net.URLConnection
内の getInputStream
public java.security.Permission getPermission()
java.net.URLConnection
内の getPermission
public java.util.Enumeration list() throws java.io.IOException
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |