Package lumis.portal.presentation.core
Class SharedMarkupResourceStream
- java.lang.Object
-
- org.apache.wicket.markup.MarkupResourceStream
-
- lumis.portal.presentation.core.LayoutFileMarkupResourceStream
-
- lumis.portal.presentation.core.SharedMarkupResourceStream
-
- All Implemented Interfaces:
Closeable
,Serializable
,AutoCloseable
,org.apache.wicket.util.io.IClusterable
,org.apache.wicket.util.resource.IFixedLocationResourceStream
,org.apache.wicket.util.resource.IResourceStream
,org.apache.wicket.util.watch.IModifiable
public class SharedMarkupResourceStream extends LayoutFileMarkupResourceStream
Markup resource stream that allows aIFixedLocationResourceStream
to be shared. This implementation preventsMarkupCache
from using the same markup for the resource stream even if the cacheKey differs.- Since:
- 6.0.0
- Version:
- $Revision: 15382 $ $Date: 2013-05-23 19:04:46 -0300 (Thu, 23 May 2013) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SharedMarkupResourceStream(org.apache.wicket.util.resource.IResourceStream resourceStream, org.apache.wicket.MarkupContainer container, IPortalMode portalMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
locationAsString()
-
Methods inherited from class lumis.portal.presentation.core.LayoutFileMarkupResourceStream
getMarkupFilterClass, getPageDocType
-
Methods inherited from class org.apache.wicket.markup.MarkupResourceStream
close, getBaseMarkup, getBaseMarkupResourceStream, getCacheKey, getContainerInfo, getContentType, getDoctype, getEncoding, getInputStream, getLocale, getMarkupClass, getResource, getStyle, getVariation, getWicketId, getWicketNamespace, isHtml5, lastModifiedTime, length, setBaseMarkup, setCacheKey, setDoctype, setLocale, setStyle, setVariation, setWicketNamespace, toString
-
-
-
-
Constructor Detail
-
SharedMarkupResourceStream
public SharedMarkupResourceStream(org.apache.wicket.util.resource.IResourceStream resourceStream, org.apache.wicket.MarkupContainer container, IPortalMode portalMode)
-
-
Method Detail
-
locationAsString
public String locationAsString()
- Specified by:
locationAsString
in interfaceorg.apache.wicket.util.resource.IFixedLocationResourceStream
- Overrides:
locationAsString
in classorg.apache.wicket.markup.MarkupResourceStream
-
-