blob: ff0cbc7b09df8370e0448dac79d895cfbdf00a63 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.9) on Sun Jan 31 20:49:53 CET 2021 -->
<title>org.apache.shiro.web.servlet (Apache Shiro 1.7.1 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-01-31">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="org.apache.shiro.web.servlet (Apache Shiro 1.7.1 API)";
}
}
catch(err) {
}
//-->
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<h1 title="Package" class="title">Package&nbsp;org.apache.shiro.web.servlet</h1>
</div>
<div class="contentContainer">
<section role="region"><a id="package.description">
<!-- -->
</a>
<div class="block">Shiro-specific implementations of the Servlet API (Servlet Filters, et al).</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="ShiroFilter.html" title="class in org.apache.shiro.web.servlet"><code>ShiroFilter</code></a></dd>
</dl>
</section>
<ul class="blockList">
<li class="blockList">
<table class="typeSummary">
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="Cookie.html" title="interface in org.apache.shiro.web.servlet">Cookie</a></th>
<td class="colLast">
<div class="block">Interface representing HTTP cookie operations, supporting pojo-style getters and setters for all
attributes which includes <a href="http://www.owasp.org/index.php/HttpOnly">HttpOnly</a> support.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="AbstractFilter.html" title="class in org.apache.shiro.web.servlet">AbstractFilter</a></th>
<td class="colLast">
<div class="block">Base abstract Filter simplifying Filter initialization and <a href="AbstractFilter.html#getInitParam(java.lang.String)"><code>access</code></a> to init parameters.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="AbstractShiroFilter.html" title="class in org.apache.shiro.web.servlet">AbstractShiroFilter</a></th>
<td class="colLast">
<div class="block">Abstract base class that provides all standard Shiro request filtering behavior and expects
subclasses to implement configuration-specific logic (INI, XML, .properties, etc).</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="AdviceFilter.html" title="class in org.apache.shiro.web.servlet">AdviceFilter</a></th>
<td class="colLast">
<div class="block">A Servlet Filter that enables AOP-style &quot;around&quot; advice for a ServletRequest via
<a href="AdviceFilter.html#preHandle(javax.servlet.ServletRequest,javax.servlet.ServletResponse)"><code>preHandle</code></a>,
<a href="AdviceFilter.html#postHandle(javax.servlet.ServletRequest,javax.servlet.ServletResponse)"><code>postHandle</code></a>,
and <a href="AdviceFilter.html#afterCompletion(javax.servlet.ServletRequest,javax.servlet.ServletResponse,java.lang.Exception)"><code>afterCompletion</code></a>
hooks.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="IniShiroFilter.html" title="class in org.apache.shiro.web.servlet">IniShiroFilter</a></th>
<td class="colLast">Deprecated.
<div class="deprecationComment">in 1.2 in favor of using the <a href="ShiroFilter.html" title="class in org.apache.shiro.web.servlet"><code>ShiroFilter</code></a></div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="NameableFilter.html" title="class in org.apache.shiro.web.servlet">NameableFilter</a></th>
<td class="colLast">
<div class="block">Allows a filter to be named via JavaBeans-compatible
<a href="NameableFilter.html#getName()"><code>NameableFilter.getName()</code></a>/<a href="NameableFilter.html#setName(java.lang.String)"><code>NameableFilter.setName(String)</code></a> methods.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="OncePerRequestFilter.html" title="class in org.apache.shiro.web.servlet">OncePerRequestFilter</a></th>
<td class="colLast">
<div class="block">Filter base class that guarantees to be just executed once per request,
on any servlet container.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="ProxiedFilterChain.html" title="class in org.apache.shiro.web.servlet">ProxiedFilterChain</a></th>
<td class="colLast">
<div class="block">A proxied filter chain is a <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/FilterChain.html?is-external=true" title="class or interface in javax.servlet" class="externalLink"><code>FilterChain</code></a> instance that proxies an original <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/FilterChain.html?is-external=true" title="class or interface in javax.servlet" class="externalLink"><code>FilterChain</code></a> as well
as a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>List</code></a> of other <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/Filter.html?is-external=true" title="class or interface in javax.servlet" class="externalLink"><code>Filter</code></a>s that might need to execute prior to the final wrapped
original chain.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="ServletContextSupport.html" title="class in org.apache.shiro.web.servlet">ServletContextSupport</a></th>
<td class="colLast">
<div class="block">Base implementation for any components that need to access the web application's <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet" class="externalLink"><code>ServletContext</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="ShiroFilter.html" title="class in org.apache.shiro.web.servlet">ShiroFilter</a></th>
<td class="colLast">
<div class="block">Primary Shiro Filter for web applications configuring Shiro via Servlet &lt;listener&gt; in web.xml.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="ShiroHttpServletRequest.html" title="class in org.apache.shiro.web.servlet">ShiroHttpServletRequest</a></th>
<td class="colLast">
<div class="block">A <code>ShiroHttpServletRequest</code> wraps the Servlet container's original <code>ServletRequest</code> instance, but ensures
that all <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpServletRequest.html?is-external=true" title="class or interface in javax.servlet.http" class="externalLink"><code>HttpServletRequest</code></a> invocations that require Shiro's support (<a href="ShiroHttpServletRequest.html#getRemoteUser()"><code>getRemoteUser</code></a>,
<a href="ShiroHttpServletRequest.html#getSession(boolean)"><code>getSession</code></a>, etc) can be executed first by Shiro as necessary before allowing the underlying
Servlet container instance's method to be invoked.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="ShiroHttpServletResponse.html" title="class in org.apache.shiro.web.servlet">ShiroHttpServletResponse</a></th>
<td class="colLast">
<div class="block">HttpServletResponse implementation to support URL Encoding of Shiro Session IDs.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="ShiroHttpSession.html" title="class in org.apache.shiro.web.servlet">ShiroHttpSession</a></th>
<td class="colLast">
<div class="block">Wrapper class that uses a Shiro <a href="../../session/Session.html" title="interface in org.apache.shiro.session"><code>Session</code></a> under the hood for all session operations instead of the
Servlet Container's session mechanism.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="SimpleCookie.html" title="class in org.apache.shiro.web.servlet">SimpleCookie</a></th>
<td class="colLast">
<div class="block">Default <a href="Cookie.html" title="interface in org.apache.shiro.web.servlet"><code>Cookie</code></a> implementation.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary">
<caption><span>Enum Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Enum</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="Cookie.SameSiteOptions.html" title="enum in org.apache.shiro.web.servlet">Cookie.SameSiteOptions</a></th>
<td class="colLast">
<div class="block">The SameSite attribute of the Set-Cookie HTTP response header allows you to declare if your cookie should be restricted to a first-party or same-site context.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2004&#x2013;2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>