| <!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>Via (Apache Juneau 8.2.0)</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="Via (Apache Juneau 8.2.0)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":9,"i1":9}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static 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/header/Vary.html" title="class in org.apache.juneau.http.header"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/juneau/http/header/Warning.html" title="class in org.apache.juneau.http.header"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/juneau/http/header/Via.html" target="_top">Frames</a></li> |
| <li><a href="Via.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><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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.header</div> |
| <h2 title="Class Via" class="title">Class Via</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/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><a href="../../../../../org/apache/juneau/http/BasicHeader.html" title="class in org.apache.juneau.http">org.apache.juneau.http.BasicHeader</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../org/apache/juneau/http/header/BasicCsvArrayHeader.html" title="class in org.apache.juneau.http.header">org.apache.juneau.http.header.BasicCsvArrayHeader</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.juneau.http.header.Via</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="https://hc.apache.org/httpcomponents-core-4.4.x/httpcore/apidocs/org/apache/http/Header.html?is-external=true" title="class or interface in org.apache.http">Header</a>, <a href="https://hc.apache.org/httpcomponents-core-4.4.x/httpcore/apidocs/org/apache/http/NameValuePair.html?is-external=true" title="class or interface in org.apache.http">NameValuePair</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre><a href="../../../../../org/apache/juneau/http/annotation/Header.html" title="annotation in org.apache.juneau.http.annotation">@Header</a>(<a href="../../../../../org/apache/juneau/http/annotation/Header.html#value--">value</a>="Via") |
| public class <a href="../../../../../src-html/org/apache/juneau/http/header/Via.html#line.122">Via</a> |
| extends <a href="../../../../../org/apache/juneau/http/header/BasicCsvArrayHeader.html" title="class in org.apache.juneau.http.header">BasicCsvArrayHeader</a></pre> |
| <div class="block">Represents a parsed <l>Via</l> HTTP response header. |
| |
| <p> |
| Informs the client of proxies through which the response was sent. |
| |
| <h5 class='figure'>Example</h5> |
| <p class='bcode w800'> |
| Via: 1.0 fred, 1.1 example.com (Apache/1.1) |
| </p> |
| |
| <p> |
| Informs the client of proxies through which the response was sent. |
| |
| <p> |
| <h5 class='figure'>Example</h5> |
| <p class='bcode w800'> |
| Via: 1.0 fred, 1.1 example.com (Apache/1.1) |
| </p> |
| |
| <p> |
| <h5 class='topic'>RFC2616 Specification</h5> |
| |
| The Via general-header field MUST be used by gateways and proxies to indicate the intermediate protocols and |
| recipients between the user agent and the server on requests, and between the origin server and the client on |
| responses. |
| It is analogous to the "Received" field of RFC 822 and is intended to be used for tracking message forwards, |
| avoiding request loops, and identifying the protocol capabilities of all senders along the request/response chain. |
| |
| <p class='bcode w800'> |
| Via = "Via" ":" 1#( received-protocol received-by [ comment ] ) |
| received-protocol = [ protocol-name "/" ] protocol-version |
| protocol-name = token |
| protocol-version = token |
| received-by = ( host [ ":" port ] ) | pseudonym |
| pseudonym = token |
| </p> |
| |
| <p> |
| The received-protocol indicates the protocol version of the message received by the server or client along each |
| segment of the request/response chain. |
| The received-protocol version is appended to the Via field value when the message is forwarded so that information |
| about the protocol capabilities of upstream applications remains visible to all recipients. |
| |
| <p> |
| The protocol-name is optional if and only if it would be "HTTP". |
| The received-by field is normally the host and optional port number of a recipient server or client that subsequently |
| forwarded the message. |
| However, if the real host is considered to be sensitive information, it MAY be replaced by a pseudonym. |
| If the port is not given, it MAY be assumed to be the default port of the received-protocol. |
| |
| <p> |
| Multiple Via field values represents each proxy or gateway that has forwarded the message. |
| Each recipient MUST append its information such that the end result is ordered according to the sequence of |
| forwarding applications. |
| |
| <p> |
| Comments MAY be used in the Via header field to identify the software of the recipient proxy or gateway, analogous |
| to the User-Agent and Server header fields. |
| However, all comments in the Via field are optional and MAY be removed by any recipient prior to forwarding the |
| message. |
| |
| <p> |
| For example, a request message could be sent from an HTTP/1.0 user agent to an internal proxy code-named "fred", |
| which uses HTTP/1.1 to forward the request to a public proxy at nowhere.com, which completes the request by |
| forwarding it to the origin server at www.ics.uci.edu. |
| The request received by www.ics.uci.edu would then have the following Via header field: |
| <p class='bcode w800'> |
| Via: 1.0 fred, 1.1 nowhere.com (Apache/1.1) |
| </p> |
| |
| <p> |
| Proxies and gateways used as a portal through a network firewall SHOULD NOT, by default, forward the names and ports |
| of hosts within the firewall region. |
| This information SHOULD only be propagated if explicitly enabled. |
| If not enabled, the received-by host of any host behind the firewall SHOULD be replaced by an appropriate pseudonym |
| for that host. |
| |
| <p> |
| For organizations that have strong privacy requirements for hiding internal structures, a proxy MAY combine an |
| ordered subsequence of Via header field entries with identical received-protocol values into a single such entry. |
| For example... |
| <p class='bcode w800'> |
| Via: 1.0 ricky, 1.1 ethel, 1.1 fred, 1.0 lucy |
| </p> |
| |
| <p> |
| ...could be collapsed to... |
| <p class='bcode w800'> |
| Via: 1.0 ricky, 1.1 mertz, 1.0 lucy |
| </p> |
| |
| <p> |
| Applications SHOULD NOT combine multiple entries unless they are all under the same organizational control and the |
| hosts have already been replaced by pseudonyms. |
| Applications MUST NOT combine entries which have different received-protocol values. |
| |
| <ul class='seealso'> |
| <li class='extlink'><a class='doclink' href='https://www.w3.org/Protocols/rfc2616/rfc2616.html'>Hypertext Transfer Protocol -- HTTP/1.1</a> |
| </ul></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../serialized-form.html#org.apache.juneau.http.header.Via">Serialized Form</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/http/header/Via.html#Via-java.lang.Object-">Via</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> |
| <div class="block">Constructor.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/http/header/Via.html#Via-java.lang.String-">Via</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</code> |
| <div class="block">Constructor</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static 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>static <a href="../../../../../org/apache/juneau/http/header/Via.html" title="class in org.apache.juneau.http.header">Via</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/http/header/Via.html#of-java.lang.Object-">of</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> |
| <div class="block">Convenience creator.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/apache/juneau/http/header/Via.html" title="class in org.apache.juneau.http.header">Via</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/http/header/Via.html#of-java.util.function.Supplier-">of</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Supplier.html?is-external=true" title="class or interface in java.util.function">Supplier</a><?> value)</code> |
| <div class="block">Convenience creator using supplier.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.header.BasicCsvArrayHeader"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.juneau.http.header.<a href="../../../../../org/apache/juneau/http/header/BasicCsvArrayHeader.html" title="class in org.apache.juneau.http.header">BasicCsvArrayHeader</a></h3> |
| <code><a href="../../../../../org/apache/juneau/http/header/BasicCsvArrayHeader.html#asList--">asList</a>, <a href="../../../../../org/apache/juneau/http/header/BasicCsvArrayHeader.html#assertList--">assertList</a>, <a href="../../../../../org/apache/juneau/http/header/BasicCsvArrayHeader.html#contains-java.lang.String-">contains</a>, <a href="../../../../../org/apache/juneau/http/header/BasicCsvArrayHeader.html#containsIc-java.lang.String-">containsIc</a>, <a href="../../../../../org/apache/juneau/http/header/BasicCsvArrayHeader.html#getValue--">getValue</a>, <a href="../../../../../org/apache/juneau/http/header/BasicCsvArrayHeader.html#of-java.lang.String-java.lang.Object-">of</a>, <a href="../../../../../org/apache/juneau/http/header/BasicCsvArrayHeader.html#of-java.lang.String-java.util.function.Supplier-">of</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.http.BasicHeader"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.juneau.http.<a href="../../../../../org/apache/juneau/http/BasicHeader.html" title="class in org.apache.juneau.http">BasicHeader</a></h3> |
| <code><a href="../../../../../org/apache/juneau/http/BasicHeader.html#assertName--">assertName</a>, <a href="../../../../../org/apache/juneau/http/BasicHeader.html#assertValue--">assertValue</a>, <a href="../../../../../org/apache/juneau/http/BasicHeader.html#canCast-java.lang.Object-">canCast</a>, <a href="../../../../../org/apache/juneau/http/BasicHeader.html#cast-java.lang.Object-">cast</a>, <a href="../../../../../org/apache/juneau/http/BasicHeader.html#eqIC-java.lang.String-">eqIC</a>, <a href="../../../../../org/apache/juneau/http/BasicHeader.html#equals-java.lang.Object-">equals</a>, <a href="../../../../../org/apache/juneau/http/BasicHeader.html#getElements--">getElements</a>, <a href="../../../../../org/apache/juneau/http/BasicHeader.html#getName--">getName</a>, <a href="../../../../../org/apache/juneau/http/BasicHeader.html#getRawValue--">getRawValue</a>, <a href="../../../../../org/apache/juneau/http/BasicHeader.html#hashCode--">hashCode</a>, <a href="../../../../../org/apache/juneau/http/BasicHeader.html#isSupplier-java.lang.Object-">isSupplier</a>, <a href="../../../../../org/apache/juneau/http/BasicHeader.html#of-org.apache.http.NameValuePair-">of</a>, <a href="../../../../../org/apache/juneau/http/BasicHeader.html#ofPair-java.lang.String-">ofPair</a>, <a href="../../../../../org/apache/juneau/http/BasicHeader.html#toString--">toString</a>, <a href="../../../../../org/apache/juneau/http/BasicHeader.html#unwrap-java.lang.Object-">unwrap</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 java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/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"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="Via-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Via</h4> |
| <pre>public <a href="../../../../../src-html/org/apache/juneau/http/header/Via.html#line.186">Via</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> |
| <div class="block">Constructor.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The header value. |
| <br>Can be any of the following: |
| <ul> |
| <li><c>String</c> - A comma-delimited string. |
| <li><c>String[]</c> - A pre-parsed value. |
| <li>Any other array type - Converted to <c>String[]</c>. |
| <li>Any <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> - Converted to <c>String[]</c>. |
| <li>Anything else - Converted to <c>String</c>. |
| <li>A <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Supplier.html?is-external=true" title="class or interface in java.util.function"><code>Supplier</code></a> of anything on this list. |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="Via-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>Via</h4> |
| <pre>public <a href="../../../../../src-html/org/apache/juneau/http/header/Via.html#line.196">Via</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</pre> |
| <div class="block">Constructor</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The header value.</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="of-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>of</h4> |
| <pre>public static <a href="../../../../../org/apache/juneau/http/header/Via.html" title="class in org.apache.juneau.http.header">Via</a> <a href="../../../../../src-html/org/apache/juneau/http/header/Via.html#line.141">of</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> |
| <div class="block">Convenience creator.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The header value supplier. |
| <br>Can be any of the following: |
| <ul> |
| <li><c>String</c> - A comma-delimited string. |
| <li><c>String[]</c> - A pre-parsed value. |
| <li>Any other array type - Converted to <c>String[]</c>. |
| <li>Any <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> - Converted to <c>String[]</c>. |
| <li>Anything else - Converted to <c>String</c>. |
| </ul></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The parsed <c>Via</c> header, or <jk>null</jk> if the value was null.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="of-java.util.function.Supplier-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>of</h4> |
| <pre>public static <a href="../../../../../org/apache/juneau/http/header/Via.html" title="class in org.apache.juneau.http.header">Via</a> <a href="../../../../../src-html/org/apache/juneau/http/header/Via.html#line.165">of</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Supplier.html?is-external=true" title="class or interface in java.util.function">Supplier</a><?> value)</pre> |
| <div class="block">Convenience creator using supplier. |
| |
| <p> |
| Header value is re-evaluated on each call to <a href="../../../../../org/apache/juneau/http/header/BasicCsvArrayHeader.html#getValue--"><code>BasicCsvArrayHeader.getValue()</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - The header value supplier. |
| <br>Can be any of the following: |
| <ul> |
| <li><c>String</c> - A comma-delimited string. |
| <li><c>String[]</c> - A pre-parsed value. |
| <li>Any other array type - Converted to <c>String[]</c>. |
| <li>Any <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> - Converted to <c>String[]</c>. |
| <li>Anything else - Converted to <c>String</c>. |
| </ul></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The parsed <c>Via</c> header, or <jk>null</jk> if the value was null.</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/header/Vary.html" title="class in org.apache.juneau.http.header"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/juneau/http/header/Warning.html" title="class in org.apache.juneau.http.header"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/juneau/http/header/Via.html" target="_top">Frames</a></li> |
| <li><a href="Via.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><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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 © 2016–2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |