private class WebPublishingService.FileSystemHTTPContext extends Object implements org.osgi.service.http.HttpContext
| Modifier | Constructor and Description |
|---|---|
private |
FileSystemHTTPContext(String basePath) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMimeType(String name) |
URL |
getResource(String name) |
boolean |
handleSecurity(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
private FileSystemHTTPContext(String basePath)
basePath - An absolute path to a directory.public URL getResource(String name)
getResource in interface org.osgi.service.http.HttpContextpublic String getMimeType(String name)
getMimeType in interface org.osgi.service.http.HttpContextpublic boolean handleSecurity(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
handleSecurity in interface org.osgi.service.http.HttpContextIOExceptionCopyright © 2018. All Rights Reserved.