juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject [48/51] [partial] juneau-website git commit: New Security-Best-Practices section in javadocs.
Date Sun, 26 Nov 2017 19:46:57 GMT
http://git-wip-us.apache.org/repos/asf/juneau-website/blob/81ca4d4d/content/site/apidocs/org/apache/juneau/BeanSession.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/BeanSession.html b/content/site/apidocs/org/apache/juneau/BeanSession.html
index 83ab547..49caae8 100644
--- a/content/site/apidocs/org/apache/juneau/BeanSession.html
+++ b/content/site/apidocs/org/apache/juneau/BeanSession.html
@@ -18,7 +18,7 @@
     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,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10};
+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,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -112,10 +112,6 @@ var activeTableTab = "activeTableTab";
 <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/Closeable.html?is-external=true"
title="class or interface in java.io">Closeable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true"
title="class or interface in java.lang">AutoCloseable</a></dd>
-</dl>
-<dl>
 <dt>Direct Known Subclasses:</dt>
 <dd><a href="../../../org/apache/juneau/parser/ParserSession.html" title="class
in org.apache.juneau.parser">ParserSession</a>, <a href="../../../org/apache/juneau/serializer/SerializerSession.html"
title="class in org.apache.juneau.serializer">SerializerSession</a></dd>
 </dl>
@@ -181,7 +177,9 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class
in org.ap
 </tr>
 <tr id="i2" class="altColor">
 <td class="colFirst"><code>void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#close--">close</a></span>()</code>&nbsp;</td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#checkForWarnings--">checkForWarnings</a></span>()</code>
+<div class="block">Throws a <a href="../../../org/apache/juneau/BeanRuntimeException.html"
title="class in org.apache.juneau"><code>BeanRuntimeException</code></a>
if any warnings occurred in this session.</div>
+</td>
 </tr>
 <tr id="i3" class="rowColor">
 <td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
@@ -351,37 +349,54 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class
in org.ap
 </td>
 </tr>
 <tr id="i28" class="altColor">
+<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#newInstance-java.lang.Class-java.lang.Object-java.lang.Object...-">newInstance</a></span>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class
or interface in java.lang">Class</a>&lt;T&gt;&nbsp;c,
+           <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>&nbsp;c2,
+           <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>...&nbsp;args)</code>
+<div class="block">Shortcut for calling <a href="../../../org/apache/juneau/BeanContext.html#newInstance-java.lang.Class-java.lang.Object-java.lang.Object...-"><code>BeanContext.newInstance(Class,
Object, Object...)</code></a>.</div>
+</td>
+</tr>
+<tr id="i29" class="rowColor">
+<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#newInstanceFromOuter-java.lang.Object-java.lang.Class-java.lang.Object-java.lang.Object...-">newInstanceFromOuter</a></span>(<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>&nbsp;outer,
+                    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true"
title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;c,
+                    <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>&nbsp;c2,
+                    <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>...&nbsp;args)</code>
+<div class="block">Shortcut for calling <a href="../../../org/apache/juneau/BeanContext.html#newInstanceFromOuter-java.lang.Object-java.lang.Class-java.lang.Object-java.lang.Object...-"><code>BeanContext.newInstanceFromOuter(Object,
Class, Object, Object...)</code></a>.</div>
+</td>
+</tr>
+<tr id="i30" class="altColor">
 <td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html"
title="class in org.apache.juneau">ClassMeta</a>&lt;<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>&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#object--">object</a></span>()</code>
 <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html"
title="class in org.apache.juneau"><code>ClassMeta</code></a> representation
for the class <code>Object</code>.</div>
 </td>
 </tr>
-<tr id="i29" class="rowColor">
+<tr id="i31" class="rowColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#returnStringBuilder-java.lang.StringBuilder-">returnStringBuilder</a></span>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true"
title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)</code>
 <div class="block">Returns a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true"
title="class or interface in java.lang"><code>StringBuilder</code></a>
object back into the internal reuse pool.</div>
 </td>
 </tr>
-<tr id="i30" class="altColor">
+<tr id="i32" class="altColor">
 <td class="colFirst"><code><a href="../../../org/apache/juneau/ClassMeta.html"
title="class in org.apache.juneau">ClassMeta</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>&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#string--">string</a></span>()</code>
 <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html"
title="class in org.apache.juneau"><code>ClassMeta</code></a> representation
for the class <code>String</code>.</div>
 </td>
 </tr>
