Added: 
websites/production/commons/content/proper/commons-fileupload/javadocs/api-release/org/apache/commons/fileupload/class-use/RequestContext.html
==============================================================================
--- 
websites/production/commons/content/proper/commons-fileupload/javadocs/api-release/org/apache/commons/fileupload/class-use/RequestContext.html
 (added)
+++ 
websites/production/commons/content/proper/commons-fileupload/javadocs/api-release/org/apache/commons/fileupload/class-use/RequestContext.html
 Tue Jun 13 12:48:38 2017
@@ -0,0 +1,269 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title>Uses of Interface org.apache.commons.fileupload.RequestContext (Apache 
Commons FileUpload 1.3.3 API)</title>
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" 
title="Style">
+<script type="text/javascript" src="../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="Uses of Interface 
org.apache.commons.fileupload.RequestContext (Apache Commons FileUpload 1.3.3 
API)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in org.apache.commons.fileupload">Class</a></li>
+<li class="navBarCell1Rev">Use</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">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/commons/fileupload/class-use/RequestContext.html"
 target="_top">Frames</a></li>
+<li><a href="RequestContext.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Interface org.apache.commons.fileupload.RequestContext" 
class="title">Uses of 
Interface<br>org.apache.commons.fileupload.RequestContext</h2>
+</div>
+<div class="classUseContainer">
+<ul class="blockList">
+<li class="blockList">
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Use table, listing packages, and an explanation">
+<caption><span>Packages that use <a 
href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in 
org.apache.commons.fileupload">RequestContext</a></span><span 
class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Package</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a 
href="#org.apache.commons.fileupload">org.apache.commons.fileupload</a></td>
+<td class="colLast">
+<div class="block">
+ A component for handling HTML file uploads as specified by
+ <a href="http://www.ietf.org/rfc/rfc1867.txt"; 
target="_top">RFC&nbsp;1867</a>.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a 
href="#org.apache.commons.fileupload.portlet">org.apache.commons.fileupload.portlet</a></td>
+<td class="colLast">
+<div class="block">
+      An implementation of
+      <a href="../../../../../org/apache/commons/fileupload/FileUpload.html" 
title="class in org.apache.commons.fileupload"><code>FileUpload</code></a>
+      for use in portlets conforming to JSR 168.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a 
href="#org.apache.commons.fileupload.servlet">org.apache.commons.fileupload.servlet</a></td>
+<td class="colLast">
+<div class="block">
+      An implementation of
+      <a href="../../../../../org/apache/commons/fileupload/FileUpload.html" 
title="class in org.apache.commons.fileupload"><code>FileUpload</code></a>
+      for use in servlets conforming to JSR 53.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList">
+<ul class="blockList">
+<li class="blockList"><a name="org.apache.commons.fileupload">
+<!--   -->
+</a>
+<h3>Uses of <a 
href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in org.apache.commons.fileupload">RequestContext</a> in <a 
href="../../../../../org/apache/commons/fileupload/package-summary.html">org.apache.commons.fileupload</a></h3>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Use table, listing subinterfaces, and an explanation">
+<caption><span>Subinterfaces of <a 
href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in org.apache.commons.fileupload">RequestContext</a> in <a 
href="../../../../../org/apache/commons/fileupload/package-summary.html">org.apache.commons.fileupload</a></span><span
 class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Interface and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>interface&nbsp;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/UploadContext.html" 
title="interface in 
org.apache.commons.fileupload">UploadContext</a></span></code>
+<div class="block">Enhanced access to the request information needed for file 
uploads,
+ which fixes the Content Length data access in <a 
href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in 
org.apache.commons.fileupload"><code>RequestContext</code></a>.</div>
+</td>
+</tr>
+</tbody>
+</table>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a 
href="../../../../../org/apache/commons/fileupload/package-summary.html">org.apache.commons.fileupload</a>
 with parameters of type <a 
href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in 
org.apache.commons.fileupload">RequestContext</a></span><span 
class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code><a 
href="../../../../../org/apache/commons/fileupload/FileItemIterator.html" 
title="interface in 
org.apache.commons.fileupload">FileItemIterator</a></code></td>
+<td class="colLast"><span 
class="typeNameLabel">FileUploadBase.</span><code><span 
class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/FileUploadBase.html#getItemIterator-org.apache.commons.fileupload.RequestContext-">getItemIterator</a></span>(<a
 href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in 
org.apache.commons.fileupload">RequestContext</a>&nbsp;ctx)</code>
+<div class="block">Processes an <a 
href="http://www.ietf.org/rfc/rfc1867.txt";>RFC 1867</a>
+ compliant <code>multipart/form-data</code> stream.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static boolean</code></td>
+<td class="colLast"><span 
class="typeNameLabel">FileUploadBase.</span><code><span 
class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/FileUploadBase.html#isMultipartContent-org.apache.commons.fileupload.RequestContext-">isMultipartContent</a></span>(<a
 href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in 
