public class StaticContentHandler
extends org.openqa.jetty.http.handler.ResourceHandler
Modifier and Type | Field and Description |
---|---|
static int |
SERVER_DELAY |
Constructor and Description |
---|
StaticContentHandler(String debugURL,
boolean proxyInjectionMode) |
Modifier and Type | Method and Description |
---|---|
void |
addStaticContent(ResourceLocator locator) |
protected void |
callSuperHandle(String pathInContext,
String pathParams,
org.openqa.jetty.http.HttpRequest httpRequest,
org.openqa.jetty.http.HttpResponse httpResponse) |
protected org.openqa.jetty.util.Resource |
getResource(String pathInContext) |
static boolean |
getSlowResources() |
void |
handle(String pathInContext,
String pathParams,
org.openqa.jetty.http.HttpRequest httpRequest,
org.openqa.jetty.http.HttpResponse httpResponse) |
void |
sendData(org.openqa.jetty.http.HttpRequest request,
org.openqa.jetty.http.HttpResponse response,
String pathInContext,
org.openqa.jetty.util.Resource resource,
boolean writeHeaders) |
static void |
setSlowResources(boolean slowResources) |
getAllowedMethods, getAllowedString, getMinGzipLength, getRedirectWelcome, handleGet, isAcceptRanges, isDirAllowed, isMethodAllowed, setAcceptRanges, setAllowedMethods, setDirAllowed, setMinGzipLength, setRedirectWelcome, start, stop, writeHeaders
public static final int SERVER_DELAY
public StaticContentHandler(String debugURL, boolean proxyInjectionMode)
public void handle(String pathInContext, String pathParams, org.openqa.jetty.http.HttpRequest httpRequest, org.openqa.jetty.http.HttpResponse httpResponse) throws IOException
handle
in interface org.openqa.jetty.http.HttpHandler
handle
in class org.openqa.jetty.http.handler.ResourceHandler
IOException
protected void callSuperHandle(String pathInContext, String pathParams, org.openqa.jetty.http.HttpRequest httpRequest, org.openqa.jetty.http.HttpResponse httpResponse) throws IOException
IOException
protected org.openqa.jetty.util.Resource getResource(String pathInContext) throws IOException
getResource
in class org.openqa.jetty.http.handler.ResourceHandler
IOException
public void addStaticContent(ResourceLocator locator)
public void sendData(org.openqa.jetty.http.HttpRequest request, org.openqa.jetty.http.HttpResponse response, String pathInContext, org.openqa.jetty.util.Resource resource, boolean writeHeaders) throws IOException
sendData
in class org.openqa.jetty.http.handler.ResourceHandler
IOException
public static void setSlowResources(boolean slowResources)
public static boolean getSlowResources()
Copyright © 2014. All rights reserved.