Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for io (0.15 sec)

  1. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

    package okhttp3.sample;
    
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.InputStream;
    import java.security.GeneralSecurityException;
    import java.security.KeyStore;
    import java.security.SecureRandom;
    import javax.net.ssl.KeyManagerFactory;
    import javax.net.ssl.SSLContext;
    import javax.net.ssl.TrustManagerFactory;
    import okhttp3.mockwebserver.Dispatcher;
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Jan 02 02:50:44 GMT 2019
    - 4.7K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PostFile.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.recipes;
    
    import java.io.File;
    import java.io.IOException;
    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public final class PostFile {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat May 25 18:02:55 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  3. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.unixdomainsockets;
    
    import java.io.File;
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.InetSocketAddress;
    import java.net.Socket;
    import javax.net.SocketFactory;
    import jnr.unixsocket.UnixSocketChannel;
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 03 21:33:52 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

    import okhttp3.OkHttpClient;
    import okhttp3.Protocol;
    import okhttp3.Request;
    import okhttp3.Response;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    import java.io.IOException;
    import java.security.cert.Certificate;
    import java.security.cert.X509Certificate;
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    
    /**
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jul 26 06:37:08 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.recipes;
    
    import java.io.IOException;
    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    import okio.BufferedSink;
    
    public final class PostStreaming {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  6. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

     * limitations under the License.
     */
    package okhttp3.slack;
    
    import com.squareup.moshi.FromJson;
    import com.squareup.moshi.JsonAdapter;
    import com.squareup.moshi.Moshi;
    import com.squareup.moshi.ToJson;
    import java.io.IOException;
    import okhttp3.Call;
    import okhttp3.HttpUrl;
    import okhttp3.WebSocket;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.WebSocketListener;
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Viewed (1)
  7. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

    import androidx.test.ext.junit.runners.AndroidJUnit4;
    import java.io.IOException;
    import okhttp3.OkHttpClient;
    import okhttp3.Protocol;
    import okhttp3.Request;
    import static org.junit.Assert.assertEquals;
    
    import okhttp3.Response;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    /**
     * OkHttp.
     *
     * https://square.github.io/okhttp/
     */
    @RunWith(AndroidJUnit4.class)
    public class OkHttpClientTest {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Nov 14 17:38:22 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  8. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.slack;
    
    import java.io.Closeable;
    import java.io.IOException;
    import okhttp3.WebSocket;
    import okhttp3.Response;
    import okhttp3.WebSocketListener;
    
    /** A realtime messaging session. */
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Nov 19 20:16:58 GMT 2016
    - 2.4K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.recipes;
    
    import java.io.File;
    import java.io.IOException;
    import okhttp3.Cache;
    import okhttp3.Interceptor;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class RewriteResponseCacheControl {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.6K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/guide/GetExample.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.guide;
    
    import java.io.IOException;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public class GetExample {
      final OkHttpClient client = new OkHttpClient();
    
      String run(String url) throws IOException {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 1.3K bytes
    - Viewed (0)
Back to top