Advertisement
sombriks

App.java

Sep 3rd, 2011
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 0.35 KB | None | 0 0
  1. package teste;
  2.  
  3. import java.util.Set;
  4. import java.util.TreeSet;
  5.  
  6. import javax.ws.rs.ApplicationPath;
  7. import javax.ws.rs.core.Application;
  8.  
  9. @ApplicationPath("rs")
  10. public class App extends Application {
  11.  
  12.     @Override
  13.     public Set<Class<?>> getClasses() {
  14.         Set<Class<?>> cls = new TreeSet<Class<?>>();
  15.         cls.add(Echo.class);
  16.         return cls;
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement