Property | Type | Description | |
---|---|---|---|
$appBase | string | The path to the application base directory. | |
$baseDirectory | string | The path to the application server's base directory. | |
$poweredBy | string | The string for the X-POWERED-BY header. | |
$webappPath | string | The path to the actual web application -> the base directory for DHTML templates. |
Method | Description | |
---|---|---|
getAppBase ( ) : string | Returns the path to the application base directory. | |
getBaseDirectory ( ) : string | Returns the absolute path to the base directory. | |
getPoweredBy ( ) : string | Returns the string for the X-POWERED-BY header. | |
getWebappPath ( ) : string | Returns the path to the web application. | |
init ( AppserverIo\Psr\Servlet\ServletConfigInterface $servletConfig ) : void | Initializes the servlet with the passed configuration. | |
service ( AppserverIo\Psr\Servlet\ServletRequestInterface $servletRequest, AppserverIo\Psr\Servlet\ServletResponseInterface $servletResponse ) : void | Processes the DHTML file specified as servlet name. |
public getAppBase ( ) : string | ||
return | string | The application base directory |
public getBaseDirectory ( ) : string | ||
return | string | The base directory |
public getPoweredBy ( ) : string | ||
return | string | The X-POWERED-BY header |
public getWebappPath ( ) : string | ||
return | string | The path to the web application |
public service ( AppserverIo\Psr\Servlet\ServletRequestInterface $servletRequest, AppserverIo\Psr\Servlet\ServletResponseInterface $servletResponse ) : void | ||
$servletRequest | AppserverIo\Psr\Servlet\ServletRequestInterface | The request instance |
$servletResponse | AppserverIo\Psr\Servlet\ServletResponseInterface | The response sent back to the client |
return | void |
protected string $appBase | ||
return | string |
protected string $baseDirectory | ||
return | string |
protected string $poweredBy | ||
return | string |
protected string $webappPath | ||
return | string |