org.jboss.test.faces.mock.application
Class MockResource
java.lang.Object
javax.faces.application.Resource
org.jboss.test.faces.mock.application.MockResource
- All Implemented Interfaces:
- FacesMockController.MockObject
public class MockResource
- extends javax.faces.application.Resource
- implements FacesMockController.MockObject
| Fields inherited from class javax.faces.application.Resource |
COMPONENT_RESOURCE_KEY |
MockResource
public MockResource()
- Default constructor
MockResource
public MockResource(org.easymock.IMocksControl control,
String name)
- Parameters:
control -
getControl
public org.easymock.IMocksControl getControl()
- Specified by:
getControl in interface FacesMockController.MockObject
getURL
public URL getURL()
- Specified by:
getURL in class javax.faces.application.Resource
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStream in class javax.faces.application.Resource
getContentType
public String getContentType()
- Overrides:
getContentType in class javax.faces.application.Resource
setContentType
public void setContentType(String arg0)
- Overrides:
setContentType in class javax.faces.application.Resource
getResourceName
public String getResourceName()
- Overrides:
getResourceName in class javax.faces.application.Resource
getLibraryName
public String getLibraryName()
- Overrides:
getLibraryName in class javax.faces.application.Resource
getResponseHeaders
public Map getResponseHeaders()
- Specified by:
getResponseHeaders in class javax.faces.application.Resource
setLibraryName
public void setLibraryName(String arg0)
- Overrides:
setLibraryName in class javax.faces.application.Resource
setResourceName
public void setResourceName(String arg0)
- Overrides:
setResourceName in class javax.faces.application.Resource
getRequestPath
public String getRequestPath()
- Specified by:
getRequestPath in class javax.faces.application.Resource
userAgentNeedsUpdate
public boolean userAgentNeedsUpdate(javax.faces.context.FacesContext arg0)
- Specified by:
userAgentNeedsUpdate in class javax.faces.application.Resource
toString
public String toString()
- Overrides:
toString in class javax.faces.application.Resource
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.