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(com.sap.cds.reflect.CdsModel model)
Returns an array of all paths this servlet should be mapped to.
|
UrlResourcePath |
getServletPath(com.sap.cds.reflect.CdsModel model)
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(com.sap.cds.reflect.CdsModel model)
/**.
In the standard servlet API these are usually given only as /*.model - The CdsModelUrlResourcePath getServletPath(com.sap.cds.reflect.CdsModel model)
Stream of UrlResourcePaths that are exposed by the servlet.model - The CdsModel.UrlResourcePathsCopyright © 2020. All rights reserved.