Class StrongContentRef
java.lang.Object
org.gatein.pc.portlet.aspects.cache.ContentRef
org.gatein.pc.portlet.aspects.cache.StrongContentRef
- All Implemented Interfaces:
Serializable
Use strong references.
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStrongContentRef(org.gatein.pc.api.invocation.response.ContentResponse content) -
Method Summary
Modifier and TypeMethodDescriptionorg.gatein.pc.api.invocation.response.ContentResponseReturns the content, possibly null.
-
Constructor Details
-
StrongContentRef
public StrongContentRef(org.gatein.pc.api.invocation.response.ContentResponse content) throws IllegalArgumentException - Parameters:
content- the content- Throws:
IllegalArgumentException- if the content is null
-
-
Method Details
-
getContent
public org.gatein.pc.api.invocation.response.ContentResponse getContent()Description copied from class:ContentRefReturns the content, possibly null.- Specified by:
getContentin classContentRef- Returns:
- the content
-