All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lonelystorm.air.component.services.impl.RequestRewriterImpl.class Maven / Gradle / Ivy

Go to download

The LonelyStorm Air Component library provides additional features to help with component development.

There is a newer version: 0.1.8
Show newest version
????3??com/lonelystorm/air/component/services/impl/RequestRewriterImpljava/lang/Object,com/day/cq/rewriter/pipeline/RequestRewriterRequestRewriterImpl.java,Lorg/apache/felix/scr/annotations/Component;label=LonelyStorm Air - Component - Request Rewriter HTML ExtensiondescriptionQRewrites links that references a resource directly to append the .html extension.policy6Lorg/apache/felix/scr/annotations/ConfigurationPolicy;REQUIREmetatype*Lorg/apache/felix/scr/annotations/Service;-Lorg/apache/felix/scr/annotations/Properties;value+Lorg/apache/felix/scr/annotations/Property;namerequestrewriter.pathsPathsYOnly rewrites paths to add the .html extension if they start with one of the above paths.	unbounded4Lorg/apache/felix/scr/annotations/PropertyUnbounded;ARRAYLOGGERLorg/slf4j/Logger;resourceResolverFactory7Lorg/apache/sling/api/resource/ResourceResolverFactory;,Lorg/apache/felix/scr/annotations/Reference;paths[Ljava/lang/String;()V$%
&thisALcom/lonelystorm/air/component/services/impl/RequestRewriterImpl;activate0(Lorg/osgi/service/component/ComponentContext;)V+Lorg/apache/felix/scr/annotations/Activate;+org/osgi/service/component/ComponentContext-
getProperties()Ljava/util/Dictionary;/0.1java/util/Dictionary4get&(Ljava/lang/Object;)Ljava/lang/Object;67
58,org/apache/sling/commons/osgi/PropertiesUtil:
toStringArray:(Ljava/lang/Object;[Ljava/lang/String;)[Ljava/lang/String;<=
;>"#	@componentContext-Lorg/osgi/service/component/ComponentContext;
propertiesLjava/util/Dictionary<**>;Ljava/util/Dictionary;rewritey(Ljava/lang/String;Lorg/xml/sax/Attributes;Lcom/day/cq/rewriter/linkchecker/LinkCheckerSettings;)Lorg/xml/sax/Attributes;elementNameLjava/lang/String;
attributesLorg/xml/sax/Attributes;settings5Lcom/day/cq/rewriter/linkchecker/LinkCheckerSettings;rewriteLinko(Lcom/day/cq/rewriter/linkchecker/Link;Lcom/day/cq/rewriter/linkchecker/LinkCheckerSettings;)Ljava/lang/String;,org/apache/sling/api/resource/LoginExceptionQ$com/day/cq/rewriter/linkchecker/LinkSgetHref()Ljava/lang/String;UVTW"org/apache/commons/lang/ArrayUtilsY
isNotEmpty([Ljava/lang/Object;)Z[\
Z]._#org/apache/commons/lang/StringUtilsacontainsNone'(Ljava/lang/String;Ljava/lang/String;)Zcd
be 	g5org/apache/sling/api/resource/ResourceResolverFactoryi!getAdministrativeResourceResolverA(Ljava/util/Map;)Lorg/apache/sling/api/resource/ResourceResolver;kljm
startsWithod
bp.org/apache/sling/api/resource/ResourceResolverrgetResource<(Ljava/lang/String;)Lorg/apache/sling/api/resource/Resource;tusv%s.htmlxmap&(Ljava/lang/String;)Ljava/lang/String;z{s|java/lang/String~format9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
?closeQuietly3(Lorg/apache/sling/api/resource/ResourceResolver;)V??
?	?2Unable to create resourceresolver to rewrite links?org/slf4j/Logger?error*(Ljava/lang/String;Ljava/lang/Throwable;)V????pathe.Lorg/apache/sling/api/resource/LoginException;resolver0Lorg/apache/sling/api/resource/ResourceResolver;link&Lcom/day/cq/rewriter/linkchecker/Link;href3com/day/cq/rewriter/linkchecker/LinkCheckerSettings?#java/lang/Throwable?close?%s?org/slf4j/LoggerFactory?	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;??
??bindResourceResolverFactory:(Lorg/apache/sling/api/resource/ResourceResolverFactory;)VunbindResourceResolverFactoryRuntimeInvisibleAnnotationsCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable
SourceFile! ?!"#$%?/*?'??()?-*+?n+?2M*,3?9???A?? ()BCDF?DE?=?@?,GH?J??*()IJKLMN?GOP???+?XN*?A?^??-`?f??:*?h?n:*?A:?66?C2:-?q?--?w?"y?Y-?}S??:	*??	?????*???%:?????*???:
*??
??o?Rx~?Ro?x~????????HE3?J???????()????MN??J?FOQRT)VEWYXo^xV~^?_?[?\?^?_?^?b?F?7T?s??@??T?sRV??
???P+?	+????()???fg
i?
?%?!	??????/???*+?h????#*?h+?*?h??
??D	s
s
eZ[@s	sse




© 2015 - 2024 Weber Informatics LLC | Privacy Policy