org.apache.sling.testing.tools.http
Class RequestDocumentor
java.lang.Object
org.apache.sling.testing.tools.http.RequestDocumentor
public class RequestDocumentor
- extends java.lang.Object
Generate RESTful API documentation based on actual requests
executed during integration tests, enhanced with user-supplied
bits of documentation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OUTPUT_BASE
public static final java.lang.String OUTPUT_BASE
RequestDocumentor
public RequestDocumentor(java.lang.String name)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getOutputFile
protected java.io.File getOutputFile()
documentRequest
protected void documentRequest(java.io.PrintWriter pw,
RequestExecutor executor,
java.lang.String[] metadataArray)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.