@@ -0,0 +1,906 @@
+package com.google.tripmeout.frontend.servlet;%0A%0Aimport com.google.tripmeout.frontend.storage.TripStorage;%0Aimport com.google.gson.Gson;%0Aimport java.io.IOException;%0Aimport java.util.Optional;%0Aimport java.util.UUID;%0Aimport javax.inject.Inject;%0Aimport javax.servlet.http.HttpServlet;%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0A%0Apublic class TripParentServlet extends HttpServlet%7B%0A%0A    private final Gson gson;%0A    %0A    @Inject%0A    public TripParentServlet(Gson gson)%7B%0A        this.gson = gson;%0A    %7D%0A%0A    @Override%0A    public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException %7B%0A    %0A    response.setContentType(%22application/json%22) ; %0A    response.getWriter().print(gson.toJson());%0A    %7D%0A%0A    @Override%0A    public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException %7B%0A%0A        %0A    %7D%0A%0A%7D

create servelt with doPost and doGet