public interface ServletAdapterFactory extends AdapterFactory
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.Servlet |
createAdapter(CdsRuntime runtime)
Returns the adapter servlet, initialized with the
CdsRuntime |
String |
getBasePath() |
String[] |
getMappings(CdsRuntime runtime)
Returns an array of all paths this servlet should be mapped to.
|
UrlResourcePath |
getServletPath(CdsRuntime runtime)
Returns the
Stream of UrlResourcePaths that are exposed by the servlet. |
isEnabledjavax.servlet.Servlet createAdapter(CdsRuntime runtime)
CdsRuntimecreateAdapter in interface AdapterFactoryruntime - the CdsRuntimeString getBasePath()
String[] getMappings(CdsRuntime runtime)
/**.
In the standard servlet API these are usually given only as /*.runtime - The CdsRuntimeUrlResourcePath getServletPath(CdsRuntime runtime)
Stream of UrlResourcePaths that are exposed by the servlet.runtime - The CdsRuntime.UrlResourcePathsCopyright © 2021. All rights reserved.