private class WebPublishingService.FileSystemHTTPContext extends Object implements org.osgi.service.http.HttpContext
Modifier | Constructor and Description |
---|---|
private |
WebPublishingService.FileSystemHTTPContext(String path) |
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 WebPublishingService.FileSystemHTTPContext(String path)
path
- An absolute path to a directory.public URL getResource(String name)
getResource
in interface org.osgi.service.http.HttpContext
public String getMimeType(String name)
getMimeType
in interface org.osgi.service.http.HttpContext
public boolean handleSecurity(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
handleSecurity
in interface org.osgi.service.http.HttpContext
IOException
Copyright © 2015. All Rights Reserved.