public class RnshHttpClient extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RnshHttpClient.ExecResult |
static class |
RnshHttpClient.LoginResult |
static class |
RnshHttpClient.NFileInfo |
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT_PATH_PARAM |
| Constructor and Description |
|---|
RnshHttpClient() |
| Modifier and Type | Method and Description |
|---|---|
String |
digest(String remotePath,
String algo) |
List<net.thevpc.nuts.io.NPathChildStringDigestInfo> |
directoryListDigest(String remotePath,
String algo) |
RnshHttpClient |
ensureConnected() |
boolean |
ensureConnectedSafely() |
RnshHttpClient.ExecResult |
exec(String... command) |
int |
exec(String[] command,
boolean rawCommand,
InputStream in,
OutputStream out0,
OutputStream err) |
RnshHttpClient.ExecResult |
exec(String[] command,
net.thevpc.nuts.io.NInputContentProvider inputSource) |
net.thevpc.nuts.net.NConnectionString |
getConnectionString() |
net.thevpc.nuts.io.NInputSource |
getFile(String remotePath) |
void |
getFile(String remotePath,
String localPath) |
RnshHttpClient.NFileInfo |
getFileInfo(String remotePath) |
boolean |
isValidAccessToken() |
boolean |
isValidRefreshToken() |
boolean |
isWarningRefreshToken() |
RnshHttpClient.NFileInfo[] |
listFileInfos(String remotePath) |
String[] |
listNames(String remotePath) |
void |
login(String login,
String password) |
void |
putFile(net.thevpc.nuts.io.NInputContentProvider localPath,
String remotePath) |
void |
putFile(String localPath,
String remotePath) |
RnshHttpClient |
setConnectionString(net.thevpc.nuts.net.NConnectionString connectionString) |
String |
version() |
public static final String CONTEXT_PATH_PARAM
public net.thevpc.nuts.net.NConnectionString getConnectionString()
public RnshHttpClient setConnectionString(net.thevpc.nuts.net.NConnectionString connectionString)
public String version()
public net.thevpc.nuts.io.NInputSource getFile(String remotePath)
public void putFile(net.thevpc.nuts.io.NInputContentProvider localPath,
String remotePath)
public boolean ensureConnectedSafely()
public RnshHttpClient ensureConnected()
public boolean isValidAccessToken()
public boolean isWarningRefreshToken()
public boolean isValidRefreshToken()
public int exec(String[] command, boolean rawCommand, InputStream in, OutputStream out0, OutputStream err)
public RnshHttpClient.ExecResult exec(String... command)
public RnshHttpClient.ExecResult exec(String[] command, net.thevpc.nuts.io.NInputContentProvider inputSource)
public RnshHttpClient.NFileInfo getFileInfo(String remotePath)
public List<net.thevpc.nuts.io.NPathChildStringDigestInfo> directoryListDigest(String remotePath, String algo)
public RnshHttpClient.NFileInfo[] listFileInfos(String remotePath)
Copyright © 2026 vpc open source initiative. All rights reserved.