-<tr id="i31" class="rowColor">
+<tr id="i33" class="rowColor">
 <td class="colFirst"><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></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#toArray-org.apache.juneau.ClassMeta-java.util.Collection-">toArray</a></span>(<a
href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a>&lt;?&gt;&nbsp;type,
        <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true"
title="class or interface in java.util">Collection</a>&lt;?&gt;&nbsp;list)</code>
 <div class="block">Converts the contents of the specified list into an array.</div>
 </td>
 </tr>
-<tr id="i32" class="altColor">
+<tr id="i34" class="altColor">
 <td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../org/apache/juneau/BeanMap.html"
title="class in org.apache.juneau">BeanMap</a>&lt;T&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#toBeanMap-T-">toBeanMap</a></span>(T&nbsp;o)</code>
 <div class="block">Wraps an object inside a <a href="../../../org/apache/juneau/BeanMap.html"
title="class in org.apache.juneau"><code>BeanMap</code></a> object (i.e.</div>
 </td>
 </tr>
-<tr id="i33" class="rowColor">
+<tr id="i35" class="rowColor">
 <td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../org/apache/juneau/BeanMap.html"
title="class in org.apache.juneau">BeanMap</a>&lt;T&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/BeanSession.html#toBeanMap-T-java.lang.Class-">toBeanMap</a></span>(T&nbsp;o,
          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true"
title="class or interface in java.lang">Class</a>&lt;? super T&gt;&nbsp;c)</code>
@@ -395,14 +410,14 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class
in org.ap
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;org.apache.juneau.<a href="../../../org/apache/juneau/Session.html"
title="class in org.apache.juneau">Session</a></h3>
-<code><a href="../../../org/apache/juneau/Session.html#addToCache-java.util.Map-">addToCache</a>,
<a href="../../../org/apache/juneau/Session.html#addToCache-java.lang.String-java.lang.Object-">addToCache</a>,
<a href="../../../org/apache/juneau/Session.html#addWarning-java.lang.String-java.lang.Object...-">addWarning</a>,
<a href="../../../org/apache/juneau/Session.html#finalize--">finalize</a>, <a
href="../../../org/apache/juneau/Session.html#getFromCache-java.lang.Class-java.lang.String-">getFromCache</a>,
<a href="../../../org/apache/juneau/Session.html#getLogger--">getLogger</a>, <a
href="../../../org/apache/juneau/Session.html#getProperties--">getProperties</a>,
<a href="../../../org/apache/juneau/Session.html#getProperty-java.lang.String-java.lang.Class-">getProperty</a>,
<a href="../../../org/apache/juneau/Session.html#getPropertyWithDefault-java.lang.String-T-java.lang.Class-">getPropertyWithDefault</a>,
<a href="../../../org/apache/juneau/Session.html#getStringProperty-jav
 a.lang.String-">getStringProperty</a>, <a href="../../../org/apache/juneau/Session.html#getStringProperty-java.lang.String-java.lang.String-">getStringProperty</a>,
<a href="../../../org/apache/juneau/Session.html#getWarnings--">getWarnings</a>,
<a href="../../../org/apache/juneau/Session.html#hasWarnings--">hasWarnings</a>,
<a href="../../../org/apache/juneau/Session.html#isClosed--">isClosed</a>, <a
href="../../../org/apache/juneau/Session.html#toString--">toString</a></code></li>
+<code><a href="../../../org/apache/juneau/Session.html#addToCache-java.util.Map-">addToCache</a>,
<a href="../../../org/apache/juneau/Session.html#addToCache-java.lang.String-java.lang.Object-">addToCache</a>,
<a href="../../../org/apache/juneau/Session.html#addWarning-java.lang.String-java.lang.Object...-">addWarning</a>,
<a href="../../../org/apache/juneau/Session.html#getFromCache-java.lang.Class-java.lang.String-">getFromCache</a>,
<a href="../../../org/apache/juneau/Session.html#getLogger--">getLogger</a>, <a
href="../../../org/apache/juneau/Session.html#getProperties--">getProperties</a>,
<a href="../../../org/apache/juneau/Session.html#getProperty-java.lang.String-java.lang.Class-">getProperty</a>,
<a href="../../../org/apache/juneau/Session.html#getPropertyWithDefault-java.lang.String-T-java.lang.Class-">getPropertyWithDefault</a>,
<a href="../../../org/apache/juneau/Session.html#getStringProperty-java.lang.String-">getStringProperty</a>,
<a href="../../../org/apache/juneau/
 Session.html#getStringProperty-java.lang.String-java.lang.String-">getStringProperty</a>,
