blob: 290797cc02a24ba0d191cf7c189fabb4c74743c6 [file] [log] [blame]
<!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 (1.8.0_92) on Mon Aug 13 15:36:33 CEST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ODataResponse (Olingo-OData 4.5.0 API)</title>
<meta name="date" content="2018-08-13">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ODataResponse (Olingo-OData 4.5.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ODataResponse.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataReferenceAddingResponse.html" title="interface in org.apache.olingo.client.api.communication.response"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataRetrieveResponse.html" title="interface in org.apache.olingo.client.api.communication.response"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/olingo/client/api/communication/response/ODataResponse.html" target="_top">Frames</a></li>
<li><a href="ODataResponse.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.olingo.client.api.communication.response</div>
<h2 title="Interface ODataResponse" class="title">Interface ODataResponse</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><a href="../../../../../../../org/apache/olingo/client/api/communication/response/AsyncResponse.html" title="interface in org.apache.olingo.client.api.communication.response">AsyncResponse</a>, <a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataBatchResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataBatchResponse</a>, <a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataDeleteResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataDeleteResponse</a>, <a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataEntityCreateResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataEntityCreateResponse</a>&lt;E&gt;, <a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataEntityUpdateResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataEntityUpdateResponse</a>&lt;E&gt;, <a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataInvokeResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataInvokeResponse</a>&lt;T&gt;, <a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataMediaEntityCreateResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataMediaEntityCreateResponse</a>&lt;E&gt;, <a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataMediaEntityUpdateResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataMediaEntityUpdateResponse</a>&lt;E&gt;, <a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataPropertyUpdateResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataPropertyUpdateResponse</a>, <a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataRawResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataRawResponse</a>, <a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataReferenceAddingResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataReferenceAddingResponse</a>, <a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataRetrieveResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataRetrieveResponse</a>&lt;T&gt;, <a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataStreamUpdateResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataStreamUpdateResponse</a>, <a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataValueUpdateResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataValueUpdateResponse</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">ODataResponse</span></pre>
<div class="block">Abstract representation of an OData response.</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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataResponse.html#close--">close</a></span>()</code>
<div class="block">Close the underlying message entity input stream (if available and open) as well as releases any other resources
associated with the response.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/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/olingo/client/api/communication/response/ODataResponse.html#getContentType--">getContentType</a></span>()</code>
<div class="block">Gets the content type.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/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/olingo/client/api/communication/response/ODataResponse.html#getETag--">getETag</a></span>()</code>
<div class="block">Gets 'ETag' header value.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataResponse.html#getHeader-java.lang.String-">getHeader</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Gets header value of the given header.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataResponse.html#getHeaderNames--">getHeaderNames</a></span>()</code>
<div class="block">Gets header names.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataResponse.html#getRawResponse--">getRawResponse</a></span>()</code>
<div class="block">Gets response body as InputStream.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataResponse.html#getStatusCode--">getStatusCode</a></span>()</code>
<div class="block">Gets status code.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/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/olingo/client/api/communication/response/ODataResponse.html#getStatusMessage--">getStatusMessage</a></span>()</code>
<div class="block">Gets status message.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataResponse</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataResponse.html#initFromBatch-java.util.Map.Entry-java.util.Map-org.apache.olingo.client.api.communication.request.batch.ODataBatchLineIterator-java.lang.String-">initFromBatch</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;responseLine,
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&nbsp;headers,
<a href="../../../../../../../org/apache/olingo/client/api/communication/request/batch/ODataBatchLineIterator.html" title="interface in org.apache.olingo.client.api.communication.request.batch">ODataBatchLineIterator</a>&nbsp;batchLineIterator,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;boundary)</code>
<div class="block">Initializes response from batch response item.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataResponse</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataResponse.html#initFromEnclosedPart-java.io.InputStream-">initFromEnclosedPart</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;part)</code>
<div class="block">Initializes response from an enclosed HTTP response.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataResponse</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataResponse.html#initFromHttpResponse-org.apache.http.HttpResponse-">initFromHttpResponse</a></span>(org.apache.http.HttpResponse&nbsp;res)</code>
<div class="block">Initializes OData response from HTTP response.</div>
</td>
</tr>
</table>
</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="getHeaderNames--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeaderNames</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getHeaderNames()</pre>
<div class="block">Gets header names.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>response header names.</dd>
</dl>
</li>
</ul>
<a name="getHeader-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeader</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getHeader(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Gets header value of the given header.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - header to be retrieved.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>response header value.</dd>
</dl>
</li>
</ul>
<a name="getETag--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getETag</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getETag()</pre>
<div class="block">Gets 'ETag' header value.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>ETag header value, if provided</dd>
</dl>
</li>
</ul>
<a name="getContentType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContentType</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getContentType()</pre>
<div class="block">Gets the content type.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>content type</dd>
</dl>
</li>
</ul>
<a name="getStatusCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStatusCode</h4>
<pre>int&nbsp;getStatusCode()</pre>
<div class="block">Gets status code.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>status code.</dd>
</dl>
</li>
</ul>
<a name="getStatusMessage--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStatusMessage</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getStatusMessage()</pre>
<div class="block">Gets status message.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>status message.</dd>
</dl>
</li>
</ul>
<a name="getRawResponse--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRawResponse</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;getRawResponse()</pre>
<div class="block">Gets response body as InputStream.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>response body input stream.</dd>
</dl>
</li>
</ul>
<a name="initFromHttpResponse-org.apache.http.HttpResponse-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initFromHttpResponse</h4>
<pre><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataResponse</a>&nbsp;initFromHttpResponse(org.apache.http.HttpResponse&nbsp;res)</pre>
<div class="block">Initializes OData response from HTTP response.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>res</code> - HTTP response.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>OData response;</dd>
</dl>
</li>
</ul>
<a name="initFromBatch-java.util.Map.Entry-java.util.Map-org.apache.olingo.client.api.communication.request.batch.ODataBatchLineIterator-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initFromBatch</h4>
<pre><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataResponse</a>&nbsp;initFromBatch(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;responseLine,
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&nbsp;headers,
<a href="../../../../../../../org/apache/olingo/client/api/communication/request/batch/ODataBatchLineIterator.html" title="interface in org.apache.olingo.client.api.communication.request.batch">ODataBatchLineIterator</a>&nbsp;batchLineIterator,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;boundary)</pre>
<div class="block">Initializes response from batch response item.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>responseLine</code> - response line.</dd>
<dd><code>headers</code> - response headers.</dd>
<dd><code>batchLineIterator</code> - batch line iterator.</dd>
<dd><code>boundary</code> - batch boundary.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>OData response.</dd>
</dl>
</li>
</ul>
<a name="initFromEnclosedPart-java.io.InputStream-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initFromEnclosedPart</h4>
<pre><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataResponse.html" title="interface in org.apache.olingo.client.api.communication.response">ODataResponse</a>&nbsp;initFromEnclosedPart(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;part)</pre>
<div class="block">Initializes response from an enclosed HTTP response.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>part</code> - enclosed HTTP response.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>OData response.</dd>
</dl>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>close</h4>
<pre>void&nbsp;close()</pre>
<div class="block">Close the underlying message entity input stream (if available and open) as well as releases any other resources
associated with the response.
<p>
This operation is idempotent, i.e. it can be invoked multiple times with the same effect which also means that
calling the close() method on an already closed message instance is legal and has no further effect.
<p>
The close() method should be invoked on all instances that contain an un-consumed entity input stream to ensure the
resources associated with the instance are properly cleaned-up and prevent potential memory leaks. This is typical
for client-side scenarios where application layer code processes only the response headers and ignores the response
entity.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ODataResponse.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataReferenceAddingResponse.html" title="interface in org.apache.olingo.client.api.communication.response"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../org/apache/olingo/client/api/communication/response/ODataRetrieveResponse.html" title="interface in org.apache.olingo.client.api.communication.response"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/olingo/client/api/communication/response/ODataResponse.html" target="_top">Frames</a></li>
<li><a href="ODataResponse.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2013&#x2013;2018 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>