title: @FormParam convert to Spring MVC
body: <p>I am using the latest version of Spring. I have to integrate with a third party server of company A. Now, company A has given me this code:</p>
  
  <pre><code>Path("/user")
  public class CallBacks {
  
      String hostDB="jdbc:mysql://localhost:3306/matchmove";
      String username="root";
      String password="password";
  
        @POST
        @Path("/add")
      //  @Consumes(MediaType.APPLICATION_FORM_URLENCODED)
        public Response receive(
          @FormParam("id") String id,
          @FormParam("amount") String amount,
          @FormParam("asset_code") String assetCode,
          @FormParam("asset_issuer") String assetIssuer,
          @FormParam("memo") String memo) throws NumberFormatException, SQLException {
  
  return Response.ok().build();
  }
  </code></pre>
  
  <p>I want to use Spring as the rest of my project is in Spring! Can some one please advice on the following: </p>
  
  <ol>
  <li>Which annotation can I use in place of <code>@FormParam</code>?</li>
  <li>What can I use in place of <code>Response.ok().build()</code>?</li>
  </ol>
  
  <p>Thank you</p>