AppserverIo\Appserver\ServletEngine\Http\Request::setContextPath PHP Method

setContextPath() public method

Sets the application context name (application name prefixed with a slash) for the actual request.
public setContextPath ( string $contextPath ) : void
$contextPath string The application context name
return void
    public function setContextPath($contextPath)
    {
        $this->contextPath = $contextPath;
    }