Lambda Function Java
public class MsgHandler implements RequestHandler<String, String> {
    public String handleRequest(String input, Context ctx) {
        context.getLogger().log("Input: " + input);
        return "Hello World - " + input;
    }
}
public class StreamHandler implements RequestStreamHandler {
    public void handleRequest(InputStream is, OutputStream os, Context ctx) {
        String input = IOUtils.toString(is, "UTF-8");
        os.write(("Hello World - " + input).getBytes());
    }
}
public class NoInterfaceHandler {
    public String customHandle(String input, Context context) {
        context.getLogger().log("Input: " + input);
        return "Hello World - " + input;
    }
}