Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package teste;
- import java.util.Set;
- import java.util.TreeSet;
- import javax.ws.rs.ApplicationPath;
- import javax.ws.rs.core.Application;
- @ApplicationPath("rs")
- public class App extends Application {
- @Override
- public Set<Class<?>> getClasses() {
- Set<Class<?>> cls = new TreeSet<Class<?>>();
- cls.add(Echo.class);
- return cls;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement