Package org.zalando.logbook
Class HttpLogFormatterBenchmark
- java.lang.Object
-
- org.zalando.logbook.HttpLogFormatterBenchmark
-
- Direct Known Subclasses:
HttpLogFormatterBenchmark_jmhType_B1
public class HttpLogFormatterBenchmark extends Object
-
-
Constructor Summary
Constructors Constructor Description HttpLogFormatterBenchmark()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectdefaultRequest(RequestResponseState state, HttpLogFormatterState httpLogFormatterState)ObjectdefaultResponse(RequestResponseState state, HttpLogFormatterState httpLogFormatterState)ObjectfastJsonRequest(RequestResponseState state, HttpLogFormatterState httpLogFormatterState)ObjectfastJsonResponse(RequestResponseState state, HttpLogFormatterState httpLogFormatterState)ObjectjsonRequest(RequestResponseState state, HttpLogFormatterState httpLogFormatterState)ObjectjsonResponse(RequestResponseState state, HttpLogFormatterState httpLogFormatterState)static voidmain(String[] args)
-
-
-
Method Detail
-
jsonRequest
public Object jsonRequest(RequestResponseState state, HttpLogFormatterState httpLogFormatterState) throws Exception
- Throws:
Exception
-
jsonResponse
public Object jsonResponse(RequestResponseState state, HttpLogFormatterState httpLogFormatterState) throws Exception
- Throws:
Exception
-
fastJsonRequest
public Object fastJsonRequest(RequestResponseState state, HttpLogFormatterState httpLogFormatterState) throws Exception
- Throws:
Exception
-
fastJsonResponse
public Object fastJsonResponse(RequestResponseState state, HttpLogFormatterState httpLogFormatterState) throws Exception
- Throws:
Exception
-
defaultRequest
public Object defaultRequest(RequestResponseState state, HttpLogFormatterState httpLogFormatterState) throws Exception
- Throws:
Exception
-
defaultResponse
public Object defaultResponse(RequestResponseState state, HttpLogFormatterState httpLogFormatterState) throws Exception
- Throws:
Exception
-
main
public static void main(String[] args) throws org.openjdk.jmh.runner.RunnerException
- Throws:
org.openjdk.jmh.runner.RunnerException
-
-