org.hippoecm.hst.pagecomposer.jaxrs.cxf
Class CXFJaxrsHstConfigService
java.lang.Object
org.hippoecm.hst.jaxrs.AbstractJaxrsService
org.hippoecm.hst.jaxrs.cxf.CXFJaxrsService
org.hippoecm.hst.pagecomposer.jaxrs.cxf.CXFJaxrsHstConfigService
- All Implemented Interfaces:
- JAXRSService
public class CXFJaxrsHstConfigService
- extends CXFJaxrsService
- Version:
- $Id: CXFJaxrsContentService.java 24556 2010-10-22 01:10:59Z wko $
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)
|
void |
invoke(HstRequestContext requestContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
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 |
REQUEST_CONFIG_NODE_IDENTIFIER
public static final String REQUEST_CONFIG_NODE_IDENTIFIER
- See Also:
- Constant Field Values
REQUEST_ERROR_MESSAGE_ATTRIBUTE
public static final String REQUEST_ERROR_MESSAGE_ATTRIBUTE
- See Also:
- Constant Field Values
CXFJaxrsHstConfigService
public CXFJaxrsHstConfigService(String serviceName)
CXFJaxrsHstConfigService
public CXFJaxrsHstConfigService(String serviceName,
Map<String,String> jaxrsConfigParameters)
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
invoke
public void invoke(HstRequestContext requestContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws ContainerException
- Specified by:
invoke
in interface JAXRSService
- Overrides:
invoke
in class CXFJaxrsService
- Throws:
ContainerException
Copyright © 2008-2012 Hippo. All Rights Reserved.