public class PrintRequestListener extends Object implements MechRequestListener
mech.addRequestListener(new PrintRequestListener(System.out));
| Constructor and Description |
|---|
PrintRequestListener()
Create instance with System.out.
|
PrintRequestListener(PrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
call(org.apache.http.HttpRequest req,
org.apache.http.HttpResponse res) |
PrintRequestListener |
enableJsonPrettyPrintFilter() |
public PrintRequestListener()
public PrintRequestListener(PrintStream out)
public PrintRequestListener enableJsonPrettyPrintFilter()
public void call(org.apache.http.HttpRequest req,
org.apache.http.HttpResponse res)
call in interface MechRequestListenerCopyright © 2014. All rights reserved.