Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
@ToString(includePackage = false)
class Response {
int statusCode
String body
private Map<String, String> headers = [:]
void addHeader(String key, String value) {
headers.put(key, value)

This comment has been minimized.

Copy link

@jahs4488 jahs4488 commented Sep 25, 2017

How do I pass this class to Java? please!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.