protected class HTTPRemoteFileRegistry.HTTPRemoteFileRegistryHandler extends org.eclipse.jetty.server.handler.AbstractHandler
It has three ways to behave: Serve registered files, return 404 on unknown files, and unregister registered files, depending on the URL.
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
Modifier | Constructor and Description |
---|---|
protected |
HTTPRemoteFileRegistryHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(String string,
org.eclipse.jetty.server.Request baseRequest,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
A method for handling Jetty requests.
|
destroy, doStart, doStop, dumpThis, getServer, setServer
addBean, addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
protected HTTPRemoteFileRegistryHandler()
public void handle(String string, org.eclipse.jetty.server.Request baseRequest, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException
string
- Unused domain.httpServletRequest
- request object.httpServletResponse
- the response to write to.IOException
- On trouble in communication.javax.servlet.ServletException
- On servlet trouble.AbstractHandler#handle(String, org.eclipse.jetty.server.Request, HttpServletRequest,
HttpServletResponse), HttpServletResponse, int)
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.