public class XrootdURLConnection extends URLConnection
| Modifier and Type | Field and Description |
|---|---|
static String |
XROOT_AUTHORIZATION_PASSWORD |
static String |
XROOT_AUTHORIZATION_SCHEME |
static String |
XROOT_AUTHORIZATION_SCHEME_ANONYMOUS |
static String |
XROOT_AUTHORIZATION_USER |
static String |
XROOT_BUFFER_SIZE |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
void |
disconnect() |
long |
getCheckSum() |
int |
getContentLength() |
long |
getDate() |
InputStream |
getInputStream() |
long |
getLastModified() |
long |
getLongContentLength() |
void |
setRequestProperty(String key,
String value) |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLengthLong, getContentType, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setUseCaches, toStringpublic static final String XROOT_AUTHORIZATION_SCHEME
public static final String XROOT_AUTHORIZATION_SCHEME_ANONYMOUS
public static final String XROOT_AUTHORIZATION_USER
public static final String XROOT_AUTHORIZATION_PASSWORD
public static final String XROOT_BUFFER_SIZE
public InputStream getInputStream() throws IOException
getInputStream in class URLConnectionIOExceptionpublic void connect()
throws IOException
connect in class URLConnectionIOExceptionpublic void disconnect()
throws IOException
IOExceptionpublic int getContentLength()
getContentLength in class URLConnectionpublic long getLongContentLength()
public long getLastModified()
getLastModified in class URLConnectionpublic long getDate()
getDate in class URLConnectionpublic long getCheckSum()
throws IOException
IOExceptionpublic void setRequestProperty(String key, String value)
setRequestProperty in class URLConnectionJas4pp 1.5 © Java Analysis Studio for Particle Physics