org.apache.commons.fileupload">RequestContext</a>&nbsp;ctx)</code>
+<div class="block">Utility method that determines whether the request contains 
multipart
+ content.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">Map</a>&lt;<a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>,<a 
href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List</a>&lt;<a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in 
org.apache.commons.fileupload">FileItem</a>&gt;&gt;</code></td>
+<td class="colLast"><span 
class="typeNameLabel">FileUploadBase.</span><code><span 
class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/FileUploadBase.html#parseParameterMap-org.apache.commons.fileupload.RequestContext-">parseParameterMap</a></span>(<a
 href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in 
org.apache.commons.fileupload">RequestContext</a>&nbsp;ctx)</code>
+<div class="block">Processes an <a 
href="http://www.ietf.org/rfc/rfc1867.txt";>RFC 1867</a>
+ compliant <code>multipart/form-data</code> stream.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List</a>&lt;<a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a>&gt;</code></td>
+<td class="colLast"><span 
class="typeNameLabel">FileUploadBase.</span><code><span 
class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/FileUploadBase.html#parseRequest-org.apache.commons.fileupload.RequestContext-">parseRequest</a></span>(<a
 href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in 
org.apache.commons.fileupload">RequestContext</a>&nbsp;ctx)</code>
+<div class="block">Processes an <a 
href="http://www.ietf.org/rfc/rfc1867.txt";>RFC 1867</a>
+ compliant <code>multipart/form-data</code> stream.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList"><a name="org.apache.commons.fileupload.portlet">
+<!--   -->
+</a>
+<h3>Uses of <a 
href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in org.apache.commons.fileupload">RequestContext</a> in <a 
href="../../../../../org/apache/commons/fileupload/portlet/package-summary.html">org.apache.commons.fileupload.portlet</a></h3>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Use table, listing classes, and an explanation">
+<caption><span>Classes in <a 
href="../../../../../org/apache/commons/fileupload/portlet/package-summary.html">org.apache.commons.fileupload.portlet</a>
 that implement <a 
href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in 
org.apache.commons.fileupload">RequestContext</a></span><span 
class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Class and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>class&nbsp;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/portlet/PortletRequestContext.html"
 title="class in 
org.apache.commons.fileupload.portlet">PortletRequestContext</a></span></code>
+<div class="block">Provides access to the request information needed for a 
request made to
+ a portlet.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList"><a name="org.apache.commons.fileupload.servlet">
+<!--   -->
+</a>
+<h3>Uses of <a 
href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in org.apache.commons.fileupload">RequestContext</a> in <a 
href="../../../../../org/apache/commons/fileupload/servlet/package-summary.html">org.apache.commons.fileupload.servlet</a></h3>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Use table, listing classes, and an explanation">
+<caption><span>Classes in <a 
href="../../../../../org/apache/commons/fileupload/servlet/package-summary.html">org.apache.commons.fileupload.servlet</a>
 that implement <a 
href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in 
org.apache.commons.fileupload">RequestContext</a></span><span 
class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Class and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>class&nbsp;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/servlet/ServletRequestContext.html"
 title="class in 
org.apache.commons.fileupload.servlet">ServletRequestContext</a></span></code>
+<div class="block">Provides access to the request information needed for a 
request made to
+ an HTTP servlet.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a href="../../../../../org/apache/commons/fileupload/RequestContext.html" 
title="interface in org.apache.commons.fileupload">Class</a></li>
+<li class="navBarCell1Rev">Use</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">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/commons/fileupload/class-use/RequestContext.html"
 target="_top">Frames</a></li>
+<li><a href="RequestContext.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.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>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2002&#x2013;2017 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All rights 
reserved.</small></p>
+</body>
+</html>

Added: 
websites/production/commons/content/proper/commons-fileupload/javadocs/api-release/org/apache/commons/fileupload/class-use/UploadContext.html
==============================================================================
--- 
websites/production/commons/content/proper/commons-fileupload/javadocs/api-release/org/apache/commons/fileupload/class-use/UploadContext.html
 (added)
+++ 
websites/production/commons/content/proper/commons-fileupload/javadocs/api-release/org/apache/commons/fileupload/class-use/UploadContext.html
 Tue Jun 13 12:48:38 2017
@@ -0,0 +1,203 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title>Uses of Interface org.apache.commons.fileupload.UploadContext (Apache 
Commons FileUpload 1.3.3 API)</title>
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" 
title="Style">
+<script type="text/javascript" src="../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="Uses of Interface 
org.apache.commons.fileupload.UploadContext (Apache Commons FileUpload 1.3.3 
API)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a href="../../../../../org/apache/commons/fileupload/UploadContext.html" 
title="interface in org.apache.commons.fileupload">Class</a></li>
+<li class="navBarCell1Rev">Use</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">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/commons/fileupload/class-use/UploadContext.html"
 target="_top">Frames</a></li>
