FreeBSD Manual Pages
POE::Component::ServerUserEContributed:PerlvDocumentatrver::NotFoundHandler(3) NAME POE::Component::Server::HTTPServer::NotFoundHandler - Generate 404 Responses SYNOPSIS use POE::Component::Server::HTTPServer; my $server = POE::Component::Server::HTTPServer->new(); $server->handlers( [ '/reallyprivate' => new_handler( 'NotFoundHandler' ), ] ); DESCRIPTION NotFoundHandler generates and returns "404 Not Found" responses. This handler is, by default, set as the backstop handler that HTTPServer will invoke on a request if none of the other handlers have returned H_FINAL. If the "error_message" context attribute is defined, it will be included in the content of the reponse (use with caution). NotFoundHandler is implemented as a singleton. SEE ALSO POE::Component::Server::HTTPServer AUTHOR Greg Fast <gdf@speakeasy.net> COPYRIGHT Copyright 2003 Greg Fast. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.32.0 POE::Component::Server::HTTPServer::NotFoundHandler(3)
NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHOR | COPYRIGHT
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=POE::Component::Server::HTTPServer::NotFoundHandler&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>