Apache CXF API

org.apache.cxf.jaxrs.ext
Interface ContextProvider<T>

Type Parameters:
T - Context class
All Known Implementing Classes:
OAuthContextProvider, QueryContextProvider, SearchContextProvider

public interface ContextProvider<T>

Provider of custom contexts representing the current request


Method Summary
 T createContext(Message message)
          Creates the context instance
 

Method Detail

createContext

T createContext(Message message)
Creates the context instance

Parameters:
message - the current message
Returns:
the context

Apache CXF API

Apache CXF