Created
June 15, 2017 19:24
-
-
Save mikebroberts/f473d86a69956580fbafec7644b0cf5e to your computer and use it in GitHub Desktop.
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
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