public class JspTemplateProcessor extends DefaultTemplateProcessor<String>
servlet context.| Constructor and Description |
|---|
JspTemplateProcessor(javax.ws.rs.core.Configuration config)
Creates new
template processor for JSP. |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
getExtensions() |
String |
resolve(String name,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(String templateReference,
Viewable viewable,
javax.ws.rs.core.MediaType mediaType,
OutputStream out) |
getBasePath, getPossibleTemplateNames, getTemplateName, setBasePathFromPropertypublic JspTemplateProcessor(@Context
javax.ws.rs.core.Configuration config)
template processor for JSP.config - configuration to obtain init param from.protected List<String> getExtensions()
getExtensions in class DefaultTemplateProcessor<String>public void writeTo(String templateReference, Viewable viewable, javax.ws.rs.core.MediaType mediaType, OutputStream out) throws IOException
IOExceptionCopyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.