Last active
August 29, 2015 13:55
-
-
Save hstaudacher/8784370 to your computer and use it in GitHub Desktop.
OSGi-JAX-RS Connector ExampleResource
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
package osgi.rest.example; | |
import javax.ws.rs.GET; | |
import javax.ws.rs.Path; | |
@Path( "/hello" ) | |
public class ExampleResource { | |
@GET | |
public String helloWorld() { | |
return "Hello World"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment