net.sf.jasperreports.jsf.util
Class ExternalContextHelper
java.lang.Object
net.sf.jasperreports.jsf.util.ExternalContextHelper
public abstract class ExternalContextHelper
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalContextHelper
protected ExternalContextHelper()
getInstance
public static ExternalContextHelper getInstance(FacesContext context)
isPortletAvailable
protected static boolean isPortletAvailable()
getPortletVersion
protected static String getPortletVersion()
getRequestURI
public abstract String getRequestURI(FacesContext context)
- Gets the request uri.
- Parameters:
context - the context
- Returns:
- the request uri
writeHeaders
public abstract void writeHeaders(FacesContext context,
ReportRenderer renderer,
UIReport report)
throws IOException
- Throws:
IOException
writeResponse
public abstract void writeResponse(FacesContext context,
String contentType,
byte[] data)
throws IOException
- Write response.
- Parameters:
context - the contextcontentType - the content typedata - the data
- Throws:
IOException - Signals that an I/O exception has occurred.
encodeContentDisposition
protected String encodeContentDisposition(ReportRenderer renderer,
UIReport report,
String enc)
throws IOException
- Throws:
IOException
Copyright © 2009 SourceForge.net. All Rights Reserved.