[logback-dev] svn commit: r1256 - logback/trunk/logback-site/src/site/xdocTemplates/manual

noreply.seb at qos.ch noreply.seb at qos.ch
Fri Jan 19 12:07:08 CET 2007


Author: seb
Date: Fri Jan 19 12:07:07 2007
New Revision: 1256

Modified:
   logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml

Log:
Updated doc on response converters


Modified: logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml
==============================================================================
--- logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml	(original)
+++ logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml	Fri Jan 19 12:07:07 2007
@@ -1672,6 +1672,31 @@
         </p>
       </td>
     </tr>
+    <tr>
+      <td align="center"><b>responseContent</b></td>
+      <td>
+        <p>
+          This conversion word displays the content of the response, that is the
+          response's <code>InputStream</code>. It is used in conjunction with a
+          <a href="../xref/ch/qos/logback/access/servlet/TeeFilter.html">
+          <code>TeeFilter</code></a>, a <code>javax.servlet.Filter</code> that 
+          replaces the original <code>HttpServletResponse</code> 
+          by a <a href="../xref/ch/qos/logback/access/servlet/TeeHttpServletResponse.html">
+          <code>TeeHttpServletResponse</code></a>. The latter object allows
+          access to the requet's <code>InputStream</code> multiple times without
+          any loss of data.
+        </p>
+      </td>
+    </tr>
+    <tr>
+      <td align="center"><b>fullResponse</b></td>
+      <td>
+        <p>
+          This conversion word takes all the available headers of the
+          response and displays their values.
+        </p>
+      </td>
+    </tr>
 		</table>
 		
 		<p>Logback access' <code>PatternLayout</code> also recognize three keywords, which



More information about the logback-dev mailing list