Created
August 2, 2012 12:52
-
-
Save jjviana/3236809 to your computer and use it in GitHub Desktop.
Samplr custom Request
This file contains 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
import com.logicstyle.samplr.Request; | |
public class MyRequest extends Request { | |
private Integer requestParam1; | |
private String requestParam2; | |
public MyRequest(Integer requestParam1, String requestParam2) { | |
this.requestParam1 = requestParam1; | |
this.requestParam2 = requestParam2; | |
} | |
@Override | |
public String toString() { | |
return super.toString()+ | |
"\nMyRequest{" + "requestParam1=" + requestParam1 + ", requestParam2=" + requestParam2 + "}\n"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment