public abstract class AbstractWebEndpoint extends AbstractEndpoint implements WebAppEndpointInstance
WebAppEndpointInstance
s.Modifier and Type | Field and Description |
---|---|
protected NetworkServer |
httpServer |
authenticationFlows, description, properties
Constructor and Description |
---|
AbstractWebEndpoint(NetworkServer httpServer) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Stops the endpoint.
|
protected void |
destroyOverridable() |
URL |
getBaseUrl() |
String |
getServletUrl(String servletPath) |
void |
start()
Starts the endpoint.
|
protected void |
startOverridable() |
getAuthenticationFlows, getEndpointDescription, getSerializedConfiguration, initialize, setAuthenticators, setSerializedConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServletContextHandler
getAuthenticationFlows, getEndpointDescription, getSerializedConfiguration, initialize, updateAuthenticationFlows
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 final void start() throws pl.edu.icm.unity.exceptions.EngineException
EndpointInstance
start
in interface EndpointInstance
pl.edu.icm.unity.exceptions.EngineException
protected void startOverridable()
public final void destroy() throws pl.edu.icm.unity.exceptions.EngineException
EndpointInstance
destroy
in interface EndpointInstance
destroy
in class AbstractEndpoint
pl.edu.icm.unity.exceptions.EngineException
protected void destroyOverridable()
Copyright © 2018 Unity. All rights reserved.