org.glassfish.jersey.examples.monitoring
Class MyResource
java.lang.Object
org.glassfish.jersey.examples.monitoring.MyResource
@Path(value="resource")
public class MyResource
- extends Object
- Author:
- Miroslav Fuksa (miroslav.fuksa at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyResource
public MyResource()
testGet
@GET
public String testGet()
testPost
@POST
public String testPost()
testSubGet
@GET
@Path(value="sub")
public String testSubGet()
testException
@GET
@Path(value="exception")
public String testException()
testSu2bPost
@POST
@Path(value="sub2")
@Produces(value="text/html")
@Consumes(value="text/plain")
public String testSu2bPost(String entity)
getSubResource
@Path(value="locator")
public SubResource getSubResource()
Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.