org.apache.myfaces.custom.captcha
Class CAPTCHAResource
java.lang.Object
javax.faces.application.Resource
org.apache.myfaces.custom.captcha.CAPTCHAResource
public class CAPTCHAResource
- extends javax.faces.application.Resource
Fields inherited from class javax.faces.application.Resource |
COMPONENT_RESOURCE_KEY |
Constructor Summary |
CAPTCHAResource(org.apache.myfaces.shared_tomahawk.resource.ResourceHandlerSupport support,
String captchaSessionKeyName,
String resourceName)
|
Methods inherited from class javax.faces.application.Resource |
getContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName, toString |
CAPTCHAResource
public CAPTCHAResource(org.apache.myfaces.shared_tomahawk.resource.ResourceHandlerSupport support,
String captchaSessionKeyName,
String resourceName)
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream
in class javax.faces.application.Resource
- Throws:
IOException
getRequestPath
public String getRequestPath()
- Specified by:
getRequestPath
in class javax.faces.application.Resource
getResponseHeaders
public Map<String,String> getResponseHeaders()
- Specified by:
getResponseHeaders
in class javax.faces.application.Resource
getURL
public URL getURL()
- Specified by:
getURL
in class javax.faces.application.Resource
userAgentNeedsUpdate
public boolean userAgentNeedsUpdate(javax.faces.context.FacesContext context)
- Specified by:
userAgentNeedsUpdate
in class javax.faces.application.Resource
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.