org.jboss.resteasy.plugins.providers.html
Interface Renderable

All Known Implementing Classes:
Redirect, View

public interface Renderable

If you return one of these from a resource method, RESTEasy-HTML will render it. This interface allows for exotic view rendering types.

Author:
Jeff Schnitzer

Method Summary
 void render(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Called to do the actual work of rendering a view.
 

Method Detail

render

void render(javax.servlet.http.HttpServletRequest request,
            javax.servlet.http.HttpServletResponse response)
            throws IOException,
                   javax.servlet.ServletException,
                   WebApplicationException
Called to do the actual work of rendering a view. Note that while ServletException can be thrown, WebApplicationException is preferred.

Throws:
IOException
javax.servlet.ServletException
WebApplicationException


Copyright © 2011. All Rights Reserved.