org.apache.cxf.jaxrs.ext
Interface MessageContext

All Known Implementing Classes:
MessageContextImpl, ThreadLocalMessageContext

public interface MessageContext

Represents an invocation context


Method Summary
 Object get(Object key)
           
<T> T
getContent(Class<T> format)
           
<T> T
getContext(Class<T> contextClass)
           
 Object getContextualProperty(Object key)
           
 javax.ws.rs.core.HttpHeaders getHttpHeaders()
           
 javax.servlet.http.HttpServletRequest getHttpServletRequest()
           
 javax.servlet.http.HttpServletResponse getHttpServletResponse()
           
 javax.ws.rs.ext.Providers getProviders()
           
 javax.ws.rs.core.Request getRequest()
           
<T,E> T
getResolver(Class<T> resolverClass, Class<E> resolveClazz)
           
 javax.ws.rs.core.SecurityContext getSecurityContext()
           
 javax.servlet.ServletConfig getServletConfig()
           
 javax.servlet.ServletContext getServletContext()
           
 javax.ws.rs.core.UriInfo getUriInfo()
           
 void put(Object key, Object value)
           
 

Method Detail

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