Author: spadkins
Date: Tue Mar 21 09:47:38 2006
New Revision: 3706
Modified:
p5ee/trunk/App-Context/lib/App/Context/HTTP.pm
Log:
removed response() method (up to Context)
Modified: p5ee/trunk/App-Context/lib/App/Context/HTTP.pm
==============================================================================
--- p5ee/trunk/App-Context/lib/App/Context/HTTP.pm (original)
+++ p5ee/trunk/App-Context/lib/App/Context/HTTP.pm Tue Mar 21 09:47:38 2006
@@ -308,50 +308,6 @@
}
#############################################################################
-# response()
-#############################################################################
-
-=head2 response()
-
- * Signature: $context->response()
- * Param: void
- * Return: void
- * Throws: App::Exception
- * Since: 0.01
-
- Sample Usage:
-
- $context->response();
-
-The response() method gets the current Request being handled in the Context.
-
-=cut
-
-sub response {
- &App::sub_entry if ($App::trace);
- my $self = shift;
-
- my $response = $self->{response};
- if (!defined $response) {
-
- #################################################################
- # RESPONSE
- #################################################################
-
- my $response_class = $self->get_option("response_class",
"App::Response");
-
- eval {
- $response = App->new($response_class, "new", $self,
$self->{options});
- };
- $self->{response} = $response;
- $self->add_message("Context::HTTP::response(): $@") if ($@);
- }
-
- &App::sub_exit($response) if ($App::trace);
- return($response);
-}
-
-#############################################################################
# send_response()
#############################################################################