public abstract class HttpDocumentation extends Object
Modifier and Type | Method and Description |
---|---|
static SnippetWritingResultHandler |
documentHttpRequest(String outputDir)
Produces a documentation snippet containing the request formatted as an HTTP
request
|
static SnippetWritingResultHandler |
documentHttpResponse(String outputDir)
Produces a documentation snippet containing the response formatted as the HTTP
response sent by the server
|
public static SnippetWritingResultHandler documentHttpRequest(String outputDir)
outputDir
- The directory to which snippet should be writtenpublic static SnippetWritingResultHandler documentHttpResponse(String outputDir)
outputDir
- The directory to which snippet should be written