org.hippoecm.hst.jaxrs.cxf
Class CXFJaxrsContentService

java.lang.Object
  extended by org.hippoecm.hst.jaxrs.AbstractJaxrsService
      extended by org.hippoecm.hst.jaxrs.cxf.CXFJaxrsService
          extended by org.hippoecm.hst.jaxrs.cxf.CXFJaxrsContentService
All Implemented Interfaces:
JAXRSService

public class CXFJaxrsContentService
extends CXFJaxrsService

Version:
$Id: CXFJaxrsContentService.java 32302 2012-01-04 04:37:59Z wko $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.hippoecm.hst.jaxrs.AbstractJaxrsService
AbstractJaxrsService.PathsAdjustedHttpServletRequestWrapper, AbstractJaxrsService.ServletConfigImpl
 
Field Summary
 
Fields inherited from class org.hippoecm.hst.jaxrs.AbstractJaxrsService
BEANS_ANNOTATED_CLASSES_CONF_PARAM
 
Fields inherited from interface org.hippoecm.hst.jaxrs.JAXRSService
REQUEST_CONTENT_BEAN_KEY, REQUEST_CONTENT_NODE_KEY, REQUEST_CONTENT_PATH_KEY, REQUEST_CONTENT_SITE_CONTENT_BASE_BEAN_KEY
 
Constructor Summary
CXFJaxrsContentService(String serviceName)
           
CXFJaxrsContentService(String serviceName, Map<String,String> jaxrsConfigParameters)
           
 
Method Summary
protected  String getJaxrsPathInfo(HstRequestContext requestContext, javax.servlet.http.HttpServletRequest request)
          Concrete implementations must implement this method to get the jaxrs pathInfo.
protected  javax.servlet.http.HttpServletRequest getJaxrsRequest(HstRequestContext requestContext, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.hippoecm.hst.jaxrs.cxf.CXFJaxrsService
createBus, destroy, getController, invoke, setInFaultInterceptors, setInInterceptors, setJaxrsServerFactoryBean, setOutFaultInterceptors, setOutInterceptors
 
Methods inherited from class org.hippoecm.hst.jaxrs.AbstractJaxrsService
getAnnotatedClasses, getAnnotatedClassesResourcePath, getContentNode, getJaxrsServletConfig, getJaxrsServletPath, getMountContentPath, getObjectConverter, getRequestContentBean, getRequestContentBean, getServletPath, getSiteContentBaseBean, initialize, setAnnotatedClasses, setAnnotatedClassesResourcePath, setObjectConverter, setServletPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CXFJaxrsContentService

public CXFJaxrsContentService(String serviceName)

CXFJaxrsContentService

public CXFJaxrsContentService(String serviceName,
                              Map<String,String> jaxrsConfigParameters)
Method Detail

getJaxrsPathInfo

protected String getJaxrsPathInfo(HstRequestContext requestContext,
                                  javax.servlet.http.HttpServletRequest request)
                           throws ContainerException
Description copied from class: AbstractJaxrsService
Concrete implementations must implement this method to get the jaxrs pathInfo. This one is most likely different than HstRequestContext#getBaseURL()#getPathInfo() because the baseURL has a pathInfo which has been stripped from matrix parameters

Overrides:
getJaxrsPathInfo in class CXFJaxrsService
Returns:
Throws:
ContainerException

getJaxrsRequest

protected javax.servlet.http.HttpServletRequest getJaxrsRequest(HstRequestContext requestContext,
                                                                javax.servlet.http.HttpServletRequest request)
                                                         throws ContainerException
Overrides:
getJaxrsRequest in class AbstractJaxrsService
Throws:
ContainerException


Copyright © 2008-2012 Hippo. All Rights Reserved.