An HTTP response class.
Create a new Arrow::Response object that will reply to the given request (an Apache::Request object).
# File /Users/ged/source/ruby/Arrow/lib/arrow/response.rb, line 59 59: def initialize( request ) 60: @request = request 61: @headers = request.headers_out 62: @errHeaders = request.err_headers_out 63: 64: super() 65: end
--- SEC00095
--- ""
--- - name: errHeaders rw: R a_desc: |+ The <a href="../Apache/Table.html">Apache::Table</a> of HTTP headers which will be sent even when an error occurs, and which persist across internal redirects. - name: headers rw: R a_desc: |+ The <a href="../Apache/Table.html">Apache::Table</a> of response HTTP headers - name: request rw: R a_desc: |+ The <a href="../Apache/Request.html">Apache::Request</a> object
--- - methods: - visibility: public aref: M000373 name: new sourcecode: " <span class=\"ruby-comment cmt\"># File /Users/ged/source/ruby/Arrow/lib/arrow/response.rb, line 59</span>\n\ 59: <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">initialize</span>( <span class=\"ruby-identifier\">request</span> )\n\ 60: <span class=\"ruby-ivar\">@request</span> = <span class=\"ruby-identifier\">request</span>\n\ 61: <span class=\"ruby-ivar\">@headers</span> = <span class=\"ruby-identifier\">request</span>.<span class=\"ruby-identifier\">headers_out</span>\n\ 62: <span class=\"ruby-ivar\">@errHeaders</span> = <span class=\"ruby-identifier\">request</span>.<span class=\"ruby-identifier\">err_headers_out</span>\n\ 63: \n\ 64: <span class=\"ruby-keyword kw\">super</span>()\n\ 65: <span class=\"ruby-keyword kw\">end</span>" m_desc: |- <p> Create a <a href="Response.html#M000373">new</a> <a href="Response.html">Arrow::Response</a> object that will reply to the given <tt>request</tt> (an <a href="../Apache/Request.html">Apache::Request</a> object). </p> params: ( request ) category: Class type: Public
---
--- - name: SVNRev desc: |+ SVN Revision value: "%q$Rev: 437 $" - name: SVNId desc: |+ SVN Id value: "%q$Id: response.rb 437 2008-03-28 00:49:20Z deveiant $" - name: DelegatedMethods desc: |+ The Array of method names to delegate to the request object value: "%w{ << auth_name auth_type bytes_sent cache_resp cache_resp= cancel connection content_encoding= content_languages content_languages= content_type= custom_response escape_html internal_redirect output_buffer print printf putc puts replace send_fd setup_cgi_env status status= status_line status_line= user user= write }"
Generated with the Darkfish Rdoc Generator.