getServletContext()
public method
Returns the servlet context instance.
public getServletContext ( ) : AppserverIo\Psr\Servlet\ServletContextInterface |
return |
AppserverIo\Psr\Servlet\ServletContextInterface |
The servlet context instance |
injectServletContext()
public method
Inject the servlet context instance.
public injectServletContext ( AppserverIo\Psr\Servlet\ServletContextInterface $servletContext ) : void |
$servletContext |
AppserverIo\Psr\Servlet\ServletContextInterface |
The servlet context instance |
return |
void |
|
$servletContext protected property
The servlet context we want to parse the deployment descriptor for.
protected ServletContextInterface,AppserverIo\Psr\Servlet $servletContext |
return |
AppserverIo\Psr\Servlet\ServletContextInterface |
|