Package | Description |
---|---|
cn.orionsec.kit.net.host |
Modifier and Type | Method and Description |
---|---|
SessionStore |
SessionStore.clientVersion(String version)
设置客户端版本
|
SessionStore |
SessionStore.config(String key,
String value)
设置属性
|
SessionStore |
SessionStore.connect()
建立连接
|
SessionStore |
SessionStore.connect(int timeout)
建立连接
|
SessionStore |
SessionStore.daemonThread(boolean daemon)
设置是否守护进程
|
SessionStore |
SessionHolder.getSession(String host,
int port,
String username)
获取一个 SessionStore
|
SessionStore |
SessionHolder.getSession(String host,
String username)
获取一个 SessionStore
|
SessionStore |
SessionStore.httpProxy(String host,
int port) |
SessionStore |
SessionStore.httpProxy(String host,
int port,
String username,
String password) |
SessionStore |
SessionStore.password(byte[] password)
设置密码
|
SessionStore |
SessionStore.password(String password)
设置密码
|
SessionStore |
SessionStore.proxy(SessionProxyType type,
String host,
int port) |
SessionStore |
SessionStore.proxy(SessionProxyType type,
String host,
int port,
String username,
String password)
设置代理
|
SessionStore |
SessionStore.socks4Proxy(String host,
int port) |
SessionStore |
SessionStore.socks4Proxy(String host,
int port,
String username,
String password) |
SessionStore |
SessionStore.socks5Proxy(String host,
int port) |
SessionStore |
SessionStore.socks5Proxy(String host,
int port,
String username,
String password) |
SessionStore |
SessionStore.timeout(int timeout)
设置连接超时时间
|
Copyright © 2024. All rights reserved.