Class FreemarkerResource

java.lang.Object
org.glassfish.jersey.examples.freemarker.resources.FreemarkerResource

@Path("/") public class FreemarkerResource extends Object
Author:
Pavel Bucek
  • 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()