public class Handler extends URLStreamHandler
jslipc
protocol URLs. The syntax is
jslipc:///<server-directory-path>[?param1=value1& ... ¶mx=valuex]Examples:
jslipc:///c:/example/server/connect jslipc:///c:/example/server/connect?accept-types=ChunkFilePipe,FilePipeSo any parameter can be passed as part of the query.
Modifier and Type | Field and Description |
---|---|
protected File |
serverConnectDirectory |
Constructor and Description |
---|
Handler() |
Modifier and Type | Method and Description |
---|---|
protected URLConnection |
openConnection(URL url) |
protected void |
parseURL(URL url,
String spec,
int start,
int limit) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, sameFile, setURL, setURL, toExternalForm
protected File serverConnectDirectory
protected void parseURL(URL url, String spec, int start, int limit)
parseURL
in class URLStreamHandler
protected URLConnection openConnection(URL url) throws IOException
openConnection
in class URLStreamHandler
IOException
Copyright © 2014. All Rights Reserved.