mstatuslinerule.java
来自「httptunnel.jar httptunnel java 源码」· Java 代码 · 共 23 行
JAVA
23 行
package net.jumperz.app.MGuardian.rule;
import net.jumperz.net.MHttpResponse;
import java.util.regex.*;
public class MStatusLineRule
extends MAbstractResponseRule
{
//--------------------------------------------------------------------------------------
public boolean matchesResponse( MHttpResponse response, MResultCache resultCache )
{
boolean match;
String target = response.getStatusLine();
Matcher matcher = pattern.matcher( target );
match = matcher.find();
match = ( match != negationFlag );
resultCache.cacheResult( this, match );
return match;
}
//--------------------------------------------------------------------------------------
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?