Class SharedMarkupResourceStream

  • All Implemented Interfaces:
    Closeable, Serializable, AutoCloseable, org.apache.wicket.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 a IFixedLocationResourceStream to be shared. This implementation prevents MarkupCache 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 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 interface org.apache.wicket.util.resource.IFixedLocationResourceStream
        Overrides:
        locationAsString in class org.apache.wicket.markup.MarkupResourceStream