Свойство | Тип | Описание | |
---|---|---|---|
$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. |
Метод | Описание | |
---|---|---|
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 | ||
Результат | string | The application base directory |
public getBaseDirectory ( ) : string | ||
Результат | string | The base directory |
public getPoweredBy ( ) : string | ||
Результат | string | The X-POWERED-BY header |
public getWebappPath ( ) : string | ||
Результат | 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 |
Результат | void |
protected string $appBase | ||
Результат | string |
protected string $baseDirectory | ||
Результат | string |
protected string $poweredBy | ||
Результат | string |
protected string $webappPath | ||
Результат | string |