public class RestProtocol extends AbstractProxyProtocol
| Constructor and Description |
|---|
RestProtocol() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy protocol:
1. |
int |
getDefaultPort()
Get default port when user doesn't config the port.
|
void |
setHttpBinder(HttpBinder httpBinder) |
addRpcException, export, getProxyFactory, refer, setProxyFactorypublic void setHttpBinder(HttpBinder httpBinder)
public int getDefaultPort()
Protocolpublic void destroy()
Protocoldestroy in interface Protocoldestroy in class AbstractProtocolCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.