Created
October 17, 2014 09:27
-
-
Save sauthieg/511c1818b1d84553f31a to your computer and use it in GitHub Desktop.
Prints the content of the session on System.out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import groovy.json.JsonOutput | |
println "SESSION BEFORE" | |
println JsonOutput.prettyPrint(JsonOutput.toJson(exchange.session)) | |
next.handle(exchange) | |
println "SESSION AFTER" | |
println JsonOutput.prettyPrint(JsonOutput.toJson(exchange.session)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment