public abstract class AbstractWebEndpoint extends AbstractEndpoint implements WebAppEndpointInstance
WebAppEndpointInstances.| Modifier and Type | Field and Description |
|---|---|
protected NetworkServer |
httpServer |
authenticators, description, properties| Constructor and Description |
|---|
AbstractWebEndpoint(NetworkServer httpServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Stops the endpoint.
|
URL |
getBaseUrl() |
String |
getServletUrl(String servletPath) |
void |
start()
Starts the endpoint.
|
getAuthenticationOptions, getEndpointDescription, getSerializedConfiguration, initialize, setAuthenticators, setSerializedConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServletContextHandlergetAuthenticationOptions, getEndpointDescription, getSerializedConfiguration, initialize, updateAuthenticationOptionsprotected NetworkServer httpServer
public AbstractWebEndpoint(NetworkServer httpServer)
public URL getBaseUrl()
public String getServletUrl(String servletPath)
servletPath - path of the servlet exposing the endpoint, Only the servlet's path, without context prefix.public void start()
throws pl.edu.icm.unity.exceptions.EngineException
EndpointInstancestart in interface EndpointInstancepl.edu.icm.unity.exceptions.EngineExceptionpublic void destroy()
throws pl.edu.icm.unity.exceptions.EngineException
EndpointInstancedestroy in interface EndpointInstancedestroy in class AbstractEndpointpl.edu.icm.unity.exceptions.EngineExceptionCopyright © 2017 Unity. All rights reserved.