de.deepamehta.core.impl
Class WebPublishingService.DirectoryHTTPContext
java.lang.Object
de.deepamehta.core.impl.WebPublishingService.DirectoryHTTPContext
- All Implemented Interfaces:
- org.osgi.service.http.HttpContext
- Enclosing class:
- WebPublishingService
private class WebPublishingService.DirectoryHTTPContext
- extends Object
- implements org.osgi.service.http.HttpContext
Fields inherited from interface org.osgi.service.http.HttpContext |
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
directoryPath
private String directoryPath
securityHandler
private SecurityHandler securityHandler
WebPublishingService.DirectoryHTTPContext
private WebPublishingService.DirectoryHTTPContext(String directoryPath,
SecurityHandler securityHandler)
getResource
public URL getResource(String name)
- Specified by:
getResource
in interface org.osgi.service.http.HttpContext
getMimeType
public String getMimeType(String name)
- Specified by:
getMimeType
in interface org.osgi.service.http.HttpContext
handleSecurity
public boolean handleSecurity(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
- Specified by:
handleSecurity
in interface org.osgi.service.http.HttpContext
- Throws:
IOException
Copyright © 2015. All Rights Reserved.