<a href="../../../org/apache/juneau/Session.html#getWarnings--">getWarnings</a>,
<a href="../../../org/apache/juneau/Session.html#hasWarnings--">hasWarnings</a>,
<a href="../../../org/apache/juneau/Session.html#toString--">toString</a></code></li>
 </ul>
 <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>
+<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#finalize--"
title="class or interface in java.lang">finalize</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/lang/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>
@@ -1181,13 +1196,62 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class
in org.ap
 </dl>
 </li>
 </ul>
+<a name="newInstance-java.lang.Class-java.lang.Object-java.lang.Object...-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>newInstance</h4>
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1009">newInstance</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class
or interface in java.lang">Class</a>&lt;T&gt;&nbsp;c,
+                         <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>&nbsp;c2,
+                         <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>...&nbsp;args)</pre>
+<div class="block">Shortcut for calling <a href="../../../org/apache/juneau/BeanContext.html#newInstance-java.lang.Class-java.lang.Object-java.lang.Object...-"><code>BeanContext.newInstance(Class,
Object, Object...)</code></a>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>c</code> - The class to cast to.</dd>
+<dd><code>c2</code> - The class to instantiate.
+   Can also be an instance of the class.</dd>
+<dd><code>args</code> - The arguments to pass to the constructor.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The new class instance, or <jk>null</jk> if the class was <jk>null</jk>
or is abstract or an interface.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html?is-external=true"
title="class or interface in java.lang">RuntimeException</a></code> - if constructor
could not be found or called.</dd>
+</dl>
+</li>
+</ul>
+<a name="newInstanceFromOuter-java.lang.Object-java.lang.Class-java.lang.Object-java.lang.Object...-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>newInstanceFromOuter</h4>
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1027">newInstanceFromOuter</a>(<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>&nbsp;outer,
+                                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true"
title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;c,
+                                  <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>&nbsp;c2,
+                                  <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>...&nbsp;args)</pre>
+<div class="block">Shortcut for calling <a href="../../../org/apache/juneau/BeanContext.html#newInstanceFromOuter-java.lang.Object-java.lang.Class-java.lang.Object-java.lang.Object...-"><code>BeanContext.newInstanceFromOuter(Object,
Class, Object, Object...)</code></a>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>outer</code> - The outer object.
+   Can be <jk>null</jk>.</dd>
+<dd><code>c</code> - The class to cast to.</dd>
+<dd><code>c2</code> - The class to instantiate.
+   Can also be an instance of the class.</dd>
+<dd><code>args</code> - The arguments to pass to the constructor.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The new class instance, or <jk>null</jk> if the class was <jk>null</jk>
or is abstract or an interface.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html?is-external=true"
title="class or interface in java.lang">RuntimeException</a></code> - if constructor
could not be found or called.</dd>
+</dl>
+</li>
+</ul>
 <a name="getStringBuilder--">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>getStringBuilder</h4>
-<pre>public final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true"
title="class or interface in java.lang">StringBuilder</a>&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1006">getStringBuilder</a>()</pre>
+<pre>public final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true"
title="class or interface in java.lang">StringBuilder</a>&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1039">getStringBuilder</a>()</pre>
 <div class="block">Creates a reusable <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true"
title="class or interface in java.lang"><code>StringBuilder</code></a>
object from an internal pool.
 
  <p>
@@ -1204,7 +1268,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class
in org.ap
 <ul class="blockList">
 <li class="blockList">
 <h4>returnStringBuilder</h4>
-<pre>public final&nbsp;void&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1017">returnStringBuilder</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true"
title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)</pre>
+<pre>public final&nbsp;void&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1050">returnStringBuilder</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true"
title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)</pre>
 <div class="block">Returns a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true"
title="class or interface in java.lang"><code>StringBuilder</code></a>
object back into the internal reuse pool.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -1218,7 +1282,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class
in org.ap
 <ul class="blockList">
 <li class="blockList">
 <h4>object</h4>
-<pre>public final&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class
in org.apache.juneau">ClassMeta</a>&lt;<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>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1036">object</a>()</pre>
+<pre>public final&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class
in org.apache.juneau">ClassMeta</a>&lt;<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>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1069">object</a>()</pre>
 <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html"
