post review: rename *Handler to WebServer*Handler

This commit is contained in:
Vladimir Krivosheev
2014-08-05 13:42:39 +02:00
parent ab9527873c
commit 6905c07412
3 changed files with 4 additions and 4 deletions
@@ -183,7 +183,7 @@ public final class BuiltInWebServer extends HttpRequestHandler {
return false;
}
static final class StaticFileHandler extends FileHandler {
static final class StaticFileHandler extends WebServerFileHandler {
@Override
public boolean process(@NotNull VirtualFile file,
@NotNull CharSequence canonicalRequestPath,
@@ -86,7 +86,7 @@ final class DefaultPathHandler extends PathHandler {
canonicalRequestPath.append('/').append(result.getName());
}
for (FileHandler fileHandler : FileHandler.EP_NAME.getExtensions()) {
for (WebServerFileHandler fileHandler : WebServerFileHandler.EP_NAME.getExtensions()) {
try {
if (fileHandler.process(result, canonicalRequestPath, project, request, channel)) {
return true;
@@ -24,8 +24,8 @@ import org.jetbrains.annotations.NotNull;
import java.io.IOException;
public abstract class FileHandler {
static final ExtensionPointName<FileHandler> EP_NAME = ExtensionPointName.create("org.jetbrains.webServerFileHandler");
public abstract class WebServerFileHandler {
static final ExtensionPointName<WebServerFileHandler> EP_NAME = ExtensionPointName.create("org.jetbrains.webServerFileHandler");
public abstract boolean process(@NotNull VirtualFile file,
@NotNull CharSequence canonicalRequestPath,