+<li><a href="UploadContext.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Interface org.apache.commons.fileupload.UploadContext" 
class="title">Uses of 
Interface<br>org.apache.commons.fileupload.UploadContext</h2>
+</div>
+<div class="classUseContainer">
+<ul class="blockList">
+<li class="blockList">
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Use table, listing packages, and an explanation">
+<caption><span>Packages that use <a 
href="../../../../../org/apache/commons/fileupload/UploadContext.html" 
title="interface in 
org.apache.commons.fileupload">UploadContext</a></span><span 
class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Package</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a 
href="#org.apache.commons.fileupload.portlet">org.apache.commons.fileupload.portlet</a></td>
+<td class="colLast">
+<div class="block">
+      An implementation of
+      <a href="../../../../../org/apache/commons/fileupload/FileUpload.html" 
title="class in org.apache.commons.fileupload"><code>FileUpload</code></a>
+      for use in portlets conforming to JSR 168.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a 
href="#org.apache.commons.fileupload.servlet">org.apache.commons.fileupload.servlet</a></td>
+<td class="colLast">
+<div class="block">
+      An implementation of
+      <a href="../../../../../org/apache/commons/fileupload/FileUpload.html" 
title="class in org.apache.commons.fileupload"><code>FileUpload</code></a>
+      for use in servlets conforming to JSR 53.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList">
+<ul class="blockList">
+<li class="blockList"><a name="org.apache.commons.fileupload.portlet">
+<!--   -->
+</a>
+<h3>Uses of <a 
href="../../../../../org/apache/commons/fileupload/UploadContext.html" 
title="interface in org.apache.commons.fileupload">UploadContext</a> in <a 
href="../../../../../org/apache/commons/fileupload/portlet/package-summary.html">org.apache.commons.fileupload.portlet</a></h3>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Use table, listing classes, and an explanation">
+<caption><span>Classes in <a 
href="../../../../../org/apache/commons/fileupload/portlet/package-summary.html">org.apache.commons.fileupload.portlet</a>
 that implement <a 
href="../../../../../org/apache/commons/fileupload/UploadContext.html" 
title="interface in 
org.apache.commons.fileupload">UploadContext</a></span><span 
class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Class and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>class&nbsp;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/portlet/PortletRequestContext.html"
 title="class in 
org.apache.commons.fileupload.portlet">PortletRequestContext</a></span></code>
+<div class="block">Provides access to the request information needed for a 
request made to
+ a portlet.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList"><a name="org.apache.commons.fileupload.servlet">
+<!--   -->
+</a>
+<h3>Uses of <a 
href="../../../../../org/apache/commons/fileupload/UploadContext.html" 
title="interface in org.apache.commons.fileupload">UploadContext</a> in <a 
href="../../../../../org/apache/commons/fileupload/servlet/package-summary.html">org.apache.commons.fileupload.servlet</a></h3>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Use table, listing classes, and an explanation">
+<caption><span>Classes in <a 
href="../../../../../org/apache/commons/fileupload/servlet/package-summary.html">org.apache.commons.fileupload.servlet</a>
 that implement <a 
href="../../../../../org/apache/commons/fileupload/UploadContext.html" 
title="interface in 
org.apache.commons.fileupload">UploadContext</a></span><span 
class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Class and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>class&nbsp;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/servlet/ServletRequestContext.html"
 title="class in 
org.apache.commons.fileupload.servlet">ServletRequestContext</a></span></code>
+<div class="block">Provides access to the request information needed for a 
request made to
+ an HTTP servlet.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a href="../../../../../org/apache/commons/fileupload/UploadContext.html" 
title="interface in org.apache.commons.fileupload">Class</a></li>
+<li class="navBarCell1Rev">Use</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">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/commons/fileupload/class-use/UploadContext.html"
 target="_top">Frames</a></li>
+<li><a href="UploadContext.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.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>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2002&#x2013;2017 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All rights 
reserved.</small></p>
+</body>
+</html>

Added: 
websites/production/commons/content/proper/commons-fileupload/javadocs/api-release/org/apache/commons/fileupload/disk/DiskFileItem.html
==============================================================================
--- 
websites/production/commons/content/proper/commons-fileupload/javadocs/api-release/org/apache/commons/fileupload/disk/DiskFileItem.html
 (added)
+++ 
websites/production/commons/content/proper/commons-fileupload/javadocs/api-release/org/apache/commons/fileupload/disk/DiskFileItem.html
 Tue Jun 13 12:48:38 2017
@@ -0,0 +1,959 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title>DiskFileItem (Apache Commons FileUpload 1.3.3 API)</title>
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" 
title="Style">
+<script type="text/javascript" src="../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="DiskFileItem (Apache Commons FileUpload 
1.3.3 API)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/DiskFileItem.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">
+<li>Prev&nbsp;Class</li>
+<li><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItemFactory.html"
 title="class in org.apache.commons.fileupload.disk"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/commons/fileupload/disk/DiskFileItem.html"
 target="_top">Frames</a></li>
