public class HttpProtocol extends AbstractProxyProtocol
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ACCESS_CONTROL_ALLOW_HEADERS_HEADER |
static String |
ACCESS_CONTROL_ALLOW_METHODS_HEADER |
static String |
ACCESS_CONTROL_ALLOW_ORIGIN_HEADER |
| 构造器和说明 |
|---|
HttpProtocol() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy()
Destroy protocol:
1. |
int |
getDefaultPort()
Get default port when user doesn't config the port.
|
void |
setHttpBinder(HttpBinder httpBinder) |
addRpcException, export, getProxyFactory, setProxyFactorygetExporterMap, getExporters, getServers, referpublic static final String ACCESS_CONTROL_ALLOW_ORIGIN_HEADER
public static final String ACCESS_CONTROL_ALLOW_METHODS_HEADER
public void setHttpBinder(HttpBinder httpBinder)
public int getDefaultPort()
Protocolpublic void destroy()
Protocoldestroy 在接口中 Protocoldestroy 在类中 AbstractProtocolCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.