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 java.lang.Object

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

Constructor Summary
FreemarkerResource()
           
 
Method Summary
 Viewable getAutoTemplate()
           
 Viewable getHello()
           
 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 Viewable getHello()

getAutoTemplate

@GET
@Path(value="autoTemplate")
@Produces(value="text/html")
public Viewable getAutoTemplate()

getHelloWithoutSuffix

@GET
@Path(value="helloWithoutSuffix")
@Produces(value="text/html")
public Viewable getHelloWithoutSuffix()


Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.