org.glassfish.jersey.examples.helloworld.spring
Class JerseyResource
java.lang.Object
org.glassfish.jersey.examples.helloworld.spring.JerseyResource
@Path(value="jersey-hello")
public class JerseyResource
- extends Object
Jersey2 Spring integration example.
Demonstrate how to inject a Spring bean into a Jersey managed JAX-RS resource class.
- Author:
- Marko Asplund (marko.asplund at gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JerseyResource
public JerseyResource()
getHello
@GET
@Produces(value="text/plain")
public String getHello()
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.