de.iai.ilcd.webgui.controller.admin
Class DataExportResource

java.lang.Object
  extended by javax.faces.application.Resource
      extended by javax.faces.application.ResourceWrapper
          extended by de.iai.ilcd.webgui.controller.admin.DataExportResource
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.application.Resource>

public class DataExportResource
extends javax.faces.application.ResourceWrapper

Proxy Resource for the ILCD Service downloads


Field Summary
static java.lang.String CONTENT_TYPE
          MIME type to set
static org.slf4j.Logger logger
           
static java.lang.String RESOURCE_NAME
          Name of the resource
 
Fields inherited from class javax.faces.application.Resource
COMPONENT_RESOURCE_KEY
 
Constructor Summary
DataExportResource()
          Create the handler
 
Method Summary
 java.io.InputStream getInputStream()
          
 java.lang.String getRequestPath()
          
 java.util.Map<java.lang.String,java.lang.String> getResponseHeaders()
          
 java.net.URL getURL()
          
 javax.faces.application.Resource getWrapped()
           
 boolean userAgentNeedsUpdate(javax.faces.context.FacesContext arg0)
          
 
Methods inherited from class javax.faces.application.Resource
getContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

public static org.slf4j.Logger logger

CONTENT_TYPE

public static final java.lang.String CONTENT_TYPE
MIME type to set

See Also:
Constant Field Values

RESOURCE_NAME

public static final java.lang.String RESOURCE_NAME
Name of the resource

See Also:
Constant Field Values
Constructor Detail

DataExportResource

public DataExportResource()
Create the handler

Method Detail

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException

Overrides:
getInputStream in class javax.faces.application.ResourceWrapper
Throws:
java.io.IOException

getRequestPath

public java.lang.String getRequestPath()

Overrides:
getRequestPath in class javax.faces.application.ResourceWrapper

getResponseHeaders

public java.util.Map<java.lang.String,java.lang.String> getResponseHeaders()

Overrides:
getResponseHeaders in class javax.faces.application.ResourceWrapper

getURL

public java.net.URL getURL()

Overrides:
getURL in class javax.faces.application.ResourceWrapper

userAgentNeedsUpdate

public boolean userAgentNeedsUpdate(javax.faces.context.FacesContext arg0)

Overrides:
userAgentNeedsUpdate in class javax.faces.application.ResourceWrapper

getWrapped

public javax.faces.application.Resource getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.faces.application.Resource>
Overrides:
getWrapped in class javax.faces.application.ResourceWrapper