comparison src/main/java/de/intevation/rest/JaxRsActivator.java @ 3:79e1144949d9

Added class to provide basically a REST service under "rest" url.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 18 Apr 2013 11:29:32 +0200
parents
children
comparison
equal deleted inserted replaced
2:6a7a8c67987d 3:79e1144949d9
1 package de.intevation.rest;
2
3 import javax.ws.rs.ApplicationPath;
4 import javax.ws.rs.core.Application;
5
6 /**
7 * A class extending {@link Application} and annotated with @ApplicationPath is the Java EE 6
8 * "no XML" approach to activating JAX-RS.
9 *
10 * <p>
11 * Resources are served relative to the servlet path specified in the {@link ApplicationPath}
12 * annotation.
13 * </p>
14 */
15 @ApplicationPath("/rest")
16 public class JaxRsActivator extends Application {
17 /* class body intentionally left blank */
18 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)