public abstract class BaseRestProtocolServer extends Object implements RestProtocolServer
| Constructor and Description |
|---|
BaseRestProtocolServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(Class resourceDef,
Object resourceInstance,
String contextPath) |
String |
getAddress() |
void |
setAddress(String address) |
void |
start(URL url) |
void |
undeploy(Class resourceDef) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getRemotingServer, getUrl, reset, setRemotingServerspublic void start(URL url)
start in interface RestProtocolServerpublic void deploy(Class resourceDef, Object resourceInstance, String contextPath)
deploy in interface RestProtocolServerresourceDef - it could be either resource interface or resource implpublic void undeploy(Class resourceDef)
undeploy in interface RestProtocolServerpublic String getAddress()
getAddress in interface ProtocolServerpublic void setAddress(String address)
setAddress in interface ProtocolServerCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.