|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplatingProvider
Implementations of this interface represent integration points for various templating engines.
Method Summary | |
---|---|
void |
init(ServletContext servletContext)
Initialization callback. |
void |
writeTo(Object result,
ResponseTemplate annotation,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream os)
Produces the response. |
Method Detail |
---|
void init(ServletContext servletContext)
servletContext
- void writeTo(Object result, ResponseTemplate annotation, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream os) throws IOException
result
- object returned by the JAX-RS methodannotation
- @ResponseTemplate annotation instanceannotations
- annotations available on the JAX-RS methodmediaType
- requested media typehttpHeaders
- request HTTP headersos
- HTTP response output stream
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |