Created
October 18, 2017 09:41
-
-
Save wiesson/18995c3ac1a664fee51b128f1041dd67 to your computer and use it in GitHub Desktop.
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
@Path("people/{personId}") | |
private static class PersonResource { | |
@PathParam("personId") | |
protected long personId; | |
@GET | |
public Person getPerson() { | |
return null; | |
} | |
@GET | |
@Path("address/{addressId}") | |
public Address getAddress(@PathParam("addressId") long addressId) { | |
return null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment