RequestContext::setBaseUrl()

RequestContext setBaseUrl(string $baseUrl) Sets the base URL. Parameters string $baseUrl The base URL Return Value RequestContext The current instance, implementing a fluent interface

RequestContext::hasParameter()

bool hasParameter(string $name) Checks if a parameter value is set for the given parameter. Parameters string $name A parameter name Return Value bool True if the parameter value is set, false otherwise

RequestContext::setHttpPort()

RequestContext setHttpPort(int $httpPort) Sets the HTTP port. Parameters int $httpPort The HTTP port Return Value RequestContext The current instance, implementing a fluent interface

RequestContext::getParameter()

mixed getParameter(string $name) Gets a parameter value. Parameters string $name A parameter name Return Value mixed The parameter value or null if nonexistent

RequestContext::getMethod()

string getMethod() Gets the HTTP method. The method is always an uppercased string. Return Value string The HTTP method

RequestContext::getQueryString()

string getQueryString() Gets the query string. Return Value string The query string without the "?"

RequestContext::getScheme()

string getScheme() Gets the HTTP scheme. Return Value string The HTTP scheme

RequestContext::getPathInfo()

string getPathInfo() Gets the path info. Return Value string The path info

RequestContext::getParameters()

array getParameters() Returns the parameters. Return Value array The parameters

RequestContext::getHost()

string getHost() Gets the HTTP host. The host is always lowercased because it must be treated case-insensitive. Return Value string The HTTP host