org.apache.felix.http.jetty
Class DefaultContextImpl
java.lang.Object
org.apache.felix.http.jetty.DefaultContextImpl
- All Implemented Interfaces:
- HttpContext
public class DefaultContextImpl
- extends Object
- implements HttpContext
Implementation of default HttpContext as per OSGi specification.
Notes
- no current inclusion/support for permissions
- security allows all request. Spec leaves security handling to be
implementation specific, but does outline some suggested handling.
Deeper than my understanding of HTTP at this stage, so left for now.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultContextImpl
public DefaultContextImpl(Bundle bundle)
getMimeType
public String getMimeType(String name)
- Specified by:
getMimeType
in interface HttpContext
getResource
public URL getResource(String name)
- Specified by:
getResource
in interface HttpContext
handleSecurity
public boolean handleSecurity(HttpServletRequest request,
HttpServletResponse response)
- Specified by:
handleSecurity
in interface HttpContext
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.