Skip to content

Instantly share code, notes, and snippets.

@mikebroberts
Created June 15, 2017 19:24
Show Gist options
  • Save mikebroberts/f473d86a69956580fbafec7644b0cf5e to your computer and use it in GitHub Desktop.
Save mikebroberts/f473d86a69956580fbafec7644b0cf5e to your computer and use it in GitHub Desktop.
package io.symphonia;
public class PojoLambda {
public PojoResponse handlerPojo(PojoInput input) {
return new PojoResponse("Input was " + input.c);
}
public static class PojoInput {
public String c;
}
public static class PojoResponse {
public final String d;
PojoResponse(String d) {
this.d = d;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment