public interface PLBaseService
POLYV核心公用的接口定义
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroyProxy()
销毁代理
|
void |
initForwardProxy(String host,
int port,
String scheme)
设置正向代理
|
void |
initReverseProxy(String host,
int port,
String scheme)
设置反向代理
|
void |
initReverseProxy(String host,
int port,
String ipAddress,
String scheme)
设置反向代理(带IP地址)
|
void initForwardProxy(String host, int port, String scheme)
设置正向代理
host - 代理hostport - 代理端口scheme - http/httpsvoid initReverseProxy(String host, int port, String ipAddress, String scheme)
设置反向代理(带IP地址)
host - 代理hostport - 代理端口ipAddress - 代理IP地址scheme - http/httpsvoid initReverseProxy(String host, int port, String scheme)
设置反向代理
host - 代理hostport - 代理端口scheme - http/httpsvoid destroyProxy()
销毁代理
Copyright © 2019. All rights reserved.