Uses of Class
com.composum.sling.clientlibs.handle.ClientlibRef
-
Packages that use ClientlibRef Package Description com.composum.sling.clientlibs.handle com.composum.sling.clientlibs.processor com.composum.sling.clientlibs.service com.composum.sling.clientlibs.servlet -
-
Uses of ClientlibRef in com.composum.sling.clientlibs.handle
Methods in com.composum.sling.clientlibs.handle that return ClientlibRef Modifier and Type Method Description static ClientlibRef
ClientlibRef. forCategory(Clientlib.Type type, String category, boolean optional, Map<String,String> properties)
ClientlibRef
Clientlib. getRef()
A reference that matches this.ClientlibRef
ClientlibCategory. getRef()
ClientlibRef
ClientlibElement. getRef()
ClientlibRef
ClientlibExternalUri. getRef()
ClientlibRef
ClientlibFile. getRef()
ClientlibRef
ClientlibResourceFolder. getRef()
Not supported.Methods in com.composum.sling.clientlibs.handle that return types with arguments of type ClientlibRef Modifier and Type Method Description protected @NotNull List<ClientlibRef>
ClientlibResourceFolder. getClientlib2Refs(String property)
@NotNull List<ClientlibRef>
ClientlibResourceFolder. getDependencies()
@NotNull List<ClientlibRef>
ClientlibResourceFolder. getEmbedded()
Constructors in com.composum.sling.clientlibs.handle with parameters of type ClientlibRef Constructor Description ClientlibCategory(ClientlibRef ref, List<org.apache.sling.api.resource.Resource> clientlibResources)
ClientlibFile(ClientlibRef ref, Clientlib.Type type, org.apache.sling.api.resource.Resource resource, Map<String,String> properties)
-
Uses of ClientlibRef in com.composum.sling.clientlibs.processor
Methods in com.composum.sling.clientlibs.processor with parameters of type ClientlibRef Modifier and Type Method Description protected void
AbstractClientlibVisitor. alreadyProcessed(ClientlibRef ref, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder folder)
Hook for additional checks about already processed elements.protected void
ProcessingVisitor. alreadyProcessed(ClientlibRef ref, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder folder)
Warns about everything that should be embedded, but is already processed, and not in thisboolean
RendererContext. isClientlibRendered(ClientlibRef reference)
Checks whether a referenced resource or client library is satisfied by an already rendered resource.protected boolean
AbstractClientlibVisitor. isNotProcessed(ClientlibRef ref)
Checks whether something matching this reference has already beenAbstractClientlibVisitor.markAsProcessed(ClientlibLink, ClientlibResourceFolder, VisitorMode)
.protected void
AbstractClientlibVisitor. notPresent(ClientlibRef ref, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder parent)
Hook for additional checks about an element referenced but not present.protected void
RenderingVisitor. notPresent(ClientlibRef ref, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder parent)
protected void
AbstractClientlibVisitor. resolveAndAccept(ClientlibRef ref, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder folder)
-
Uses of ClientlibRef in com.composum.sling.clientlibs.service
Methods in com.composum.sling.clientlibs.service with parameters of type ClientlibRef Modifier and Type Method Description void
ClientlibService. deliverContent(org.apache.sling.api.resource.ResourceResolver resolver, ClientlibRef clientlibRef, boolean minified, OutputStream outputStream, String encoding)
Writes the cached content to outputStream.void
DefaultClientlibService. deliverContent(org.apache.sling.api.resource.ResourceResolver resolver, ClientlibRef clientlibRef, boolean minified, OutputStream outputStream, String encoding)
protected String
DefaultClientlibService. getCachePath(ClientlibRef ref, boolean minified, String encoding)
Uses the category if given, or the single clientlib otherwise.protected LazyCreationService.InitializationStrategy
DefaultClientlibService. initializationStrategy(ClientlibRef clientlibRef, String encoding, String hash, ProcessorContext context)
ClientlibService.ClientlibInfo
ClientlibService. prepareContent(org.apache.sling.api.SlingHttpServletRequest request, ClientlibRef clientlibRef, boolean minified, String encoding, boolean forceRefreshCache, String requestedHash, long ifModifiedSince)
Writes the content to a cache if it wasn't there, and returns a collection of information to be put into the response headers.ClientlibService.ClientlibInfo
DefaultClientlibService. prepareContent(org.apache.sling.api.SlingHttpServletRequest request, ClientlibRef clientlibRef, boolean minified, String rawEncoding, boolean forceRefreshCache, String requestedHash, long ifModifiedSince)
Writes the content to a cache if it wasn't there, and returns a collection of information to be put into the response headers.ClientlibElement
ClientlibService. resolve(ClientlibRef ref, org.apache.sling.api.resource.ResourceResolver resolver)
Resolves the element corresponding to the ref.ClientlibElement
DefaultClientlibService. resolve(ClientlibRef ref, org.apache.sling.api.resource.ResourceResolver resolver)
protected Future<Void>
DefaultClientlibService. startProcessing(ClientlibRef clientlibRef, String encoding, ProcessorContext context, OutputStream outputStream)
Starts the processing (generation of the embedded content) of the clientlib / -category in the background. -
Uses of ClientlibRef in com.composum.sling.clientlibs.servlet
Methods in com.composum.sling.clientlibs.servlet with parameters of type ClientlibRef Modifier and Type Method Description protected void
AbstractClientlibServlet. deliverClientlib(boolean get, org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response, ClientlibRef clientlibRef, String requestedHash, boolean minified)
protected void
ClientlibDebugConsolePlugin.Processor. displayClientlibStructure(ClientlibRef ref)
Displays the structure of one clientlib as seen from the adminResolver - it's rendered like that, anyway.protected boolean
ClientlibDebugConsolePlugin.DebugVisitor. isNotProcessed(ClientlibRef ref)
protected String
ClientlibDebugConsolePlugin.Processor. normalizePath(ClientlibRef ref, ClientlibElement clientlib)
Returns the path as it would be in a clientlib reference: relative to search path or a category linkprotected void
ClientlibDebugConsolePlugin.DebugVisitor. notPresent(ClientlibRef ref, ClientlibVisitor.VisitorMode mode, ClientlibResourceFolder folder)
-