Package org.jboss.portletbridge

Examples of org.jboss.portletbridge.BufferedRenderResponseWrapper


   }

  public void paint(OutputStream stream, Object object) throws IOException {
      Object responseObject = FacesContext.getCurrentInstance().getExternalContext().getResponse();
      if (responseObject instanceof RenderResponse) {
        BufferedRenderResponseWrapper brrw = (BufferedRenderResponseWrapper)responseObject;
         RenderResponse response = brrw.getResponse();
         response.getPortletOutputStream().write(getFiles().get((Integer)object).getData());

      }else{
         //servlet response
         stream.write(getFiles().get((Integer)object).getData());
View Full Code Here

TOP

Related Classes of org.jboss.portletbridge.BufferedRenderResponseWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.