Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 530 for IOException (0.1 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/logging/LoggingOutputStream.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.logging;
    
    import java.io.ByteArrayOutputStream;
    import java.io.FilterOutputStream;
    import java.io.IOException;
    import java.io.PrintStream;
    import java.util.function.Consumer;
    
    public class LoggingOutputStream extends FilterOutputStream {
    
        static final byte[] LINE_SEP = System.lineSeparator().getBytes();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 12 12:31:43 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt

     * 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
    
    import java.io.IOException
    import java.nio.charset.Charset
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.internal.toImmutableList
    import okhttp3.internal.url.FORM_ENCODE_SET
    import okhttp3.internal.url.canonicalizeWithCharset
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.v4;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Plugin;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java

     * under the License.
     */
    package org.apache.maven.artifact.repository.metadata.io;
    
    import java.io.IOException;
    
    /**
     * Signals a failure to parse the metadata due to invalid syntax (e.g. non well formed XML or unknown elements).
     *
     */
    public class MetadataParseException extends IOException {
    
        /**
         * The one-based index of the line containing the error.
         */
        private final int lineNumber;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  5. module-tests/src/test/java/okhttp3/modules/test/JavaModuleTest.java

    import okhttp3.HttpUrl;
    import okhttp3.OkHttpClient;
    import okhttp3.Response;
    import okhttp3.logging.HttpLoggingInterceptor;
    import okhttp3.modules.OkHttpCaller;
    import org.junit.jupiter.api.Test;
    
    import java.io.IOException;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    class JavaModuleTest {
      @Test
      public void testVisibility() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    import org.junit.jupiter.api.Test;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.recipes.kt
    
    import java.io.IOException
    import java.util.concurrent.Executors
    import java.util.concurrent.TimeUnit
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class CancelCall {
      private val executor = Executors.newScheduledThreadPool(1)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java

         *
         * @return A byte stream to the source contents, never {@code null}.
         * @throws IOException in case of IO issue
         */
        InputStream getInputStream() throws IOException;
    
        /**
         * Provides a user-friendly hint about the location of the source. This could be a local file path, a URI or just an
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java

     * limitations under the License.
     */
    package okhttp.regression;
    
    import android.os.Build;
    import androidx.test.ext.junit.runners.AndroidJUnit4;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.security.cert.Certificate;
    import java.security.cert.CertificateException;
    import java.security.cert.CertificateFactory;
    import java.security.cert.X509Certificate;
    
    import okhttp3.OkHttpClient;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 17 07:40:31 GMT 2020
    - 6.1K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

         * ]]></usage>
         * </expression>
         * <expressions>
         *
         * @throws IOException
         * @throws XmlPullParserException
         */
        private static Map<String, Expression> parseExpressionDocumentation(InputStream docStream)
                throws IOException, XmlPullParserException {
            ParamdocXpp3Reader paramdocReader = new ParamdocXpp3Reader();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.2K bytes
    - Click Count (0)
Back to Top