|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.URLConnection
org.exoplatform.services.jcr.ext.resource.JcrURLConnection
public class JcrURLConnection
| Field Summary |
|---|
| Fields inherited from class java.net.URLConnection |
|---|
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches |
| Constructor Summary | |
|---|---|
JcrURLConnection(UnifiedNodeReference nodeReference,
javax.jcr.Session session,
NodeRepresentationService nodeRepresentationService)
|
|
| Method Summary | |
|---|---|
void |
addRequestProperty(java.lang.String key,
java.lang.String value)
|
void |
connect()
|
void |
disconnect()
Close JCR session. |
void |
finalize()
|
java.lang.Object |
getContent()
|
java.lang.Object |
getContent(java.lang.Class[] classes)
|
java.lang.String |
getContentEncoding()
|
int |
getContentLength()
|
java.lang.String |
getContentType()
|
java.io.InputStream |
getInputStream()
|
long |
getLastModified()
|
void |
setAllowUserInteraction(boolean allowuserinteraction)
|
void |
setDoOutput(boolean dooutput)
|
void |
setIfModifiedSince(long ifmodifiedsince)
|
void |
setRequestProperty(java.lang.String key,
java.lang.String value)
|
void |
setUseCaches(boolean usecaches)
|
| Methods inherited from class java.net.URLConnection |
|---|
getAllowUserInteraction, getConnectTimeout, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setFileNameMap, setReadTimeout, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JcrURLConnection(UnifiedNodeReference nodeReference,
javax.jcr.Session session,
NodeRepresentationService nodeRepresentationService)
throws java.net.MalformedURLException
nodeReference - node referencesession - jcr sessionnodeRepresentationService - node representation service
java.net.MalformedURLException - if URL syntax incorrect| Method Detail |
|---|
public void connect()
throws java.io.IOException
connect in class java.net.URLConnectionjava.io.IOExceptionpublic void finalize()
finalize in class java.lang.Objectpublic void disconnect()
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class java.net.URLConnectionjava.io.IOException
public java.lang.Object getContent()
throws java.io.IOException
getContent in class java.net.URLConnectionjava.io.IOException
public java.lang.Object getContent(java.lang.Class[] classes)
throws java.io.IOException
getContent in class java.net.URLConnectionjava.io.IOExceptionpublic java.lang.String getContentType()
getContentType in class java.net.URLConnectionpublic int getContentLength()
getContentLength in class java.net.URLConnectionpublic void setDoOutput(boolean dooutput)
setDoOutput in class java.net.URLConnectionpublic java.lang.String getContentEncoding()
getContentEncoding in class java.net.URLConnectionpublic long getLastModified()
getLastModified in class java.net.URLConnectionpublic void setAllowUserInteraction(boolean allowuserinteraction)
setAllowUserInteraction in class java.net.URLConnectionpublic void setUseCaches(boolean usecaches)
setUseCaches in class java.net.URLConnectionpublic void setIfModifiedSince(long ifmodifiedsince)
setIfModifiedSince in class java.net.URLConnection
public void addRequestProperty(java.lang.String key,
java.lang.String value)
addRequestProperty in class java.net.URLConnection
public void setRequestProperty(java.lang.String key,
java.lang.String value)
setRequestProperty in class java.net.URLConnection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||