public abstract class AbstractWebEndpoint extends AbstractEndpoint implements WebAppEndpointInstance
WebAppEndpointInstance
s.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, setSerializedConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServletContextHandler
getAuthenticationOptions, getEndpointDescription, getSerializedConfiguration, initialize, updateAuthenticationOptions
protected 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
EndpointInstance
start
in interface EndpointInstance
pl.edu.icm.unity.exceptions.EngineException
public void destroy() throws pl.edu.icm.unity.exceptions.EngineException
EndpointInstance
destroy
in interface EndpointInstance
destroy
in class AbstractEndpoint
pl.edu.icm.unity.exceptions.EngineException
Copyright © 2017 Unity. All rights reserved.