s2robot.rule.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of s2robot-lasta Show documentation
Show all versions of s2robot-lasta Show documentation
This is LastaFlute support.
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN" "http://dbflute.org/meta/lastadi10.dtd"> <components namespace="s2robot"> <include path="s2robot/container.xml" /> <include path="s2robot/transformer.xml" /> <component name="ruleManager" class="org.codelibs.robot.rule.impl.RuleManagerImpl" instance="prototype"> <postConstruct name="addRule"> <arg>sitemapsRule</arg> </postConstruct> <postConstruct name="addRule"> <arg>fileRule</arg> </postConstruct> </component> <component name="sitemapsRule" class="org.codelibs.robot.rule.impl.SitemapsRule"> <property name="ruleId">"sitemapsRule"</property> <property name="responseProcessor"> <component class="org.codelibs.robot.processor.impl.SitemapsResponseProcessor"> </component> </property> <postConstruct name="addRule"> <arg>"url"</arg> <arg>".*sitemap.*"</arg> </postConstruct> </component> <component name="fileRule" class="org.codelibs.robot.rule.impl.RegexRule"> <property name="ruleId">"fileRule"</property> <property name="defaultRule">true</property> <property name="responseProcessor"> <component class="org.codelibs.robot.processor.impl.DefaultResponseProcessor"> <property name="transformer">fileTransformer</property> <property name="successfulHttpCodes">(int[])[200]</property> <property name="notModifiedHttpCodes">(int[])[304]</property> </component> </property> </component> </components>