public abstract class AbstractWebEndpoint extends AbstractEndpoint implements WebAppEndpointInstance
WebAppEndpointInstances.| 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, setSerializedConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServletContextHandlergetAuthenticationFlows, getEndpointDescription, getSerializedConfiguration, initialize, updateAuthenticationFlowsprotected 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
EndpointInstancestart in interface EndpointInstancepl.edu.icm.unity.exceptions.EngineExceptionprotected void startOverridable()
public final void destroy()
throws pl.edu.icm.unity.exceptions.EngineException
EndpointInstancedestroy in interface EndpointInstancedestroy in class AbstractEndpointpl.edu.icm.unity.exceptions.EngineExceptionprotected void destroyOverridable()
Copyright © 2018 Unity. All rights reserved.