Package DE_EPAGES::Content::Servlet::ShortURL
Servlet to map domain names and short URLs to shop pages.
Functions
handleFalseUrlEncoding
Handles the error "FalseUrlEncoding". This function sets the HTTP status 404 - "Not Found", displays an error message and logs a warning message containing QUERY_STRING and HTTP_REFERER.
Syntax |
$Servlet->handleFalseUrlEncoding( $Url ); |
Input |
|
logUserFault
Logs a message using the log level "WARN" and log category 'USERFAULT::'.$Code
Syntax |
$Servlet->logUserFault( $Code, $Message ); |
Input |
|
new
Create a new servlet. Normally called by DE_EPAGES::WebInterface::API::ApplicationServer::run
Syntax |
$Servlet = DE_EPAGES::Content::Servlet::ShortURL->new; |
Return |
|
viewError
This function sets the HTTP status 404 - "Domain Not Found" and shows an error message.
Syntax |
$Servlet->viewError( $Message ); |
Input |
|