public class YakJspTemplateProcessor
extends org.glassfish.jersey.server.mvc.spi.AbstractTemplateProcessor<java.lang.String>
| Constructor and Description |
|---|
YakJspTemplateProcessor(javax.ws.rs.core.Configuration config,
javax.servlet.ServletContext servletContext)
Create an instance of this processor with injected
config and
(optional) servlet context. |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
resolve(java.lang.String templatePath,
java.io.Reader reader) |
void |
writeTo(java.lang.String templateReference,
org.glassfish.jersey.server.mvc.Viewable viewable,
javax.ws.rs.core.MediaType mediaType,
java.io.OutputStream out) |
@Inject
public YakJspTemplateProcessor(javax.ws.rs.core.Configuration config,
javax.servlet.ServletContext servletContext)
config and
(optional) servlet context.config - configuration to configure this processor from.servletContext - (optional) servlet context to obtain template resources from.protected java.lang.String resolve(java.lang.String templatePath,
java.io.Reader reader)
throws java.lang.Exception
resolve in class org.glassfish.jersey.server.mvc.spi.AbstractTemplateProcessor<java.lang.String>java.lang.Exceptionpublic void writeTo(java.lang.String templateReference,
org.glassfish.jersey.server.mvc.Viewable viewable,
javax.ws.rs.core.MediaType mediaType,
java.io.OutputStream out)
throws java.io.IOException
java.io.IOException