Code/Import cleanups.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2024-08-23 12:01:16 +02:00
parent 01ce4dbe64
commit cc469a136d
No known key found for this signature in database
GPG Key ID: 1677D141BCF3584D
2 changed files with 0 additions and 4 deletions

View File

@ -14,14 +14,12 @@
package org.eclipse.jetty.rewrite.handler;
import java.io.IOException;
import java.lang.IllegalArgumentException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.eclipse.jetty.http.HttpStatus;
import org.eclipse.jetty.server.Response;
import org.eclipse.jetty.util.Callback;
import org.eclipse.jetty.util.StringUtil;
/**
* Sends a response with the configured status code whenever the value of the configured request header matches a regular expression.
@ -125,7 +123,6 @@ public class ResponseStatusHeaderRegexRule extends Rule
protected boolean handle(Response response, Callback callback)
{
Response.writeError(this, response, callback, _code, _message);
return true;
}
};

View File

@ -13,7 +13,6 @@
package org.eclipse.jetty.rewrite.handler;
import org.eclipse.jetty.http.HttpStatus;
import org.eclipse.jetty.http.HttpTester;
import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.server.Request;