com.sun.grizzly.osgi.httpservice
Class HttpContextImpl
java.lang.Object
com.sun.grizzly.osgi.httpservice.HttpContextImpl
- All Implemented Interfaces:
- org.osgi.service.http.HttpContext
public class HttpContextImpl
- extends Object
- implements org.osgi.service.http.HttpContext
Grizzly OSGi HttpService
s HttpContext
implementation.
- Since:
- Jan 21, 2009
- Author:
- Hubert Iwaniuk
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 |
HttpContextImpl
public HttpContextImpl(org.osgi.framework.Bundle bundle)
handleSecurity
public boolean handleSecurity(HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
throws IOException
- Specified by:
handleSecurity
in interface org.osgi.service.http.HttpContext
- Throws:
IOException
getResource
public URL getResource(String s)
- Specified by:
getResource
in interface org.osgi.service.http.HttpContext
getMimeType
public String getMimeType(String s)
- Specified by:
getMimeType
in interface org.osgi.service.http.HttpContext
Copyright © 2012 Oracle Corporation. All Rights Reserved.