- Sort Score
- Num 10 results
- Language All
Results 661 - 670 of 1,881 for RESPONSE (0.04 seconds)
-
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt
val request = SimpleHttpRequests.get("https://google.com/robots.txt") val response = client.execute(request, LoggingCallback).get() println("Protocol ${response.version}") println("Response ${response.code}") println("${response.body.bodyText.substring(0, 20)}...") Assert.assertEquals(ProtocolVersion("HTTP", 2, 0), response.version) } } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 07 06:56:34 GMT 2026 - 2.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt
.put(path.asRequestBody(fileSystem, MEDIA_TYPE_JSON)) .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") fileSystem.sink(path).use { response.body.source().readAll(it) } println(fileSystem.source(path).buffer().readUtf8()) } } companion object {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java
import org.codelibs.fess.app.web.api.admin.FessApiAdminAction; import org.codelibs.fess.opensearch.config.exentity.BoostDocumentRule; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import jakarta.annotation.Resource; /** * API action for admin boost doc. * */ public class ApiAdminBoostdocAction extends FessApiAdminAction { /** * Default constructor.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java
import org.codelibs.fess.opensearch.user.exentity.Group; import org.codelibs.fess.opensearch.user.exentity.User; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import jakarta.annotation.Resource; /** * API action for admin group management. * Provides RESTful API endpoints for managing user group settings in the Fess search engine.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java
import jcifs.internal.util.SMBUtil; /** * SMB2 Echo response message. * * This response confirms that the server is still active * and the connection is working properly. * * @author mbechler */ public class Smb2EchoResponse extends ServerMessageBlock2Response { /** * Constructs an SMB2 echo response * @param config the client configuration */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java
import org.codelibs.fess.util.RenderDataUtil; import org.dbflute.optional.OptionalEntity; import org.dbflute.optional.OptionalThing; import org.lastaflute.web.Execute; import org.lastaflute.web.response.HtmlResponse; import org.lastaflute.web.response.render.RenderData; import org.lastaflute.web.ruts.process.ActionRuntime; import jakarta.annotation.Resource; /** * Admin action for Web Config management. * */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:54:13 GMT 2026 - 22.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSetInformationResponse.java
import jcifs.internal.smb1.ServerMessageBlock; /** * Response for SMB1 COM_SET_INFORMATION command. * * This response indicates the success or failure of setting file * attributes and last write time. * * @author mbechler */ public class SmbComSetInformationResponse extends ServerMessageBlock { /** * Constructs a set information response. * * @param config the configuration to use */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java
import jcifs.internal.util.SMBUtil; /** * SMB2 Flush response message. * * This response confirms that buffered data has been * successfully flushed to the storage device. * * @author mbechler */ public class Smb2FlushResponse extends ServerMessageBlock2Response { /** * Constructs an SMB2 flush response * @param config the client configuration */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
.url("https://api.imgur.com/3/image") .post(new ProgressRequestBody(requestBody, progressListener)) .build(); Response response = client.newCall(request).execute(); if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } public static void main(String... args) throws Exception { new UploadProgress().run(); }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 17:01:12 GMT 2025 - 4.2K bytes - Click Count (1) -
okhttp-logging-interceptor/api/logging-interceptor.api
public synthetic fun <init> (Lokhttp3/logging/HttpLoggingInterceptor$Logger;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public fun cacheConditionalHit (Lokhttp3/Call;Lokhttp3/Response;)V public fun cacheHit (Lokhttp3/Call;Lokhttp3/Response;)V public fun cacheMiss (Lokhttp3/Call;)V public fun callEnd (Lokhttp3/Call;)V public fun callFailed (Lokhttp3/Call;Ljava/io/IOException;)V public fun callStart (Lokhttp3/Call;)V
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 15:15:46 GMT 2025 - 4.6K bytes - Click Count (0)