org.apache.sling.testing.tools.http
Class RequestDocumentor
java.lang.Object
org.apache.sling.testing.tools.http.RequestDocumentor
public class RequestDocumentor
- extends Object
Generate RESTful API documentation based on actual requests
executed during integration tests, enhanced with user-supplied
bits of documentation.
OUTPUT_BASE
public static final String OUTPUT_BASE
RequestDocumentor
public RequestDocumentor(String name)
toString
public String toString()
- Overrides:
toString in class Object
getOutputFile
protected File getOutputFile()
documentRequest
protected void documentRequest(PrintWriter pw,
RequestExecutor executor,
String[] metadataArray)
throws IOException
- Throws:
IOException
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.