|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XmlaRequestCallback
Extract data from HTTP request, SOAP header for following XML/A request.
Fill context binding with whatever data you want, then use them inXmlaServlet.handleSoapHeader(javax.servlet.http.HttpServletResponse, org.w3c.dom.Element[], byte[][], java.util.Map)
and XmlaServlet.handleSoapBody(javax.servlet.http.HttpServletResponse, org.w3c.dom.Element[], byte[][], java.util.Map)
.
Nested Class Summary | |
---|---|
static class |
XmlaRequestCallback.Helper
|
Field Summary | |
---|---|
static String |
AUTHORIZATION
|
static String |
EXPECT
|
static String |
EXPECT_100_CONTINUE
|
Method Summary | |
---|---|
String |
generateSessionId(Map<String,Object> context)
The Callback is requested to generate a sequence id string. |
void |
init(ServletConfig servletConfig)
|
void |
postAction(HttpServletRequest request,
HttpServletResponse response,
byte[][] responseSoapParts,
Map<String,Object> context)
This is called after all Mondrian processing (DISCOVER/EXECUTE) has occurred. |
void |
preAction(HttpServletRequest request,
Element[] requestSoapParts,
Map<String,Object> context)
This is called after the headers have been process but before the body (DISCOVER/EXECUTE) has been processed. |
boolean |
processHttpHeader(HttpServletRequest request,
HttpServletResponse response,
Map<String,Object> context)
Process the request header items. |
Field Detail |
---|
static final String AUTHORIZATION
static final String EXPECT
static final String EXPECT_100_CONTINUE
Method Detail |
---|
void init(ServletConfig servletConfig) throws ServletException
ServletException
boolean processHttpHeader(HttpServletRequest request, HttpServletResponse response, Map<String,Object> context) throws Exception
Note that it is upto the XMLA client to determine whether or not there is an Expect header entry (ADOMD.NET seems to like to do this).
Exception
void preAction(HttpServletRequest request, Element[] requestSoapParts, Map<String,Object> context) throws Exception
Exception
String generateSessionId(Map<String,Object> context)
void postAction(HttpServletRequest request, HttpServletResponse response, byte[][] responseSoapParts, Map<String,Object> context) throws Exception
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |