org.glassfish.jersey.examples.freemarker.resources
Class FreemarkerResource

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

@Path(value="/")
public class FreemarkerResource
extends Object

Author:
Pavel Bucek (pavel.bucek at oracle.com)

Constructor Summary
FreemarkerResource()
           
 
Method Summary
 org.glassfish.jersey.server.mvc.Viewable getAutoTemplate()
           
 org.glassfish.jersey.server.mvc.Viewable getHello()
           
 org.glassfish.jersey.server.mvc.Viewable getHelloWithoutSuffix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreemarkerResource

public FreemarkerResource()
Method Detail

getHello

@GET
@Path(value="hello")
@Produces(value="text/html")
public org.glassfish.jersey.server.mvc.Viewable getHello()

getAutoTemplate

@GET
@Path(value="autoTemplate")
@Produces(value="text/html")
public org.glassfish.jersey.server.mvc.Viewable getAutoTemplate()

getHelloWithoutSuffix

@GET
@Path(value="helloWithoutSuffix")
@Produces(value="text/html")
public org.glassfish.jersey.server.mvc.Viewable getHelloWithoutSuffix()


Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.