protected class HTTPRemoteFileRegistry.HTTPRemoteFileRegistryHandler extends org.mortbay.jetty.handler.AbstractHandler
It has three ways to behave: Serve registered files, return 404 on unknown files, and unregister registered files, depending on the URL.
Modifier | Constructor and Description |
---|---|
protected |
HTTPRemoteFileRegistryHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(String string,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
int i)
A method for handling Jetty requests.
|
destroy, doStart, doStop, getServer, setServer, toString
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
protected HTTPRemoteFileRegistryHandler()
public void handle(String string, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, int i) 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–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.