+<li><a href="DiskFileItem.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.commons.fileupload.disk</div>
+<h2 title="Class DiskFileItem" class="title">Class DiskFileItem</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.commons.fileupload.disk.DiskFileItem</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true";
 title="class or interface in java.io">Serializable</a>, <a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a>, <a 
href="../../../../../org/apache/commons/fileupload/FileItemHeadersSupport.html" 
title="interface in 
org.apache.commons.fileupload">FileItemHeadersSupport</a></dd>
+</dl>
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a 
href="../../../../../org/apache/commons/fileupload/DefaultFileItem.html" 
title="class in org.apache.commons.fileupload">DefaultFileItem</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.76">DiskFileItem</a>
+extends <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object</a>
+implements <a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></pre>
+<div class="block"><p> The default implementation of the
+ <a href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload"><code>FileItem</code></a> 
interface.
+
+ <p> After retrieving an instance of this class from a <a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItemFactory.html"
 title="class in 
org.apache.commons.fileupload.disk"><code>DiskFileItemFactory</code></a> 
instance (see
+ <a 
href="../../../../../org/apache/commons/fileupload/servlet/ServletFileUpload.html"
 title="class in 
org.apache.commons.fileupload.servlet"><code>#parseRequest(javax.servlet.http.HttpServletRequest)</code></a>),
 you may
+ either request all contents of file at once using <a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#get--"><code>get()</code></a>
 or
+ request an <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true";
 title="class or interface in java.io"><code>InputStream</code></a> with
+ <a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#getInputStream--"><code>getInputStream()</code></a>
 and process the file without attempting to load
+ it into memory, which may come handy with large files.
+
+ <p>Temporary files, which are created for file items, should be
+ deleted later on. The best way to do this is using a
+ <code>FileCleaningTracker</code>, which you can set on the
+ <a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItemFactory.html"
 title="class in 
org.apache.commons.fileupload.disk"><code>DiskFileItemFactory</code></a>. 
However, if you do use such a tracker,
+ then you must consider the following: Temporary files are automatically
+ deleted as soon as they are no longer needed. (More precisely, when the
+ corresponding instance of <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io"><code>File</code></a> is garbage 
collected.)
+ This is done by the so-called reaper thread, which is started and stopped
+ automatically by the <code>FileCleaningTracker</code> when
+ there are files to be tracked.
+ It might make sense to terminate that thread, for example, if
+ your web application ends. See the section on "Resource cleanup"
+ in the users guide of commons-fileupload.</p></div>
+<dl>
+<dt><span class="simpleTagLabel">Since:</span></dt>
+<dd>FileUpload 1.1</dd>
+<dt><span class="simpleTagLabel">Version:</span></dt>
+<dd>$Id$</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a 
href="../../../../../serialized-form.html#org.apache.commons.fileupload.disk.DiskFileItem">Serialized
 Form</a></dd>
+</dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#DEFAULT_CHARSET">DEFAULT_CHARSET</a></span></code>
+<div class="block">Default content charset to be used when no explicit charset
+ parameter is provided by the sender.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#SERIALIZABLE_PROPERTY">SERIALIZABLE_PROPERTY</a></span></code>
+<div class="block">Although it implements <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true";
 title="class or interface in java.io"><code>Serializable</code></a>, a 
DiskFileItem can actually only be deserialized,
+ if this System property is true.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#DiskFileItem-java.lang.String-java.lang.String-boolean-java.lang.String-int-java.io.File-">DiskFileItem</a></span>(<a
 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;fieldName,
+            <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;contentType,
+            boolean&nbsp;isFormField,
+            <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;fileName,
+            int&nbsp;sizeThreshold,
+            <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io">File</a>&nbsp;repository)</code>
+<div class="block">Constructs a new <code>DiskFileItem</code> instance.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span 
class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a 
href="javascript:show(2);">Instance Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a 
href="javascript:show(8);">Concrete Methods</a></span><span 
class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#delete--">delete</a></span>()</code>
+<div class="block">Deletes the underlying storage for a file item, including 
deleting any
+ associated temporary disk file.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>protected void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#finalize--">finalize</a></span>()</code>
+<div class="block">Removes the file contents from the temporary storage.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>byte[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#get--">get</a></span>()</code>
+<div class="block">Returns the contents of the file as an array of bytes.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#getCharSet--">getCharSet</a></span>()</code>
+<div class="block">Returns the content charset passed by the agent or 
<code>null</code> if
+ not defined.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#getContentType--">getContentType</a></span>()</code>
+<div class="block">Returns the content type passed by the agent or 
<code>null</code> if
+ not defined.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#getFieldName--">getFieldName</a></span>()</code>
+<div class="block">Returns the name of the field in the multipart form 
corresponding to
+ this file item.</div>
+</td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code><a 
href="../../../../../org/apache/commons/fileupload/FileItemHeaders.html" 
title="interface in 
org.apache.commons.fileupload">FileItemHeaders</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#getHeaders--">getHeaders</a></span>()</code>
+<div class="block">Returns the file item headers.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true";
 title="class or interface in java.io">InputStream</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#getInputStream--">getInputStream</a></span>()</code>
+<div class="block">Returns an <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true";
 title="class or interface in java.io"><code>InputStream</code></a> that can be
+ used to retrieve the contents of the file.</div>
+</td>
+</tr>
+<tr id="i8" class="altColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#getName--">getName</a></span>()</code>
+<div class="block">Returns the original filename in the client's 
filesystem.</div>
+</td>
+</tr>
+<tr id="i9" class="rowColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io">OutputStream</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#getOutputStream--">getOutputStream</a></span>()</code>
+<div class="block">Returns an <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io"><code>OutputStream</code></a> that can
+ be used for storing the contents of the file.</div>
+</td>
+</tr>
+<tr id="i10" class="altColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#getSize--">getSize</a></span>()</code>
+<div class="block">Returns the size of the file.</div>
+</td>
+</tr>
+<tr id="i11" class="rowColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io">File</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#getStoreLocation--">getStoreLocation</a></span>()</code>
+<div class="block">Returns the <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io"><code>File</code></a> object for the 
<code>FileItem</code>'s
+ data's temporary location on the disk.</div>
+</td>
+</tr>
+<tr id="i12" class="altColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#getString--">getString</a></span>()</code>
+<div class="block">Returns the contents of the file as a String, using the 
default
+ character encoding.</div>
+</td>
+</tr>
+<tr id="i13" class="rowColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#getString-java.lang.String-">getString</a></span>(<a
 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;charset)</code>
+<div class="block">Returns the contents of the file as a String, using the 
specified
+ encoding.</div>
+</td>
+</tr>
+<tr id="i14" class="altColor">
+<td class="colFirst"><code>protected <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io">File</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#getTempFile--">getTempFile</a></span>()</code>
+<div class="block">Creates and returns a <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io"><code>File</code></a> representing a 
uniquely
+ named temporary file in the configured repository path.</div>
+</td>
+</tr>
+<tr id="i15" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#isFormField--">isFormField</a></span>()</code>
+<div class="block">Determines whether or not a <code>FileItem</code> instance 
represents
+ a simple form field.</div>
+</td>
+</tr>
+<tr id="i16" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#isInMemory--">isInMemory</a></span>()</code>
+<div class="block">Provides a hint as to whether or not the file contents will 
be read
+ from memory.</div>
+</td>
+</tr>
+<tr id="i17" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#setFieldName-java.lang.String-">setFieldName</a></span>(<a
 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
+<div class="block">Sets the field name used to reference this file item.</div>
+</td>
+</tr>
+<tr id="i18" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#setFormField-boolean-">setFormField</a></span>(boolean&nbsp;state)</code>
+<div class="block">Specifies whether or not a <code>FileItem</code> instance 
represents
+ a simple form field.</div>
+</td>
+</tr>
+<tr id="i19" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#setHeaders-org.apache.commons.fileupload.FileItemHeaders-">setHeaders</a></span>(<a
 href="../../../../../org/apache/commons/fileupload/FileItemHeaders.html" 
title="interface in 
org.apache.commons.fileupload">FileItemHeaders</a>&nbsp;pHeaders)</code>
+<div class="block">Sets the file item headers.</div>
+</td>
+</tr>
+<tr id="i20" class="altColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#toString--">toString</a></span>()</code>
+<div class="block">Returns a string representation of this object.</div>
+</td>
+</tr>
+<tr id="i21" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#write-java.io.File-">write</a></span>(<a
 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io">File</a>&nbsp;file)</code>
+<div class="block">A convenience method to write an uploaded item to 
disk.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object</a></h3>
+<code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--";
 title="class or interface in java.lang">clone</a>, <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-";
 title="class or interface in java.lang">equals</a>, <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--";
 title="class or interface in java.lang">getClass</a>, <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--";
 title="class or interface in java.lang">hashCode</a>, <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--";
 title="class or interface in java.lang">notify</a>, <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--";
 title="class or interface in java.lang">notifyAll</a>, <a 
href="http://docs.oracle.com/javase/7/docs/api/java/la
 ng/Object.html?is-external=true#wait--" title="class or interface in 
java.lang">wait</a>, <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-";
 title="class or interface in java.lang">wait</a>, <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-";
 title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.detail">
+<!--   -->
+</a>
+<h3>Field Detail</h3>
+<a name="SERIALIZABLE_PROPERTY">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>SERIALIZABLE_PROPERTY</h4>
+<pre>public static final&nbsp;<a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a> <a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.83">SERIALIZABLE_PROPERTY</a></pre>
+<div class="block">Although it implements <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true";
 title="class or interface in java.io"><code>Serializable</code></a>, a 
DiskFileItem can actually only be deserialized,
+ if this System property is true.</div>
+</li>
+</ul>
+<a name="DEFAULT_CHARSET">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>DEFAULT_CHARSET</h4>
+<pre>public static final&nbsp;<a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a> <a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.98">DEFAULT_CHARSET</a></pre>
+<div class="block">Default content charset to be used when no explicit charset
+ parameter is provided by the sender. Media subtypes of the
+ "text" type are defined to have a default charset value of
+ "ISO-8859-1" when received via HTTP.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a 
href="../../../../../constant-values.html#org.apache.commons.fileupload.disk.DiskFileItem.DEFAULT_CHARSET">Constant
 Field Values</a></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a 
name="DiskFileItem-java.lang.String-java.lang.String-boolean-java.lang.String-int-java.io.File-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>DiskFileItem</h4>
+<pre>public&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.195">DiskFileItem</a>(<a
 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;fieldName,
+                    <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;contentType,
+                    boolean&nbsp;isFormField,
+                    <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;fileName,
+                    int&nbsp;sizeThreshold,
+                    <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io">File</a>&nbsp;repository)</pre>
+<div class="block">Constructs a new <code>DiskFileItem</code> instance.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>fieldName</code> - The name of the form field.</dd>
+<dd><code>contentType</code> - The content type passed by the browser or
+                      <code>null</code> if not specified.</dd>
+<dd><code>isFormField</code> - Whether or not this item is a plain form field, 
as
+                      opposed to a file upload.</dd>
+<dd><code>fileName</code> - The original filename in the user's filesystem, or
+                      <code>null</code> if not specified.</dd>
+<dd><code>sizeThreshold</code> - The threshold, in bytes, below which items 
will be
+                      retained in memory and above which they will be
+                      stored as a file.</dd>
+<dd><code>repository</code> - The data repository, which is the directory in
+                      which files will be created, should the item size
+                      exceed the threshold.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="getInputStream--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getInputStream</h4>
+<pre>public&nbsp;<a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true";
 title="class or interface in java.io">InputStream</a>&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.217">getInputStream</a>()
+                           throws <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException</a></pre>
+<div class="block">Returns an <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true";
 title="class or interface in java.io"><code>InputStream</code></a> that can be
+ used to retrieve the contents of the file.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#getInputStream--">getInputStream</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>An <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true";
 title="class or interface in java.io"><code>InputStream</code></a> that can be
+         used to retrieve the contents of the file.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException</a></code> - if an error 
occurs.</dd>
+</dl>
+</li>
+</ul>
+<a name="getContentType--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getContentType</h4>
+<pre>public&nbsp;<a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.236">getContentType</a>()</pre>
+<div class="block">Returns the content type passed by the agent or 
<code>null</code> if
+ not defined.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#getContentType--">getContentType</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The content type passed by the agent or <code>null</code> if
+         not defined.</dd>
+</dl>
+</li>
+</ul>
+<a name="getCharSet--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getCharSet</h4>
+<pre>public&nbsp;<a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.247">getCharSet</a>()</pre>
+<div class="block">Returns the content charset passed by the agent or 
<code>null</code> if
+ not defined.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The content charset passed by the agent or <code>null</code> if
+         not defined.</dd>
+</dl>
+</li>
+</ul>
+<a name="getName--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getName</h4>
+<pre>public&nbsp;<a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.264">getName</a>()</pre>
+<div class="block">Returns the original filename in the client's 
filesystem.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#getName--">getName</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The original filename in the client's filesystem.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/InvalidFileNameException.html"
 title="class in 
org.apache.commons.fileupload">InvalidFileNameException</a></code> - The file 
name contains a NUL character,
+   which might be an indicator of a security attack. If you intend to
+   use the file name anyways, catch the exception and use
+   <a 
href="../../../../../org/apache/commons/fileupload/InvalidFileNameException.html#getName--"><code>InvalidFileNameException.getName()</code></a>.</dd>
+</dl>
+</li>
+</ul>
+<a name="isInMemory--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isInMemory</h4>
+<pre>public&nbsp;boolean&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.277">isInMemory</a>()</pre>
+<div class="block">Provides a hint as to whether or not the file contents will 
be read
+ from memory.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#isInMemory--">isInMemory</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><code>true</code> if the file contents will be read
+         from memory; <code>false</code> otherwise.</dd>
+</dl>
+</li>
+</ul>
+<a name="getSize--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSize</h4>
+<pre>public&nbsp;long&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.289">getSize</a>()</pre>
+<div class="block">Returns the size of the file.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#getSize--">getSize</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The size of the file, in bytes.</dd>
+</dl>
+</li>
+</ul>
+<a name="get--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public&nbsp;byte[]&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.308">get</a>()</pre>
+<div class="block">Returns the contents of the file as an array of bytes.  If 
the
+ contents of the file were not yet cached in memory, they will be
+ loaded from the disk storage and cached.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#get--">get</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The contents of the file as an array of bytes.</dd>
+</dl>
+</li>
+</ul>
+<a name="getString-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getString</h4>
+<pre>public&nbsp;<a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.349">getString</a>(<a
 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;charset)
+                 throws <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/UnsupportedEncodingException.html?is-external=true";
 title="class or interface in java.io">UnsupportedEncodingException</a></pre>
+<div class="block">Returns the contents of the file as a String, using the 
specified
+ encoding.  This method uses <a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#get--"><code>get()</code></a>
 to retrieve the
+ contents of the file.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#getString-java.lang.String-">getString</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>charset</code> - The charset to use.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The contents of the file, as a string.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/UnsupportedEncodingException.html?is-external=true";
 title="class or interface in java.io">UnsupportedEncodingException</a></code> 
- if the requested character
+                                      encoding is not available.</dd>
+</dl>
+</li>
+</ul>
+<a name="getString--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getString</h4>
+<pre>public&nbsp;<a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.363">getString</a>()</pre>
+<div class="block">Returns the contents of the file as a String, using the 
default
+ character encoding.  This method uses <a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#get--"><code>get()</code></a>
 to retrieve the
+ contents of the file.
+
+ <b>TODO</b> Consider making this method throw 
UnsupportedEncodingException.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#getString--">getString</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The contents of the file, as a string.</dd>
+</dl>
+</li>
+</ul>
+<a name="write-java.io.File-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>write</h4>
+<pre>public&nbsp;void&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.396">write</a>(<a
 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io">File</a>&nbsp;file)
+           throws <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true";
 title="class or interface in java.lang">Exception</a></pre>
+<div class="block">A convenience method to write an uploaded item to disk. The 
client code
+ is not concerned with whether or not the item is stored in memory, or on
+ disk in a temporary location. They just want to write the uploaded item
+ to a file.
+ <p>
+ This implementation first attempts to rename the uploaded item to the
+ specified destination file, if the item was originally written to disk.
+ Otherwise, the data will be copied to the specified file.
+ <p>
+ This method is only guaranteed to work <em>once</em>, the first time it
+ is invoked for a particular item. This is because, in the event that the
+ method renames a temporary file, that file will no longer be available
+ to copy or rename again at a later time.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#write-java.io.File-">write</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>file</code> - The <code>File</code> into which the uploaded item 
should
+             be stored.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true";
 title="class or interface in java.lang">Exception</a></code> - if an error 
occurs.</dd>
+</dl>
+</li>
+</ul>
+<a name="delete--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>delete</h4>
+<pre>public&nbsp;void&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.461">delete</a>()</pre>
+<div class="block">Deletes the underlying storage for a file item, including 
deleting any
+ associated temporary disk file. Although this storage will be deleted
+ automatically when the <code>FileItem</code> instance is garbage
+ collected, this method can be used to ensure that this is done at an
+ earlier time, thus preserving system resources.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#delete--">delete</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getFieldName--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getFieldName</h4>
+<pre>public&nbsp;<a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.478">getFieldName</a>()</pre>
+<div class="block">Returns the name of the field in the multipart form 
corresponding to
+ this file item.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#getFieldName--">getFieldName</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The name of the form field.</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#setFieldName-java.lang.String-"><code>setFieldName(java.lang.String)</code></a></dd>
+</dl>
+</li>
+</ul>
+<a name="setFieldName-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setFieldName</h4>
+<pre>public&nbsp;void&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.490">setFieldName</a>(<a
 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
+<div class="block">Sets the field name used to reference this file item.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#setFieldName-java.lang.String-">setFieldName</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>fieldName</code> - The name of the form field.</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#getFieldName--"><code>getFieldName()</code></a></dd>
+</dl>
+</li>
+</ul>
+<a name="isFormField--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isFormField</h4>
+<pre>public&nbsp;boolean&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.504">isFormField</a>()</pre>
+<div class="block">Determines whether or not a <code>FileItem</code> instance 
represents
+ a simple form field.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#isFormField--">isFormField</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><code>true</code> if the instance represents a simple form
+         field; <code>false</code> if it represents an uploaded file.</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#setFormField-boolean-"><code>setFormField(boolean)</code></a></dd>
+</dl>
+</li>
+</ul>
+<a name="setFormField-boolean-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setFormField</h4>
+<pre>public&nbsp;void&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.518">setFormField</a>(boolean&nbsp;state)</pre>
+<div class="block">Specifies whether or not a <code>FileItem</code> instance 
represents
+ a simple form field.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#setFormField-boolean-">setFormField</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>state</code> - <code>true</code> if the instance represents a simple 
form
+              field; <code>false</code> if it represents an uploaded file.</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItem.html#isFormField--"><code>isFormField()</code></a></dd>
+</dl>
+</li>
+</ul>
+<a name="getOutputStream--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getOutputStream</h4>
+<pre>public&nbsp;<a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io">OutputStream</a>&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.531">getOutputStream</a>()
+                             throws <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException</a></pre>
+<div class="block">Returns an <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io"><code>OutputStream</code></a> that can
+ be used for storing the contents of the file.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html#getOutputStream--">getOutputStream</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItem.html" 
title="interface in org.apache.commons.fileupload">FileItem</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>An <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io"><code>OutputStream</code></a> that can 
be used
+         for storing the contensts of the file.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException</a></code> - if an error 
occurs.</dd>
+</dl>
+</li>
+</ul>
+<a name="getStoreLocation--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getStoreLocation</h4>
+<pre>public&nbsp;<a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io">File</a>&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.555">getStoreLocation</a>()</pre>
+<div class="block">Returns the <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io"><code>File</code></a> object for the 
<code>FileItem</code>'s
+ data's temporary location on the disk. Note that for
+ <code>FileItem</code>s that have their data stored in memory,
+ this method will return <code>null</code>. When handling large
+ files, you can use <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true#renameTo-java.io.File-";
 title="class or interface in 
java.io"><code>File.renameTo(java.io.File)</code></a> to
+ move the file to new location without copying the data, if the
+ source and destination locations reside within the same logical
+ volume.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The data file, or <code>null</code> if the data is stored in
+         memory.</dd>
+</dl>
+</li>
+</ul>
+<a name="finalize--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>finalize</h4>
+<pre>protected&nbsp;void&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.568">finalize</a>()</pre>
+<div class="block">Removes the file contents from the temporary storage.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--";
 title="class or interface in java.lang">finalize</a></code>&nbsp;in 
class&nbsp;<code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getTempFile--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getTempFile</h4>
+<pre>protected&nbsp;<a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io">File</a>&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.584">getTempFile</a>()</pre>
+<div class="block">Creates and returns a <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io"><code>File</code></a> representing a 
uniquely
+ named temporary file in the configured repository path. The lifetime of
+ the file is tied to the lifetime of the <code>FileItem</code> instance;
+ the file will be deleted when the instance is garbage collected.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io"><code>File</code></a> to be used for 
temporary storage.</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public&nbsp;<a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.625">toString</a>()</pre>
+<div class="block">Returns a string representation of this object.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--";
 title="class or interface in java.lang">toString</a></code>&nbsp;in 
class&nbsp;<code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>a string representation of this object.</dd>
+</dl>
+</li>
+</ul>
+<a name="getHeaders--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getHeaders</h4>
+<pre>public&nbsp;<a 
href="../../../../../org/apache/commons/fileupload/FileItemHeaders.html" 
title="interface in org.apache.commons.fileupload">FileItemHeaders</a>&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.708">getHeaders</a>()</pre>
+<div class="block">Returns the file item headers.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItemHeadersSupport.html#getHeaders--">getHeaders</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItemHeadersSupport.html" 
title="interface in 
org.apache.commons.fileupload">FileItemHeadersSupport</a></code></dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The file items headers.</dd>
+</dl>
+</li>
+</ul>
+<a name="setHeaders-org.apache.commons.fileupload.FileItemHeaders-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>setHeaders</h4>
+<pre>public&nbsp;void&nbsp;<a 
href="../../../../../src-html/org/apache/commons/fileupload/disk/DiskFileItem.html#line.716">setHeaders</a>(<a
 href="../../../../../org/apache/commons/fileupload/FileItemHeaders.html" 
title="interface in 
org.apache.commons.fileupload">FileItemHeaders</a>&nbsp;pHeaders)</pre>
+<div class="block">Sets the file item headers.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../org/apache/commons/fileupload/FileItemHeadersSupport.html#setHeaders-org.apache.commons.fileupload.FileItemHeaders-">setHeaders</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../org/apache/commons/fileupload/FileItemHeadersSupport.html" 
title="interface in 
org.apache.commons.fileupload">FileItemHeadersSupport</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>pHeaders</code> - The file items headers.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/DiskFileItem.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">
+<li>Prev&nbsp;Class</li>
+<li><a 
href="../../../../../org/apache/commons/fileupload/disk/DiskFileItemFactory.html"
 title="class in org.apache.commons.fileupload.disk"><span 
class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../index.html?org/apache/commons/fileupload/disk/DiskFileItem.html"
 target="_top">Frames</a></li>
+<li><a href="DiskFileItem.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.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>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2002&#x2013;2017 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All rights 
reserved.</small></p>
+</body>
+</html>


Reply via email to