org.webbitserver.handler
Class StaticFileHandler.FileWorker
java.lang.Object
org.webbitserver.handler.AbstractResourceHandler.IOWorker
org.webbitserver.handler.StaticFileHandler.FileWorker
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- StaticFileHandler
protected class StaticFileHandler.FileWorker
- extends AbstractResourceHandler.IOWorker
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticFileHandler.FileWorker
protected StaticFileHandler.FileWorker(HttpRequest request,
HttpResponse response,
HttpControl control)
exists
protected boolean exists()
throws IOException
- Specified by:
exists in class AbstractResourceHandler.IOWorker
- Throws:
IOException
isDirectory
protected boolean isDirectory()
throws IOException
- Specified by:
isDirectory in class AbstractResourceHandler.IOWorker
- Throws:
IOException
fileBytes
protected byte[] fileBytes()
throws IOException
- Specified by:
fileBytes in class AbstractResourceHandler.IOWorker
- Throws:
IOException
welcomeBytes
protected byte[] welcomeBytes()
throws IOException
- Specified by:
welcomeBytes in class AbstractResourceHandler.IOWorker
- Throws:
IOException
directoryListingBytes
protected byte[] directoryListingBytes()
throws IOException
- Specified by:
directoryListingBytes in class AbstractResourceHandler.IOWorker
- Throws:
IOException
resolveFile
protected File resolveFile(String path)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.