类 org.eclipse.jetty.rewrite.handler.Rule
的使用

使用 Rule 的软件包
org.eclipse.jetty.rewrite.handler   
 

org.eclipse.jetty.rewrite.handlerRule 的使用
 

org.eclipse.jetty.rewrite.handlerRule 的子类
 class CookiePatternRule
          Sets the cookie in the response whenever the rule finds a match.
 class ForwardedSchemeHeaderRule
          Set the scheme for the request
 class HeaderPatternRule
          Sets the header in the response whenever the rule finds a match.
 class HeaderRule
          Abstract rule that matches against request headers.
 class LegacyRule
          Rule implementing the legacy API of RewriteHandler
 class MsieSslRule
          MSIE (Microsoft Internet Explorer) SSL Rule.
 class PatternRule
          Abstract rule that use a PathMap for pattern matching.
 class ProxyRule
          This rule allows the user to configure a particular rewrite rule that will proxy out to a configured location.
 class RedirectPatternRule
          Redirects the response whenever the rule finds a match.
 class RedirectRegexRule
          Redirects the response by matching with a regular expression.
 class RegexRule
          Abstract rule to use as a base class for rules that match with a regular expression.
 class ResponsePatternRule
          Sends the response code whenever the rule finds a match.
 class RewritePatternRule
          Rewrite the URI by replacing the matched PathMap path with a fixed string.
 class RewriteRegexRule
          Rewrite the URI by matching with a regular expression.
 class RuleContainer
          Base container to group rules.
 class ValidUrlRule
          This rule can be used to protect against invalid unicode characters in a url making it into applications.
 class VirtualHostRuleContainer
          Groups rules that apply only to a specific virtual host or sets of virtual hosts
 

声明为 Ruleorg.eclipse.jetty.rewrite.handler 中的字段
protected  Rule[] RuleContainer._rules
           
 

返回 Ruleorg.eclipse.jetty.rewrite.handler 中的方法
 Rule[] RuleContainer.getRules()
          Returns the list of rules.
 Rule[] RewriteHandler.getRules()
          Returns the list of rules.
 

参数类型为 Ruleorg.eclipse.jetty.rewrite.handler 中的方法
 void RuleContainer.addRule(Rule rule)
          Add a Rule
 void RewriteHandler.addRule(Rule rule)
          Add a Rule
 void RuleContainer.setRules(Rule[] rules)
          Assigns the rules to process.
 void RewriteHandler.setRules(Rule[] rules)
          Assigns the rules to process.
 



Copyright © 2013. All Rights Reserved.