title="class in org.apache.juneau"><code>ClassMeta</code></a> representation
for the class <code>Object</code>.
 
  <p>
@@ -1239,7 +1303,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class
in org.ap
 <ul class="blockList">
 <li class="blockList">
 <h4>string</h4>
-<pre>public final&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class
in org.apache.juneau">ClassMeta</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>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1052">string</a>()</pre>
+<pre>public final&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class
in org.apache.juneau">ClassMeta</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>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1085">string</a>()</pre>
 <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html"
title="class in org.apache.juneau"><code>ClassMeta</code></a> representation
for the class <code>String</code>.
 
  <p>
@@ -1260,7 +1324,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class
in org.ap
 <ul class="blockList">
 <li class="blockList">
 <h4>_class</h4>
-<pre>public final&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class
in org.apache.juneau">ClassMeta</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true"
title="class or interface in java.lang">Class</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1068">_class</a>()</pre>
+<pre>public final&nbsp;<a href="../../../org/apache/juneau/ClassMeta.html" title="class
in org.apache.juneau">ClassMeta</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true"
title="class or interface in java.lang">Class</a>&gt;&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1101">_class</a>()</pre>
 <div class="block">Returns a reusable <a href="../../../org/apache/juneau/ClassMeta.html"
title="class in org.apache.juneau"><code>ClassMeta</code></a> representation
for the class <code>Class</code>.
 
  <p>
@@ -1281,7 +1345,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class
in org.ap
 <ul class="blockList">
 <li class="blockList">
 <h4>getClassLoader</h4>
-<pre>public final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true"
title="class or interface in java.lang">ClassLoader</a>&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1077">getClassLoader</a>()</pre>
+<pre>public final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true"
title="class or interface in java.lang">ClassLoader</a>&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1110">getClassLoader</a>()</pre>
 <div class="block">Returns the classloader associated with this bean context.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
@@ -1295,7 +1359,7 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class
in org.ap
 <ul class="blockList">
 <li class="blockList">
 <h4>getMediaType</h4>
-<pre>public final&nbsp;<a href="../../../org/apache/juneau/http/MediaType.html"
title="class in org.apache.juneau.http">MediaType</a>&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1089">getMediaType</a>()</pre>
+<pre>public final&nbsp;<a href="../../../org/apache/juneau/http/MediaType.html"
title="class in org.apache.juneau.http">MediaType</a>&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1122">getMediaType</a>()</pre>
 <div class="block">Returns the media type specified for this session.
 
  <p>
@@ -1306,20 +1370,18 @@ extends <a href="../../../org/apache/juneau/Session.html" title="class
in org.ap
 </dl>
 </li>
 </ul>
-<a name="close--">
+<a name="checkForWarnings--">
 <!--   -->
 </a>
 <ul class="blockListLast">
 <li class="blockList">
-<h4>close</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1094">close</a>()</pre>
+<h4>checkForWarnings</h4>
+<pre>public&nbsp;void&nbsp;<a href="../../../src-html/org/apache/juneau/BeanSession.html#line.1127">checkForWarnings</a>()</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a
href="../../../org/apache/juneau/Session.html#checkForWarnings--">Session</a></code></span></div>
+<div class="block">Throws a <a href="../../../org/apache/juneau/BeanRuntimeException.html"
title="class in org.apache.juneau"><code>BeanRuntimeException</code></a>
if any warnings occurred in this session.</div>
 <dl>
-<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true#close--"
title="class or interface in java.io">close</a></code>&nbsp;in interface&nbsp;<code><a
href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class
or interface in java.io">Closeable</a></code></dd>
-<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
-<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true#close--"
title="class or interface in java.lang">close</a></code>&nbsp;in interface&nbsp;<code><a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true"
title="class or interface in java.lang">AutoCloseable</a></code></dd>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
-<dd><code><a href="../../../org/apache/juneau/Session.html#close--">close</a></code>&nbsp;in
class&nbsp;<code><a href="../../../org/apache/juneau/Session.html" title="class
in org.apache.juneau">Session</a></code></dd>
+<dd><code><a href="../../../org/apache/juneau/Session.html#checkForWarnings--">checkForWarnings</a></code>&nbsp;in
class&nbsp;<code><a href="../../../org/apache/juneau/Session.html" title="class
in org.apache.juneau">Session</a></code></dd>
 </dl>
 </li>
 </ul>


Mime
View raw message