protected abstract static class XmlaBaseTestCase.XmlaRequestCallbackImpl extends Object implements XmlaRequestCallback
XmlaRequestCallback.HelperAUTHORIZATION, EXPECT, EXPECT_100_CONTINUE| Modifier | Constructor and Description | 
|---|---|
protected  | 
XmlaBaseTestCase.XmlaRequestCallbackImpl(String name)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
generateSessionId(Map<String,Object> context)
The Callback is requested to generate a sequence id string. 
 | 
void | 
init(javax.servlet.ServletConfig servletConfig)  | 
void | 
postAction(javax.servlet.http.HttpServletRequest request,
          javax.servlet.http.HttpServletResponse response,
          byte[][] responseSoapParts,
          Map<String,Object> context)
This is called after all Mondrian processing (DISCOVER/EXECUTE) has
 occurred. 
 | 
void | 
preAction(javax.servlet.http.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(javax.servlet.http.HttpServletRequest request,
                 javax.servlet.http.HttpServletResponse response,
                 Map<String,Object> context)
Process the request header items. 
 | 
protected XmlaBaseTestCase.XmlaRequestCallbackImpl(String name)
public void init(javax.servlet.ServletConfig servletConfig)
          throws javax.servlet.ServletException
init in interface XmlaRequestCallbackjavax.servlet.ServletExceptionpublic boolean processHttpHeader(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response,
                        Map<String,Object> context)
                          throws Exception
XmlaRequestCallbackNote 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).
processHttpHeader in interface XmlaRequestCallbackExceptionpublic void preAction(javax.servlet.http.HttpServletRequest request,
             Element[] requestSoapParts,
             Map<String,Object> context)
               throws Exception
XmlaRequestCallbackpreAction in interface XmlaRequestCallbackExceptionpublic String generateSessionId(Map<String,Object> context)
XmlaRequestCallbacknull if they do not want
 to generate a custom session ID, in which case, the default algorithm
 to generate session IDs will be used.generateSessionId in interface XmlaRequestCallbackcontext - The context of this query.null.public void postAction(javax.servlet.http.HttpServletRequest request,
              javax.servlet.http.HttpServletResponse response,
              byte[][] responseSoapParts,
              Map<String,Object> context)
                throws Exception
XmlaRequestCallbackpostAction in interface XmlaRequestCallbackException