|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.URLConnection
grinda.client.stp.STPConnection
public class STPConnection
Implements a STP connection. This protocol can be used to retrieve part of file like the GridFTP but with less configuration efforts (e.g. no need of a database...). URL of this protocol are in the following form: stp://hostname:port/path_to_file/file?start=file_offset&length=byte_amount The start and length field can be in any order and can be not present. The port used is 7333.
| Field Summary |
|---|
| Fields inherited from class java.net.URLConnection |
|---|
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches |
| Constructor Summary | |
|---|---|
protected |
STPConnection(java.net.URL uRL)
|
| Method Summary | |
|---|---|
void |
connect()
connect |
java.io.InputStream |
getInputStream()
|
| Methods inherited from class java.net.URLConnection |
|---|
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected STPConnection(java.net.URL uRL)
| Method Detail |
|---|
public void connect()
throws java.io.IOException
connect in class java.net.URLConnectionjava.io.IOExceptionpublic java.io.InputStream getInputStream()
getInputStream in class java.net.URLConnection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||