Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @GET
- public FooView bar(@QueryParam("city") String name) {
- if (name != null) {
- return Response.ok.build();
- } else {
- throw new RuntimeException("city name cannot be null");
- }
- }
- http://localhost:blahblah/city=null
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement