org.apache.cxf.jaxrs.ext
Interface MessageContext
- All Known Implementing Classes:
- MessageContextImpl, ThreadLocalMessageContext
public interface MessageContext
Represents an invocation context
get
Object get(Object key)
getContextualProperty
Object getContextualProperty(Object key)
getContent
<T> T getContent(Class<T> format)
put
void put(Object key,
Object value)
getUriInfo
javax.ws.rs.core.UriInfo getUriInfo()
getRequest
javax.ws.rs.core.Request getRequest()
getHttpHeaders
javax.ws.rs.core.HttpHeaders getHttpHeaders()
getSecurityContext
javax.ws.rs.core.SecurityContext getSecurityContext()
getProviders
javax.ws.rs.ext.Providers getProviders()
getHttpServletRequest
javax.servlet.http.HttpServletRequest getHttpServletRequest()
getHttpServletResponse
javax.servlet.http.HttpServletResponse getHttpServletResponse()
getServletContext
javax.servlet.ServletContext getServletContext()
getServletConfig
javax.servlet.ServletConfig getServletConfig()
getContext
<T> T getContext(Class<T> contextClass)
getResolver
<T,E> T getResolver(Class<T> resolverClass,
Class<E> resolveClazz)
Apache CXF