Path.FileChannelFactory| Modifier and Type | Field and Description |
|---|---|
protected static L10N |
L |
_cache, _cacheEntry, _host, _port, _query, _virtualHost_bindRoot, _pathname, _root, _userPath_pathSeparatorChar, _schemeMap, _separatorChar| Constructor and Description |
|---|
HttpsPath(FilesystemPath root,
java.lang.String userPath,
java.util.Map<java.lang.String,java.lang.Object> newAttributes,
java.lang.String path,
java.lang.String query)
Creates a new HTTP sub path.
|
HttpsPath(java.lang.String host,
int port)
Creates a new HTTP root path with a host and a port.
|
| Modifier and Type | Method and Description |
|---|---|
protected HttpPath |
create(FilesystemPath root,
java.lang.String userPath,
java.util.Map<java.lang.String,java.lang.Object> newAttributes,
java.lang.String path,
java.lang.String query) |
protected HttpPath |
create(java.lang.String host,
int port) |
boolean |
equals(java.lang.Object o)
Overrides equals to test for equality with an HTTP path.
|
protected int |
getDefaultPort() |
java.lang.String |
getScheme()
Returns the scheme, http.
|
int |
hashCode()
Returns a hashCode for the path.
|
StreamImpl |
openReadImpl()
Returns a read stream for a GET request.
|
StreamImpl |
openReadWriteImpl()
Returns a read/write pair for a POST request.
|
cacheCopy, canRead, exists, fsWalk, getCache, getHost, getLastModified, getLength, getPort, getQuery, getURL, getUserPath, getVirtualHost, isDirectory, isFile, lookupImpl, schemeWalk, toStringbind, createRoot, getFullPath, getParent, getPath, getRoot, getTail, init, normalizePath, normalizePath, setUserPathcanExecute, canWrite, changeGroup, changeGroup, changeOwner, changeOwner, chmod, clearStatusCache, compareTo, copy, createDepend, createLink, createNewFile, createRoot, createTempFile, escapeURL, fileChannelFactory, getAttribute, getAttributeNames, getBlockCount, getBlockSize, getCache, getCertificates, getContentType, getCrc64, getCreateTime, getDevice, getDeviceId, getDiskSpaceFree, getDiskSpaceTotal, getFileSeparatorChar, getGroup, getInode, getLastAccessTime, getLastStatusChangeTime, getMode, getNativePath, getNewlineString, getNumberOfLinks, getObject, getOwner, getPathSeparatorChar, getRelativePath, getResources, getResources, getSchemeMap, getSeparatorChar, getUser, getUserDir, getValue, isBlockDevice, isCharacterDevice, isExecutable, isFIFO, isHardLink, isLink, isObject, isPathCacheable, isSocket, isSymbolicLink, isWindows, isWindowsInsecure, iterator, list, lookup, lookup, lookup, lookupChild, lookupNative, lookupNative, lookupRelativeNativePath, mkdir, mkdirs, openAppend, openAppendImpl, openFileRandomAccess, openMemoryMappedFile, openRandomAccess, openRead, openReadWrite, openReadWrite, openReadWrite, openWrite, openWriteImpl, putCache, readLink, realPath, remove, removeAll, renameTo, renameTo, scanScheme, sendfile, setDefaultSchemeMap, setExecutable, setLastModified, setObject, setTestWindows, setValue, truncate, truncate, unbind, unwrap, writeToStream, writeToStreamprotected static L10N L
public HttpsPath(java.lang.String host,
int port)
host - the target hostport - the target port, if zero, uses port 80.public HttpsPath(FilesystemPath root, java.lang.String userPath, java.util.Map<java.lang.String,java.lang.Object> newAttributes, java.lang.String path, java.lang.String query)
root - the HTTP filesystem rootuserPath - the argument to the calling lookup()newAttributes - any attributes passed to httppath - the full normalized pathquery - any query stringprotected HttpPath create(java.lang.String host, int port)
protected HttpPath create(FilesystemPath root, java.lang.String userPath, java.util.Map<java.lang.String,java.lang.Object> newAttributes, java.lang.String path, java.lang.String query)
public java.lang.String getScheme()
protected int getDefaultPort()
getDefaultPort in class HttpPathpublic StreamImpl openReadImpl() throws java.io.IOException
openReadImpl in class HttpPathjava.io.IOExceptionpublic StreamImpl openReadWriteImpl() throws java.io.IOException
openReadWriteImpl in class HttpPathjava.io.IOExceptionpublic int hashCode()