Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 530 for IOException (0.06 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.lang.reflect.Method;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.List;
    
    import org.apache.maven.api.model.Model;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.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.MultipartBody;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public final class PostMultipart {
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jun 24 12:59:42 GMT 2019
    - 2.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultTransformerManager.java

     * under the License.
     */
    package org.apache.maven.internal.transformation.impl;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.IOException;
    import java.util.Map;
    
    import org.apache.maven.internal.transformation.PomArtifactTransformer;
    import org.apache.maven.internal.transformation.TransformerManager;
    import org.apache.maven.project.MavenProject;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.util.concurrent.FuturesGetChecked.GetCheckedTypeValidator;
    import java.io.IOException;
    import java.net.URISyntaxException;
    import java.security.GeneralSecurityException;
    import java.security.KeyException;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.TooManyListenersException;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. 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 {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.6K bytes
    - Click Count (0)
  6. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.building;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.URL;
    import java.util.Objects;
    
    /**
     * Wraps an ordinary {@link URL} as a source.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. docs/features/interceptors.md

    ```java
    class LoggingInterceptor implements Interceptor {
      @Override public Response intercept(Interceptor.Chain chain) throws IOException {
        Request request = chain.request();
    
        long t1 = System.nanoTime();
        logger.info(String.format("Sending request %s on %s%n%s",
            request.url(), chain.connection(), request.headers()));
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt

    import assertk.assertions.isTrue
    import java.io.IOException
    import java.text.SimpleDateFormat
    import java.util.Date
    
    /**
     * A received response or failure recorded by the response recorder.
     */
    class RecordedResponse(
      @JvmField val request: Request,
      val response: Response?,
      val webSocket: WebSocket?,
      val body: String?,
      val failure: IOException?,
    ) {
      fun assertRequestUrl(url: HttpUrl) =
        apply {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        client =
          client
            .newBuilder()
            .authenticator { _: Route?, _: Response -> throw IOException("IOException!") }
            .build()
        val request = Request(server.url("/"))
        executeSynchronously(request)
          .assertFailure(IOException::class.java)
        assertThat(client.connectionPool.idleConnectionCount()).isEqualTo(1)
      }
    
      @Test
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 147.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.primitives.ImmutableLongArray;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.io.Serializable;
    import java.util.concurrent.atomic.AtomicLongArray;
    import java.util.function.DoubleBinaryOperator;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top