org.ops4j.pax.wicket.internal
Class GenericContext

java.lang.Object
  extended by org.ops4j.pax.wicket.internal.GenericContext
All Implemented Interfaces:
org.osgi.service.http.HttpContext

public class GenericContext
extends java.lang.Object
implements org.osgi.service.http.HttpContext


Field Summary
 
Fields inherited from interface org.osgi.service.http.HttpContext
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER
 
Constructor Summary
GenericContext(org.osgi.framework.Bundle aBundle, java.lang.String aMountPoint)
           
 
Method Summary
 java.lang.String getMimeType(java.lang.String aResourceName)
           
 java.net.URL getResource(java.lang.String aResourceName)
           
 boolean handleSecurity(javax.servlet.http.HttpServletRequest aRequest, javax.servlet.http.HttpServletResponse aResponse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericContext

public GenericContext(org.osgi.framework.Bundle aBundle,
                      java.lang.String aMountPoint)
Method Detail

handleSecurity

public boolean handleSecurity(javax.servlet.http.HttpServletRequest aRequest,
                              javax.servlet.http.HttpServletResponse aResponse)
                       throws java.io.IOException
Specified by:
handleSecurity in interface org.osgi.service.http.HttpContext
Throws:
java.io.IOException

getResource

public java.net.URL getResource(java.lang.String aResourceName)
Specified by:
getResource in interface org.osgi.service.http.HttpContext

getMimeType

public java.lang.String getMimeType(java.lang.String aResourceName)
Specified by:
getMimeType in interface org.osgi.service.http.HttpContext


Copyright © 2008. All Rights Reserved.