http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/e12f8e7d/content/site/apidocs/org/apache/juneau/html/HtmlSerializerContext.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/html/HtmlSerializerContext.html b/content/site/apidocs/org/apache/juneau/html/HtmlSerializerContext.html index 242f4a5..7e808e3 100644 --- a/content/site/apidocs/org/apache/juneau/html/HtmlSerializerContext.html +++ b/content/site/apidocs/org/apache/juneau/html/HtmlSerializerContext.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>HtmlSerializerContext (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title> +<title>HtmlSerializerContext (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="HtmlSerializerContext (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)"; + parent.document.title="HtmlSerializerContext (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)"; } } catch(err) { @@ -299,7 +299,7 @@ extends <a href="../../../../org/apache/juneau/xml/XmlSerializerContext.html" ti <!-- --> </a> <h3>Methods inherited from class org.apache.juneau.<a href="../../../../org/apache/juneau/BeanContext.html" title="class in org.apache.juneau">BeanContext</a></h3> -<code><a href="../../../../org/apache/juneau/BeanContext.html#Z:Z_class--">_class</a>, <a href="../../../../org/apache/juneau/BeanContext.html#createSession--">createSession</a>, <a href="../../../../org/apache/juneau/BeanContext.html#createSession-org.apache.juneau.ObjectMap-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">createSession</a>, <a href="../../../../org/apache/juneau/BeanContext.html#dumpCacheStats--">dumpCacheStats</a>, <a href="../../../../org/apache/juneau/BeanContext.html#equals-java.lang.Object-">equals</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getBeanMeta-java.lang.Class-">getBeanMeta</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getBeanRegistry--">getBeanRegistry</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getBeanTypePropertyName--">getBeanTypePropertyName</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getClassMeta-java.lang.Class-">getClassMeta</a>, <a href="../../../../org/apache /juneau/BeanContext.html#getClassMeta-java.lang.reflect.Type-java.lang.reflect.Type...-">getClassMeta</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getClassMetaForObject-T-">getClassMetaForObject</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getImplClassConstructor-java.lang.Class-org.apache.juneau.Visibility-">getImplClassConstructor</a>, <a href="../../../../org/apache/juneau/BeanContext.html#hashCode--">hashCode</a>, <a href="../../../../org/apache/juneau/BeanContext.html#hasSameCache-org.apache.juneau.BeanContext-">hasSameCache</a>, <a href="../../../../org/apache/juneau/BeanContext.html#isNotABean-java.lang.Class-">isNotABean</a>, <a href="../../../../org/apache/juneau/BeanContext.html#object--">object</a>, <a href="../../../../org/apache/juneau/BeanContext.html#resolveClassMeta-org.apache.juneau.annotation.BeanProperty-java.lang.reflect.Type-java.util.Map-">resolveClassMeta</a>, <a href="../../../../org/apache/juneau/BeanContext.html#string--">str ing</a></code></li> +<code><a href="../../../../org/apache/juneau/BeanContext.html#Z:Z_class--">_class</a>, <a href="../../../../org/apache/juneau/BeanContext.html#createSession--">createSession</a>, <a href="../../../../org/apache/juneau/BeanContext.html#createSession-org.apache.juneau.ObjectMap-java.util.Locale-java.util.TimeZone-org.apache.juneau.http.MediaType-">createSession</a>, <a href="../../../../org/apache/juneau/BeanContext.html#dumpCacheStats--">dumpCacheStats</a>, <a href="../../../../org/apache/juneau/BeanContext.html#equals-java.lang.Object-">equals</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getBeanMeta-java.lang.Class-">getBeanMeta</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getBeanRegistry--">getBeanRegistry</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getBeanTypePropertyName--">getBeanTypePropertyName</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getClassMeta-java.lang.Class-">getClassMeta</a>, <a href="../../../../org/a pache/juneau/BeanContext.html#getClassMeta-java.lang.reflect.Type-java.lang.reflect.Type...-">getClassMeta</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getClassMetaForObject-T-">getClassMetaForObject</a>, <a href="../../../../org/apache/juneau/BeanContext.html#getImplClassConstructor-java.lang.Class-org.apache.juneau.Visibility-">getImplClassConstructor</a>, <a href="../../../../org/apache/juneau/BeanContext.html#hashCode--">hashCode</a>, <a href="../../../../org/apache/juneau/BeanContext.html#hasSameCache-org.apache.juneau.BeanContext-">hasSameCache</a>, <a href="../../../../org/apache/juneau/BeanContext.html#isNotABean-java.lang.Class-">isNotABean</a>, <a href="../../../../org/apache/juneau/BeanContext.html#object--">object</a>, <a href="../../../../org/apache/juneau/BeanContext.html#resolveClassMeta-org.apache.juneau.annotation.BeanProperty-java.lang.reflect.Type-java.util.Map-">resolveClassMeta</a>, <a href="../../../../org/apache/juneau/BeanContext.html#string-- ">string</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.Context">
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/e12f8e7d/content/site/apidocs/org/apache/juneau/html/HtmlSerializerSession.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/html/HtmlSerializerSession.html b/content/site/apidocs/org/apache/juneau/html/HtmlSerializerSession.html index 74a3fdd..cb0a62a 100644 --- a/content/site/apidocs/org/apache/juneau/html/HtmlSerializerSession.html +++ b/content/site/apidocs/org/apache/juneau/html/HtmlSerializerSession.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>HtmlSerializerSession (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title> +<title>HtmlSerializerSession (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="HtmlSerializerSession (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)"; + parent.document.title="HtmlSerializerSession (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)"; } } catch(err) { @@ -132,7 +132,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public class <a href="../../../../src-html/org/apache/juneau/html/HtmlSerializerSession.html#line.32">HtmlSerializerSession</a> +<pre>public class <a href="../../../../src-html/org/apache/juneau/html/HtmlSerializerSession.html#line.33">HtmlSerializerSession</a> extends <a href="../../../../org/apache/juneau/xml/XmlSerializerSession.html" title="class in org.apache.juneau.xml">XmlSerializerSession</a></pre> <div class="block">Session object that lives for the duration of a single use of <a href="../../../../org/apache/juneau/html/HtmlSerializer.html" title="class in org.apache.juneau.html"><code>HtmlSerializer</code></a>. <p> @@ -172,13 +172,13 @@ extends <a href="../../../../org/apache/juneau/xml/XmlSerializerSession.html" ti </tr> <tr class="altColor"> <td class="colFirst"><code>protected </code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/html/HtmlSerializerSession.html#HtmlSerializerSession-org.apache.juneau.html.HtmlSerializerContext-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">HtmlSerializerSession</a></span>(<a href="../../../../org/apache/juneau/html/HtmlSerializerContext.html" title="class in org.apache.juneau.html">HtmlSerializerContext</a> ctx, +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/html/HtmlSerializerSession.html#HtmlSerializerSession-org.apache.juneau.html.HtmlSerializerContext-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.http.MediaType-">HtmlSerializerSession</a></span>(<a href="../../../../org/apache/juneau/html/HtmlSerializerContext.html" title="class in org.apache.juneau.html">HtmlSerializerContext</a> ctx, <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> op, <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> output, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> javaMethod, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> locale, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> timeZone, - <a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a> mediaType)</code> + <a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a> mediaType)</code> <div class="block">Create a new session using properties specified in the context.</div> </td> </tr> @@ -286,19 +286,19 @@ extends <a href="../../../../org/apache/juneau/xml/XmlSerializerSession.html" ti <!-- --> </a> <h3>Constructor Detail</h3> -<a name="HtmlSerializerSession-org.apache.juneau.html.HtmlSerializerContext-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-"> +<a name="HtmlSerializerSession-org.apache.juneau.html.HtmlSerializerContext-org.apache.juneau.ObjectMap-java.lang.Object-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.http.MediaType-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>HtmlSerializerSession</h4> -<pre>protected <a href="../../../../src-html/org/apache/juneau/html/HtmlSerializerSession.html#line.65">HtmlSerializerSession</a>(<a href="../../../../org/apache/juneau/html/HtmlSerializerContext.html" title="class in org.apache.juneau.html">HtmlSerializerContext</a> ctx, +<pre>protected <a href="../../../../src-html/org/apache/juneau/html/HtmlSerializerSession.html#line.66">HtmlSerializerSession</a>(<a href="../../../../org/apache/juneau/html/HtmlSerializerContext.html" title="class in org.apache.juneau.html">HtmlSerializerContext</a> ctx, <a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> op, <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> output, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> javaMethod, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> locale, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> timeZone, - <a href="../../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a> mediaType)</pre> + <a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a> mediaType)</pre> <div class="block">Create a new session using properties specified in the context.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -330,7 +330,7 @@ extends <a href="../../../../org/apache/juneau/xml/XmlSerializerSession.html" ti <ul class="blockList"> <li class="blockList"> <h4>getWriter</h4> -<pre>public <a href="../../../../org/apache/juneau/html/HtmlWriter.html" title="class in org.apache.juneau.html">HtmlWriter</a> <a href="../../../../src-html/org/apache/juneau/html/HtmlSerializerSession.html#line.89">getWriter</a>() +<pre>public <a href="../../../../org/apache/juneau/html/HtmlWriter.html" title="class in org.apache.juneau.html">HtmlWriter</a> <a href="../../../../src-html/org/apache/juneau/html/HtmlSerializerSession.html#line.90">getWriter</a>() 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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/serializer/SerializerSession.html#getWriter--">SerializerSession</a></code></span></div> <div class="block">Wraps the specified output object inside a writer. @@ -358,7 +358,7 @@ extends <a href="../../../../org/apache/juneau/xml/XmlSerializerSession.html" ti <ul class="blockList"> <li class="blockList"> <h4>isUri</h4> -<pre>public boolean <a href="../../../../src-html/org/apache/juneau/html/HtmlSerializerSession.html#line.104">isUri</a>(<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> cm, +<pre>public boolean <a href="../../../../src-html/org/apache/juneau/html/HtmlSerializerSession.html#line.105">isUri</a>(<a href="../../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><?> cm, <a href="../../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> pMeta, <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> o)</pre> <div class="block">Returns <jk>true</jk> if the specified object is a URL.</div> @@ -378,7 +378,7 @@ extends <a href="../../../../org/apache/juneau/xml/XmlSerializerSession.html" ti <ul class="blockList"> <li class="blockList"> <h4>getAnchorText</h4> -<pre>public <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/juneau/html/HtmlSerializerSession.html#line.121">getAnchorText</a>(<a href="../../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> pMeta, +<pre>public <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/juneau/html/HtmlSerializerSession.html#line.122">getAnchorText</a>(<a href="../../../../org/apache/juneau/BeanPropertyMeta.html" title="class in org.apache.juneau">BeanPropertyMeta</a> pMeta, <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> o)</pre> <div class="block">Returns the anchor text to use for the specified URL object.</div> <dl> @@ -396,7 +396,7 @@ extends <a href="../../../../org/apache/juneau/xml/XmlSerializerSession.html" ti <ul class="blockList"> <li class="blockList"> <h4>isAddKeyValueTableHeaders</h4> -<pre>public final boolean <a href="../../../../src-html/org/apache/juneau/html/HtmlSerializerSession.html#line.171">isAddKeyValueTableHeaders</a>()</pre> +<pre>public final boolean <a href="../../../../src-html/org/apache/juneau/html/HtmlSerializerSession.html#line.172">isAddKeyValueTableHeaders</a>()</pre> <div class="block">Returns the <a href="../../../../org/apache/juneau/html/HtmlSerializerContext.html#HTML_addKeyValueTableHeaders"><code>HtmlSerializerContext.HTML_addKeyValueTableHeaders</code></a> setting value for this session.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -410,7 +410,7 @@ extends <a href="../../../../org/apache/juneau/xml/XmlSerializerSession.html" ti <ul class="blockList"> <li class="blockList"> <h4>isAddBeanTypeProperties</h4> -<pre>public final boolean <a href="../../../../src-html/org/apache/juneau/html/HtmlSerializerSession.html#line.181">isAddBeanTypeProperties</a>()</pre> +<pre>public final boolean <a href="../../../../src-html/org/apache/juneau/html/HtmlSerializerSession.html#line.182">isAddBeanTypeProperties</a>()</pre> <div class="block">Returns the <a href="../../../../org/apache/juneau/html/HtmlSerializerContext.html#HTML_addBeanTypeProperties"><code>HtmlSerializerContext.HTML_addBeanTypeProperties</code></a> setting value for this session.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> @@ -426,7 +426,7 @@ extends <a href="../../../../org/apache/juneau/xml/XmlSerializerSession.html" ti <ul class="blockListLast"> <li class="blockList"> <h4>isHtmlMode</h4> -<pre>public boolean <a href="../../../../src-html/org/apache/juneau/html/HtmlSerializerSession.html#line.186">isHtmlMode</a>()</pre> +<pre>public boolean <a href="../../../../src-html/org/apache/juneau/html/HtmlSerializerSession.html#line.187">isHtmlMode</a>()</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../org/apache/juneau/xml/XmlSerializerSession.html#isHtmlMode--">XmlSerializerSession</a></code></span></div> <div class="block">Returns <jk>true</jk> if we're serializing HTML. <p> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/e12f8e7d/content/site/apidocs/org/apache/juneau/html/HtmlStrippedDocSerializer.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/html/HtmlStrippedDocSerializer.html b/content/site/apidocs/org/apache/juneau/html/HtmlStrippedDocSerializer.html index 5a88e2e..522cab6 100644 --- a/content/site/apidocs/org/apache/juneau/html/HtmlStrippedDocSerializer.html +++ b/content/site/apidocs/org/apache/juneau/html/HtmlStrippedDocSerializer.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>HtmlStrippedDocSerializer (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title> +<title>HtmlStrippedDocSerializer (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="HtmlStrippedDocSerializer (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)"; + parent.document.title="HtmlStrippedDocSerializer (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)"; } } catch(err) { @@ -254,7 +254,7 @@ extends <a href="../../../../org/apache/juneau/html/HtmlSerializer.html" title=" <!-- --> </a> <h3>Methods inherited from class org.apache.juneau.html.<a href="../../../../org/apache/juneau/html/HtmlSerializer.html" title="class in org.apache.juneau.html">HtmlSerializer</a></h3> -<code><a href="../../../../org/apache/juneau/html/HtmlSerializer.html#builder--">builder</a>, <a href="../../../../org/apache/juneau/html/HtmlSerializer.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-">createSession</a>, <a href="../../../../org/apache/juneau/html/HtmlSerializer.html#getSchemaSerializer--">getSchemaSerializer</a>, <a href="../../../../org/apache/juneau/html/HtmlSerializer.html#serializeAnything-org.apache.juneau.html.HtmlSerializerSession-org.apache.juneau.html.HtmlWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-int-org.apache.juneau.BeanPropertyMeta-boolean-">serializeAnything</a></code></li> +<code><a href="../../../../org/apache/juneau/html/HtmlSerializer.html#builder--">builder</a>, <a href="../../../../org/apache/juneau/html/HtmlSerializer.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.http.MediaType-">createSession</a>, <a href="../../../../org/apache/juneau/html/HtmlSerializer.html#getSchemaSerializer--">getSchemaSerializer</a>, <a href="../../../../org/apache/juneau/html/HtmlSerializer.html#serializeAnything-org.apache.juneau.html.HtmlSerializerSession-org.apache.juneau.html.HtmlWriter-java.lang.Object-org.apache.juneau.ClassMeta-java.lang.String-int-org.apache.juneau.BeanPropertyMeta-boolean-">serializeAnything</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.xml.XmlSerializer"> @@ -344,7 +344,7 @@ extends <a href="../../../../org/apache/juneau/html/HtmlSerializer.html" title=" <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="../../../../org/apache/juneau/html/HtmlSerializer.html#doSerialize-org.apache.juneau.serializer.SerializerSession-java.lang.Object-">doSerialize</a></code> in class <code><a href="../../../../org/apache/juneau/html/HtmlSerializer.html" title="class in org.apache.juneau.html">HtmlSerializer</a></code></dd> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>session</code> - The serializer session object return by <a href="../../../../org/apache/juneau/serializer/Serializer.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.MediaType-"><code>Serializer.createSession(Object, ObjectMap, Method, Locale, TimeZone, MediaType)</code></a>.<br> +<dd><code>session</code> - The serializer session object return by <a href="../../../../org/apache/juneau/serializer/Serializer.html#createSession-java.lang.Object-org.apache.juneau.ObjectMap-java.lang.reflect.Method-java.util.Locale-java.util.TimeZone-org.apache.juneau.http.MediaType-"><code>Serializer.createSession(Object, ObjectMap, Method, Locale, TimeZone, MediaType)</code></a>.<br> If <jk>null</jk>, session is created using <a href="../../../../org/apache/juneau/serializer/Serializer.html#createSession-java.lang.Object-"><code>Serializer.createSession(Object)</code></a>.</dd> <dd><code>o</code> - The object to serialize.</dd> <dt><span class="throwsLabel">Throws:</span></dt> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/e12f8e7d/content/site/apidocs/org/apache/juneau/html/HtmlWriter.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/html/HtmlWriter.html b/content/site/apidocs/org/apache/juneau/html/HtmlWriter.html index 698e21e..0663351 100644 --- a/content/site/apidocs/org/apache/juneau/html/HtmlWriter.html +++ b/content/site/apidocs/org/apache/juneau/html/HtmlWriter.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>HtmlWriter (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title> +<title>HtmlWriter (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="HtmlWriter (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)"; + parent.document.title="HtmlWriter (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)"; } } catch(err) { http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/e12f8e7d/content/site/apidocs/org/apache/juneau/html/SimpleHtmlWriter.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/html/SimpleHtmlWriter.html b/content/site/apidocs/org/apache/juneau/html/SimpleHtmlWriter.html index 275774c..b698e80 100644 --- a/content/site/apidocs/org/apache/juneau/html/SimpleHtmlWriter.html +++ b/content/site/apidocs/org/apache/juneau/html/SimpleHtmlWriter.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>SimpleHtmlWriter (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title> +<title>SimpleHtmlWriter (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="SimpleHtmlWriter (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)"; + parent.document.title="SimpleHtmlWriter (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)"; } } catch(err) { http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/e12f8e7d/content/site/apidocs/org/apache/juneau/html/annotation/Html.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/html/annotation/Html.html b/content/site/apidocs/org/apache/juneau/html/annotation/Html.html index 9a91a89..032b441 100644 --- a/content/site/apidocs/org/apache/juneau/html/annotation/Html.html +++ b/content/site/apidocs/org/apache/juneau/html/annotation/Html.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Html (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title> +<title>Html (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Html (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)"; + parent.document.title="Html (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)"; } } catch(err) { http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/e12f8e7d/content/site/apidocs/org/apache/juneau/html/annotation/package-frame.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/html/annotation/package-frame.html b/content/site/apidocs/org/apache/juneau/html/annotation/package-frame.html index f3e378e..de8c3b2 100644 --- a/content/site/apidocs/org/apache/juneau/html/annotation/package-frame.html +++ b/content/site/apidocs/org/apache/juneau/html/annotation/package-frame.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>org.apache.juneau.html.annotation (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title> +<title>org.apache.juneau.html.annotation (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/e12f8e7d/content/site/apidocs/org/apache/juneau/html/annotation/package-summary.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/html/annotation/package-summary.html b/content/site/apidocs/org/apache/juneau/html/annotation/package-summary.html index 5b76124..a65c7ef 100644 --- a/content/site/apidocs/org/apache/juneau/html/annotation/package-summary.html +++ b/content/site/apidocs/org/apache/juneau/html/annotation/package-summary.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>org.apache.juneau.html.annotation (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title> +<title>org.apache.juneau.html.annotation (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="org.apache.juneau.html.annotation (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)"; + parent.document.title="org.apache.juneau.html.annotation (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)"; } } catch(err) { @@ -43,7 +43,7 @@ <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/juneau/html/package-summary.html">Prev Package</a></li> -<li><a href="../../../../../org/apache/juneau/ini/package-summary.html">Next Package</a></li> +<li><a href="../../../../../org/apache/juneau/http/package-summary.html">Next Package</a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/juneau/html/annotation/package-summary.html" target="_top">Frames</a></li> @@ -123,7 +123,7 @@ <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/juneau/html/package-summary.html">Prev Package</a></li> -<li><a href="../../../../../org/apache/juneau/ini/package-summary.html">Next Package</a></li> +<li><a href="../../../../../org/apache/juneau/http/package-summary.html">Next Package</a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/juneau/html/annotation/package-summary.html" target="_top">Frames</a></li> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/e12f8e7d/content/site/apidocs/org/apache/juneau/html/annotation/package-tree.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/html/annotation/package-tree.html b/content/site/apidocs/org/apache/juneau/html/annotation/package-tree.html index 1d81e15..f09cea0 100644 --- a/content/site/apidocs/org/apache/juneau/html/annotation/package-tree.html +++ b/content/site/apidocs/org/apache/juneau/html/annotation/package-tree.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>org.apache.juneau.html.annotation Class Hierarchy (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title> +<title>org.apache.juneau.html.annotation Class Hierarchy (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="org.apache.juneau.html.annotation Class Hierarchy (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)"; + parent.document.title="org.apache.juneau.html.annotation Class Hierarchy (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)"; } } catch(err) { @@ -43,7 +43,7 @@ <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/juneau/html/package-tree.html">Prev</a></li> -<li><a href="../../../../../org/apache/juneau/ini/package-tree.html">Next</a></li> +<li><a href="../../../../../org/apache/juneau/http/package-tree.html">Next</a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/juneau/html/annotation/package-tree.html" target="_top">Frames</a></li> @@ -102,7 +102,7 @@ <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/juneau/html/package-tree.html">Prev</a></li> -<li><a href="../../../../../org/apache/juneau/ini/package-tree.html">Next</a></li> +<li><a href="../../../../../org/apache/juneau/http/package-tree.html">Next</a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/juneau/html/annotation/package-tree.html" target="_top">Frames</a></li> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/e12f8e7d/content/site/apidocs/org/apache/juneau/html/package-frame.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/html/package-frame.html b/content/site/apidocs/org/apache/juneau/html/package-frame.html index 20d8154..f5c5c52 100644 --- a/content/site/apidocs/org/apache/juneau/html/package-frame.html +++ b/content/site/apidocs/org/apache/juneau/html/package-frame.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>org.apache.juneau.html (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title> +<title>org.apache.juneau.html (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/e12f8e7d/content/site/apidocs/org/apache/juneau/html/package-summary.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/html/package-summary.html b/content/site/apidocs/org/apache/juneau/html/package-summary.html index 53ca5a2..c3231b1 100644 --- a/content/site/apidocs/org/apache/juneau/html/package-summary.html +++ b/content/site/apidocs/org/apache/juneau/html/package-summary.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>org.apache.juneau.html (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title> +<title>org.apache.juneau.html (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="org.apache.juneau.html (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)"; + parent.document.title="org.apache.juneau.html (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)"; } } catch(err) { http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/e12f8e7d/content/site/apidocs/org/apache/juneau/html/package-tree.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/html/package-tree.html b/content/site/apidocs/org/apache/juneau/html/package-tree.html index 27f9c2f..b5baf26 100644 --- a/content/site/apidocs/org/apache/juneau/html/package-tree.html +++ b/content/site/apidocs/org/apache/juneau/html/package-tree.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>org.apache.juneau.html Class Hierarchy (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)</title> +<title>org.apache.juneau.html Class Hierarchy (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="org.apache.juneau.html Class Hierarchy (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT)"; + parent.document.title="org.apache.juneau.html Class Hierarchy (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)"; } } catch(err) { http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/e12f8e7d/content/site/apidocs/org/apache/juneau/http/Accept.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/http/Accept.html b/content/site/apidocs/org/apache/juneau/http/Accept.html new file mode 100644 index 0000000..6f3faa2 --- /dev/null +++ b/content/site/apidocs/org/apache/juneau/http/Accept.html @@ -0,0 +1,444 @@ +<!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=UTF-8"> +<title>Accept (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title> +<link rel="stylesheet" type="text/css" href="../../../../javadoc.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="Accept (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":10}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static 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="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 Class</li> +<li><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/juneau/http/Accept.html" target="_top">Frames</a></li> +<li><a href="Accept.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All 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: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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.juneau.http</div> +<h2 title="Class Accept" class="title">Class Accept</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.juneau.http.Accept</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.123">Accept</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></pre> +<div class="block">Represents a parsed <code>Accept:</code> HTTP header. + <p> + The formal RFC2616 header field definition is as follows: + <p class='bcode'> + 14.1 Accept + + The Accept request-header field can be used to specify certain media + types which are acceptable for the response. Accept headers can be + used to indicate that the request is specifically limited to a small + set of desired types, as in the case of a request for an in-line + image. + + Accept = "Accept" ": + #( media-range [ accept-params ] ) + + media-range = ( "* /*" + | ( type "/" "*" ) + | ( type "/" subtype ) + ) *( ";" parameter ) + accept-params = ";" "q" "=" qvalue *( accept-extension ) + accept-extension = ";" token [ "=" ( token | quoted-string ) ] + + The asterisk "*" character is used to group media types into ranges, + with "* /*" indicating all media types and "type/*" indicating all + subtypes of that type. The media-range MAY include media type + parameters that are applicable to that range. + + Each media-range MAY be followed by one or more accept-params, + beginning with the "q" parameter for indicating a relative quality + factor. The first "q" parameter (if any) separates the media-range + parameter(s) from the accept-params. Quality factors allow the user + or user agent to indicate the relative degree of preference for that + media-range, using the qvalue scale from 0 to 1 (section 3.9). The + default value is q=1. + + Note: Use of the "q" parameter name to separate media type + parameters from Accept extension parameters is due to historical + practice. Although this prevents any media type parameter named + "q" from being used with a media range, such an event is believed + to be unlikely given the lack of any "q" parameters in the IANA + media type registry and the rare usage of any media type + parameters in Accept. Future media types are discouraged from + registering any parameter named "q". + + The example + + Accept: audio/*; q=0.2, audio/basic + + SHOULD be interpreted as "I prefer audio/basic, but send me any audio + type if it is the best available after an 80% mark-down in quality." + + If no Accept header field is present, then it is assumed that the + client accepts all media types. If an Accept header field is present, + and if the server cannot send a response which is acceptable + according to the combined Accept field value, then the server SHOULD + send a 406 (not acceptable) response. + + A more elaborate example is + + Accept: text/plain; q=0.5, text/html, + text/x-dvi; q=0.8, text/x-c + + Verbally, this would be interpreted as "text/html and text/x-c are + the preferred media types, but if they do not exist, then send the + text/x-dvi entity, and if that does not exist, send the text/plain + entity." + + Media ranges can be overridden by more specific media ranges or + specific media types. If more than one media range applies to a given + type, the most specific reference has precedence. For example, + + Accept: text/ *, text/html, text/html;level=1, * /* + + have the following precedence: + + 1) text/html;level=1 + 2) text/html + 3) text/* + 4) * /* + + The media type quality factor associated with a given type is + determined by finding the media range with the highest precedence + which matches that type. For example, + + Accept: text/*;q=0.3, text/html;q=0.7, text/html;level=1, + text/html;level=2;q=0.4, * /*;q=0.5 + + would cause the following values to be associated: + + text/html;level=1 = 1 + text/html = 0.7 + text/plain = 0.3 + image/jpeg = 0.5 + text/html;level=2 = 0.4 + text/html;level=3 = 0.7 + + Note: A user agent might be provided with a default set of quality + values for certain media ranges. However, unless the user agent is + a closed system which cannot interact with other rendering agents, + this default set ought to be configurable by the user. + </p></div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Accept.html#findMatch-org.apache.juneau.http.MediaType:A-">findMatch</a></span>(<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>[] mediaTypes)</code> +<div class="block">Given a list of media types, returns the best match for this <code>Accept</code> header.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http">Accept</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Accept.html#forString-java.lang.String-">forString</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> s)</code> +<div class="block">Returns a parsed <code>Accept</code> header.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<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><<a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http">MediaTypeRange</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Accept.html#getMediaRanges--">getMediaRanges</a></span>()</code> +<div class="block">Returns the list of the media ranges that make up this header.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/Accept.html#hasSubtypePart-java.lang.String-">hasSubtypePart</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> part)</code> +<div class="block">Convenience method for searching through all of the subtypes of all the media ranges in this header + for the presence of a subtype fragment.</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/juneau/http/Accept.html#toString--">toString</a></span>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class 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#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> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="forString-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>forString</h4> +<pre>public static <a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http">Accept</a> <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.137">forString</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> s)</pre> +<div class="block">Returns a parsed <code>Accept</code> header.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>s</code> - The <code>Accept</code> header string.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The parsed <code>Accept</code> header.</dd> +</dl> +</li> +</ul> +<a name="getMediaRanges--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMediaRanges</h4> +<pre>public <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><<a href="../../../../org/apache/juneau/http/MediaTypeRange.html" title="class in org.apache.juneau.http">MediaTypeRange</a>> <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.162">getMediaRanges</a>()</pre> +<div class="block">Returns the list of the media ranges that make up this header. + <p> + The media ranges in the list are sorted by their q-value in descending order.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>An unmodifiable list of media ranges.</dd> +</dl> +</li> +</ul> +<a name="findMatch-org.apache.juneau.http.MediaType:A-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findMatch</h4> +<pre>public int <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.183">findMatch</a>(<a href="../../../../org/apache/juneau/http/MediaType.html" title="class in org.apache.juneau.http">MediaType</a>[] mediaTypes)</pre> +<div class="block">Given a list of media types, returns the best match for this <code>Accept</code> header. + <p> + Note that fuzzy matching is allowed on the media types where the <code>Accept</code> header may + contain additional subtype parts. + <br>For example, given identical q-values and an <code>Accept</code> value of <js>"text/json+activity"</js>, + the media type <js>"text/json"</js> will match if <js>"text/json+activity"</js> or <js>"text/activity+json"</js> + isn't found. + <br>The purpose for this is to allow serializers to match when artifacts such as <code>id</code> properties are present + in the header. + <p> + See <a class='doclink' href='https://www.w3.org/TR/activitypub/#retrieving-objects'>ActivityPub / Retrieving Objects</a> + <p></div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>mediaTypes</code> - The media types to match against.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The index into the array of the best match, or <code>-1</code> if no suitable matches could be found.</dd> +</dl> +</li> +</ul> +<a name="hasSubtypePart-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hasSubtypePart</h4> +<pre>public boolean <a href="../../../../src-html/org/apache/juneau/http/Accept.html#line.218">hasSubtypePart</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> part)</pre> +<div class="block">Convenience method for searching through all of the subtypes of all the media ranges in this header + for the presence of a subtype fragment. + <p> + For example, given the header <js>"text/json+activity"</js>, calling <code>hasSubtypePart(<js>"activity"</js>)</code> returns <jk>true</jk>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>part</code> - The media type subtype fragment.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd><jk>true</jk> if subtype fragement exists.</dd> +</dl> +</li> +</ul> +<a name="toString--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toString</h4> +<pre>public <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/juneau/http/Accept.html#line.228">toString</a>()</pre> +<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> in class <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> +</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="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 Class</li> +<li><a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/juneau/http/Accept.html" target="_top">Frames</a></li> +<li><a href="Accept.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All 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: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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 © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/e12f8e7d/content/site/apidocs/org/apache/juneau/http/AcceptEncoding.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/http/AcceptEncoding.html b/content/site/apidocs/org/apache/juneau/http/AcceptEncoding.html new file mode 100644 index 0000000..0d6ce07 --- /dev/null +++ b/content/site/apidocs/org/apache/juneau/http/AcceptEncoding.html @@ -0,0 +1,366 @@ +<!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=UTF-8"> +<title>AcceptEncoding (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)</title> +<link rel="stylesheet" type="text/css" href="../../../../javadoc.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="AcceptEncoding (Apache Juneau (incubating) 6.2.1-incubating-SNAPSHOT)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":9,"i2":10,"i3":10}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static 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="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><a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/juneau/http/AcceptEncoding.html" target="_top">Frames</a></li> +<li><a href="AcceptEncoding.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All 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: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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.juneau.http</div> +<h2 title="Class AcceptEncoding" class="title">Class AcceptEncoding</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.juneau.http.AcceptEncoding</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public final class <a href="../../../../src-html/org/apache/juneau/http/AcceptEncoding.html#line.81">AcceptEncoding</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></pre> +<div class="block">Represents a parsed <code>Accept-Encoding:</code> HTTP header. + <p> + The formal RFC2616 header field definition is as follows: + <p class='bcode'> + The Accept-Encoding request-header field is similar to Accept, but restricts + the content-codings (section 3.5) that are acceptable in the response. + + Accept-Encoding = "Accept-Encoding" ":" + 1#( codings [ ";" "q" "=" qvalue ] ) + codings = ( content-coding | "*" ) + + Examples of its use are: + + Accept-Encoding: compress, gzip + Accept-Encoding: + Accept-Encoding: * + Accept-Encoding: compress;q=0.5, gzip;q=1.0 + Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0 + + A server tests whether a content-coding is acceptable, according to an + Accept-Encoding field, using these rules: + + 1. If the content-coding is one of the content-codings listed in + the Accept-Encoding field, then it is acceptable, unless it is + accompanied by a qvalue of 0. (As defined in section 3.9, a + qvalue of 0 means "not acceptable.") + 2. The special "*" symbol in an Accept-Encoding field matches any + available content-coding not explicitly listed in the header + field. + 3. If multiple content-codings are acceptable, then the acceptable + content-coding with the highest non-zero qvalue is preferred. + 4. The "identity" content-coding is always acceptable, unless + specifically refused because the Accept-Encoding field includes + "identity;q=0", or because the field includes "*;q=0" and does + not explicitly include the "identity" content-coding. If the + Accept-Encoding field-value is empty, then only the "identity" + encoding is acceptable. + + If an Accept-Encoding field is present in a request, and if the server cannot + send a response which is acceptable according to the Accept-Encoding header, + then the server SHOULD send an error response with the 406 (Not Acceptable) status code. + + If no Accept-Encoding field is present in a request, the server MAY assume + that the client will accept any content coding. In this case, if "identity" + is one of the available content-codings, then the server SHOULD use the "identity" + content-coding, unless it has additional information that a different content-coding + is meaningful to the client. + + Note: If the request does not include an Accept-Encoding field, + and if the "identity" content-coding is unavailable, then + content-codings commonly understood by HTTP/1.0 clients (i.e., + "gzip" and "compress") are preferred; some older clients + improperly display messages sent with other content-codings. The + server might also make this decision based on information about + the particular user-agent or client. + Note: Most HTTP/1.0 applications do not recognize or obey qvalues + associated with content-codings. This means that qvalues will not + work and are not permitted with x-gzip or x-compress. + </p></div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== 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"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/AcceptEncoding.html#findMatch-java.lang.String:A-">findMatch</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>[] contentCodings)</code> +<div class="block">Given a list of content codings, returns the best match for this <code>Accept-Encoding</code> header.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http">AcceptEncoding</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/AcceptEncoding.html#forString-java.lang.String-">forString</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> s)</code> +<div class="block">Returns a parsed <code>Accept-Encoding</code> header.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<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><<a href="../../../../org/apache/juneau/http/TypeRange.html" title="class in org.apache.juneau.http">TypeRange</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/http/AcceptEncoding.html#getTypeRanges--">getTypeRanges</a></span>()</code> +<div class="block">Returns the list of the types ranges that make up this header.</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/juneau/http/AcceptEncoding.html#toString--">toString</a></span>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class 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#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> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="forString-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>forString</h4> +<pre>public static <a href="../../../../org/apache/juneau/http/AcceptEncoding.html" title="class in org.apache.juneau.http">AcceptEncoding</a> <a href="../../../../src-html/org/apache/juneau/http/AcceptEncoding.html#line.95">forString</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> s)</pre> +<div class="block">Returns a parsed <code>Accept-Encoding</code> header.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>s</code> - The <code>Accept-Encoding</code> header string.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The parsed <code>Accept-Encoding</code> header.</dd> +</dl> +</li> +</ul> +<a name="getTypeRanges--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTypeRanges</h4> +<pre>public <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><<a href="../../../../org/apache/juneau/http/TypeRange.html" title="class in org.apache.juneau.http">TypeRange</a>> <a href="../../../../src-html/org/apache/juneau/http/AcceptEncoding.html#line.120">getTypeRanges</a>()</pre> +<div class="block">Returns the list of the types ranges that make up this header. + <p> + The types ranges in the list are sorted by their q-value in descending order.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>An unmodifiable list of type ranges.</dd> +</dl> +</li> +</ul> +<a name="findMatch-java.lang.String:A-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findMatch</h4> +<pre>public int <a href="../../../../src-html/org/apache/juneau/http/AcceptEncoding.html#line.131">findMatch</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>[] contentCodings)</pre> +<div class="block">Given a list of content codings, returns the best match for this <code>Accept-Encoding</code> header. + <p></div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>contentCodings</code> - The codings to match against.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The index into the array of the best match, or <code>-1</code> if no suitable matches could be found.</dd> +</dl> +</li> +</ul> +<a name="toString--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toString</h4> +<pre>public <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/juneau/http/AcceptEncoding.html#line.144">toString</a>()</pre> +<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> in class <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> +</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="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><a href="../../../../org/apache/juneau/http/Accept.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../org/apache/juneau/http/ContentType.html" title="class in org.apache.juneau.http"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/juneau/http/AcceptEncoding.html" target="_top">Frames</a></li> +<li><a href="AcceptEncoding.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All 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: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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 © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> +</body> +</html>
