java.lang.Object
org.glassfish.jersey.examples.freemarker.resources.FreemarkerResource
@Path("/")
public class FreemarkerResource
extends Object
- Author:
- Pavel Bucek
-
Constructor Summary
Constructors
-
Method Summary
org.glassfish.jersey.server.mvc.Viewable
org.glassfish.jersey.server.mvc.Viewable
org.glassfish.jersey.server.mvc.Viewable
org.glassfish.jersey.server.mvc.Viewable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FreemarkerResource
public FreemarkerResource()
-
Method Details
-
getHello
@GET
@Path("hello")
@Produces("text/html")
public org.glassfish.jersey.server.mvc.Viewable getHello()
-
getHelloWithDefaultModel
@GET
@Path("hello-default-model")
@Produces("text/html")
public org.glassfish.jersey.server.mvc.Viewable getHelloWithDefaultModel()
-
getAutoTemplate
@GET
@Path("autoTemplate")
@Produces("text/html")
public org.glassfish.jersey.server.mvc.Viewable getAutoTemplate()
-
getHelloWithoutSuffix
@GET
@Path("helloWithoutSuffix")
@Produces("text/html")
public org.glassfish.jersey.server.mvc.Viewable getHelloWithoutSuffix()