Skip to content

Instantly share code, notes, and snippets.

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

This comment has been minimized.

Copy link

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.