Home
last modified time | relevance | path

Searched refs:getEntity (Results 1 – 25 of 53) sorted by relevance

123

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DDefaultRequestDirectorTest.java70 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a happy response body")… in shouldGetHttpResponseFromExecute()
84 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a happy response body")… in shouldPreferPendingResponses()
96 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a cheery response body"… in shouldReturnRequestsByRule()
118 …assertThat(Strings.fromStream(getResponse.getEntity().getContent()), equalTo("a cheery response bo… in shouldReturnRequestsByRule_AnyMethod()
123 …assertThat(Strings.fromStream(postResponse.getEntity().getContent()), equalTo("a cheery response b… in shouldReturnRequestsByRule_AnyMethod()
134 InputStream getResponseStream = getResponse.getEntity().getContent(); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
139 InputStream postResponseStream = postResponse.getEntity().getContent(); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
158 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a cheery response body"… in shouldReturnRequestsByRule_WithTextResponse()
171 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a gloomy response body"… in clearHttpResponseRules_shouldRemoveAllRules()
184 assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("later")); in clearPendingHttpResponses()
[all …]
DAndroidHttpClientTest.java40 assertThat(Strings.fromStream(resp.getEntity().getContent()), equalTo("foo")); in testExecute()
/external/apache-http/src/org/apache/http/impl/client/
DEntityEnclosingRequestWrapper.java62 this.entity = request.getEntity(); in EntityEnclosingRequestWrapper()
65 public HttpEntity getEntity() { in getEntity() method in EntityEnclosingRequestWrapper
DBasicResponseHandler.java75 HttpEntity entity = response.getEntity(); in handleResponse()
DDefaultRequestDirector.java482 HttpEntity entity = response.getEntity(); in execute()
508 if ((response == null) || (response.getEntity() == null) || in execute()
509 !response.getEntity().isStreaming()) { in execute()
516 HttpEntity entity = response.getEntity(); in execute()
772 HttpEntity entity = response.getEntity(); in createTunnelToTarget()
794 HttpEntity entity = response.getEntity(); in createTunnelToTarget()
/external/libxml2/
DSAX.c54 hdlr->getEntity = xmlSAX2GetEntity; in initxmlDefaultSAXHandler()
102 hdlr->getEntity = xmlSAX2GetEntity; in inithtmlDefaultSAXHandler()
149 hdlr->getEntity = xmlSAX2GetEntity; in initdocbDefaultSAXHandler()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DParamsParser.java25 } else if (request instanceof HttpPost && ((HttpPost) request).getEntity() != null) { in parseParams()
27 … params = parseParamsFromQuery(EntityUtils.toString(((HttpPost) request).getEntity())); in parseParams()
/external/apache-http/src/org/apache/http/
DHttpEntityEnclosingRequest.java61 HttpEntity getEntity(); in getEntity() method
DHttpResponse.java130 HttpEntity getEntity(); in getEntity() method
/external/apache-http/src/org/apache/http/impl/
DAbstractHttpServerConnection.java179 if (response.getEntity() == null) { in sendResponseEntity()
185 response.getEntity()); in sendResponseEntity()
DAbstractHttpClientConnection.java159 if (request.getEntity() == null) { in sendRequestEntity()
165 request.getEntity()); in sendRequestEntity()
DDefaultConnectionReuseStrategy.java98 HttpEntity entity = response.getEntity(); in keepAlive()
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/
DHttpMethodResponse.java76 return httpResponse.getEntity().getContent(); in openBody()
109 long contentLength = r.getEntity().getContentLength(); in dump()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/
DDefaultRequestDirector.java530 HttpEntity entity = response.getEntity(); in execute()
559 if ((response == null) || (response.getEntity() == null) || in execute()
560 !response.getEntity().isStreaming()) { in execute()
567 HttpEntity entity = response.getEntity(); in execute()
800 HttpEntity entity = response.getEntity(); in createTunnelToTarget()
822 HttpEntity entity = response.getEntity(); in createTunnelToTarget()
/external/apache-http/src/org/apache/http/client/methods/
DHttpEntityEnclosingRequestBase.java58 public HttpEntity getEntity() { in getEntity() method in HttpEntityEnclosingRequestBase
/external/apache-http/src/org/apache/http/message/
DBasicHttpEntityEnclosingRequest.java68 public HttpEntity getEntity() { in getEntity() method in BasicHttpEntityEnclosingRequest
DBasicHttpResponse.java124 public HttpEntity getEntity() { in getEntity() method in BasicHttpResponse
/external/apache-http/src/org/apache/http/protocol/
DRequestExpectContinue.java66 HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity(); in process()
DRequestContent.java73 HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity(); in process()
DResponseContent.java73 HttpEntity entity = response.getEntity(); in process()
DResponseConnControl.java84 HttpEntity entity = response.getEntity(); in process()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/
DParamsParserTest.java22 post.setEntity(response.getEntity()); in parseParams_shouldParsePostEntitiesIntoParams()
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DScanHandler.java118 public int getEntity(); in getEntity() method
DSchema.java131 public int getEntity(String name) { in getEntity() method in Schema
/external/clang/lib/Sema/
DIdentifierResolver.cpp116 while (S->getEntity() && in isDeclInScope()
117 ((DeclContext *)S->getEntity())->isTransparentContext()) in isDeclInScope()

123