- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for HttpEntity (0.19 sec)
-
platforms/documentation/docs/src/snippets/java-library/quickstart/groovy/src/main/java/org/gradle/HttpClientWrapper.java
} finally { request.releaseConnection(); } return null; } // HttpGet and HttpEntity are used in a private method, so they don't belong to the API private HttpEntity doGet(HttpGet get) throws Exception { HttpResponse response = client.execute(get); if (response.getStatusLine().getStatusCode() != HttpStatus.SC_OK) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java-library/quickstart/kotlin/src/main/java/org/gradle/HttpClientWrapper.java
} finally { request.releaseConnection(); } return null; } // HttpGet and HttpEntity are used in a private method, so they don't belong to the API private HttpEntity doGet(HttpGet get) throws Exception { HttpResponse response = client.execute(get); if (response.getStatusLine().getStatusCode() != HttpStatus.SC_OK) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/AbstractHttpClientTest.groovy
} MockedHttpResponse mockedHttpResponse(CloseableHttpResponse response) { HttpEntity entity = Mock() InputStream content = Mock() new MockedHttpResponse(entity: entity, content: content, response: response) } static class MockedHttpResponse { HttpEntity entity InputStream content CloseableHttpResponse response }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java
final HttpPost httpPost = new HttpPost(tokenUrl); if (StringUtil.isNotBlank(tokenReqParams)) { final HttpEntity httpEntity = parseRequestParameters(tokenReqParams, null, encoding); httpPost.setEntity(httpEntity); } httpRequest = httpPost; } else { final StringBuilder buf = new StringBuilder(100);
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 11.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
} HttpEntity httpEntity = null; try { final HttpResponse response = closeableHttpClient.execute(request, new BasicHttpContext(httpClientContext)); httpEntity = response.getEntity(); consumer.accept(response, httpEntity); } catch (final Exception e) {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu May 09 09:28:25 UTC 2024 - 41K bytes - Viewed (0) -
platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientResponse.java
* limitations under the License. */ package org.gradle.internal.resource.transport.http; import org.apache.http.Header; import org.apache.http.HttpEntity; import org.apache.http.StatusLine; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.utils.HttpClientUtils; import java.io.Closeable; import java.io.IOException;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpResponseResourceTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.resource.transport.http import org.apache.http.Header import org.apache.http.HttpEntity import org.apache.http.HttpHeaders import org.apache.http.StatusLine import org.apache.http.client.methods.CloseableHttpResponse import org.apache.http.message.BasicHeader
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import org.apache.http.Header; import org.apache.http.HttpEntity; import org.apache.http.HttpHost; import org.apache.http.auth.AuthScheme; import org.apache.http.auth.AuthSchemeProvider; import org.apache.http.auth.AuthScope; import org.apache.http.client.AuthCache;
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 10K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/jvm/java_library_plugin.adoc
---- The _public_ constructor of `HttpClientWrapper` uses `HttpClient` as a parameter, so it is exposed to consumers and therefore belongs to the API. Note that `HttpGet` and `HttpEntity` are used in the signature of a _private_ method, and so they don't count towards making HttpClient an API dependency.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 23.3K bytes - Viewed (0)