xmlaerrortest.callback.html

来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 470 行 · 第 1/2 页

HTML
470
字号
</TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="MY_SESSION_ID"><!-- --></A><H3>MY_SESSION_ID</H3><PRE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>MY_SESSION_ID</B></PRE><DL><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="XmlaErrorTest.Callback()"><!-- --></A><H3>XmlaErrorTest.Callback</H3><PRE><B>XmlaErrorTest.Callback</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="init(javax.servlet.ServletConfig)"><!-- --></A><H3>init</H3><PRE>public void <B>init</B>(<A HREF="http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletConfig.html" title="class or interface in javax.servlet">ServletConfig</A>&nbsp;servletConfig)          throws <A HREF="http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletException.html" title="class or interface in javax.servlet">ServletException</A></PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/xmla/XmlaRequestCallback.html#init(javax.servlet.ServletConfig)">init</A></CODE> in interface <CODE><A HREF="../../mondrian/xmla/XmlaRequestCallback.html" title="interface in mondrian.xmla">XmlaRequestCallback</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletException.html" title="class or interface in javax.servlet">ServletException</A></CODE></DL></DD></DL><HR><A NAME="processHttpHeader(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.util.Map)"><!-- --></A><H3>processHttpHeader</H3><PRE>public boolean <B>processHttpHeader</B>(<A HREF="http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpServletRequest.html" title="class or interface in javax.servlet.http">HttpServletRequest</A>&nbsp;request,                                 <A HREF="http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpServletResponse.html" title="class or interface in javax.servlet.http">HttpServletResponse</A>&nbsp;response,                                 <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&gt;&nbsp;context)                          throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/xmla/XmlaRequestCallback.html#processHttpHeader(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.util.Map)">XmlaRequestCallback</A></CODE></B></DD><DD>Process the request header items. Specifically if present the Authorization and Expect headers. If the Authorization header is present, then the callback can validate the user/password. If authentication fails, the callback should throw an XmlaException with the correct XmlaConstants values. The XmlaRequestCallback.Helper class contains the authorizationException method that can be used by a callback to generate the XmlaException with the correct values. If the Expect header is set with "100-continue", then it is upto the callback to create the appropriate response and return false. In this case, the XmlaServlet stops processing and returns the response to the client application. To facilitate the generation of the response, the XmlaRequestCallback.Helper has the method generatedExpectResponse that can be called by the callback. <p> 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).<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/xmla/XmlaRequestCallback.html#processHttpHeader(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.util.Map)">processHttpHeader</A></CODE> in interface <CODE><A HREF="../../mondrian/xmla/XmlaRequestCallback.html" title="interface in mondrian.xmla">XmlaRequestCallback</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if XmlaServlet handling is to continue and false if         there was an Expect header "100-continue".<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE></DL></DD></DL><HR><A NAME="preAction(javax.servlet.http.HttpServletRequest, org.w3c.dom.Element[], java.util.Map)"><!-- --></A><H3>preAction</H3><PRE>public void <B>preAction</B>(<A HREF="http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpServletRequest.html" title="class or interface in javax.servlet.http">HttpServletRequest</A>&nbsp;request,                      <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Element.html" title="class or interface in org.w3c.dom">Element</A>[]&nbsp;requestSoapParts,                      <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&gt;&nbsp;context)               throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/xmla/XmlaRequestCallback.html#preAction(javax.servlet.http.HttpServletRequest, org.w3c.dom.Element[], java.util.Map)">XmlaRequestCallback</A></CODE></B></DD><DD>This is called after the headers have been process but before the body (DISCOVER/EXECUTE) has been processed.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/xmla/XmlaRequestCallback.html#preAction(javax.servlet.http.HttpServletRequest, org.w3c.dom.Element[], java.util.Map)">preAction</A></CODE> in interface <CODE><A HREF="../../mondrian/xmla/XmlaRequestCallback.html" title="interface in mondrian.xmla">XmlaRequestCallback</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE></DL></DD></DL><HR><A NAME="generateSessionId(java.util.Map)"><!-- --></A><H3>generateSessionId</H3><PRE>public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>generateSessionId</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&gt;&nbsp;context)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/xmla/XmlaRequestCallback.html#generateSessionId(java.util.Map)">XmlaRequestCallback</A></CODE></B></DD><DD>The Callback is requested to generate a sequence id string. This sequence id was requested by the XMLA client and will be used for all subsequent communications in the Soap Header block.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/xmla/XmlaRequestCallback.html#generateSessionId(java.util.Map)">generateSessionId</A></CODE> in interface <CODE><A HREF="../../mondrian/xmla/XmlaRequestCallback.html" title="interface in mondrian.xmla">XmlaRequestCallback</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="postAction(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, byte[][], java.util.Map)"><!-- --></A><H3>postAction</H3><PRE>public void <B>postAction</B>(<A HREF="http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpServletRequest.html" title="class or interface in javax.servlet.http">HttpServletRequest</A>&nbsp;request,                       <A HREF="http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpServletResponse.html" title="class or interface in javax.servlet.http">HttpServletResponse</A>&nbsp;response,                       byte[][]&nbsp;responseSoapParts,                       <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&gt;&nbsp;context)                throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/xmla/XmlaRequestCallback.html#postAction(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, byte[][], java.util.Map)">XmlaRequestCallback</A></CODE></B></DD><DD>This is called after all Mondrian processing (DISCOVER/EXECUTE) has occurred.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/xmla/XmlaRequestCallback.html#postAction(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, byte[][], java.util.Map)">postAction</A></CODE> in interface <CODE><A HREF="../../mondrian/xmla/XmlaRequestCallback.html" title="interface in mondrian.xmla">XmlaRequestCallback</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><a href="http://sourceforge.net/projects/mondrian"><img src="http://sourceforge.net/sflogo.php?group_id=35302&type=1" width="88" height="31" border="0" alt="SourceForge.net_Logo"></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../mondrian/xmla/XmlaErrorTest.html" title="class in mondrian.xmla"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../mondrian/xmla/XmlaErrorTest.Fault.html" title="class in mondrian.xmla"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html?mondrian/xmla/XmlaErrorTest.Callback.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="XmlaErrorTest.Callback.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?