Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 851 for IOException (0.07 sec)

  1. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        public Object getContent () throws IOException {
            handshake();
            return this.connection.getContent();
        }
    
    
        @Override
        public Object getContent ( Class[] classes ) throws IOException {
            handshake();
            return this.connection.getContent(classes);
        }
    
    
        @Override
        public Permission getPermission () throws IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

         * @param b
         * @param off
         * @param len
         * @param flags
         * @throws IOException
         */
        public void writeDirect ( byte[] b, int off, int len, int flags ) throws IOException {
            if ( len <= 0 ) {
                return;
            }
    
            if ( this.tmp == null ) {
                throw new IOException("Bad file descriptor");
            }
    
            try ( SmbFileHandleImpl fh = ensureOpen();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java

         * circumstances.
         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenCling().run(args);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
            return new MavenCling(world).run(args);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

     * Call call = client.newCall(request);
     * call.enqueue(new Callback() {
     *   public void onResponse(Call call, Response response) throws IOException {
     *     try (ResponseBody responseBody = response.body()) {
     *     ... // Use the response.
     *     }
     *   }
     *
     *   public void onFailure(Call call, IOException e) {
     *   ... // Handle the failure.
     *   }
     * });
     * ```
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

                                        int bufferIndex )
                                        throws IOException {
            int n;
            if(( n = readn( in, buffer, bufferIndex, HEADER_LENGTH )) != HEADER_LENGTH ) {
                if( n == -1 ) {
                    return -1;
                }
                throw new IOException( "unexpected EOF reading netbios session header" );
            }
            int t = buffer[bufferIndex] & 0xFF;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

      }
    
      @Throws(IOException::class)
      @JvmOverloads
      fun start(port: Int = 0) {
        started = true
        delegate.start(port)
      }
    
      @Throws(IOException::class)
      fun start(
        inetAddress: InetAddress,
        port: Int,
      ) {
        started = true
        delegate.start(inetAddress, port)
      }
    
      @Synchronized
      @Throws(IOException::class)
      fun shutdown() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/SidTest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.tests;
    
    
    import static org.junit.Assert.assertEquals;
    
    import java.io.IOException;
    import java.util.Collection;
    import java.util.Map;
    
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  8. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsWriter.java

         * @param toolchains The toolchains to serialize, must not be {@code null}.
         * @throws IOException If the toolchains could not be serialized.
         */
        void write(Writer output, Map<String, Object> options, PersistedToolchains toolchains) throws IOException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-ResponseBodyCommon.kt

    ): T {
      val contentLength = contentLength()
      if (contentLength > Int.MAX_VALUE) {
        throw IOException("Cannot buffer entire body for content length: $contentLength")
      }
    
      val bytes = source().use(consumer)
      val size = sizeMapper(bytes)
      if (contentLength != -1L && contentLength != size.toLong()) {
        throw IOException("Content-Length ($contentLength) and stream length ($size) disagree")
      }
      return bytes
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NtlmSsp.java

         * @param challenge The domain controller challenge.
         * @throws IOException If an IO error occurs.
         * @throws ServletException If an error occurs.
         */
        public NtlmPasswordAuthentication doAuthentication(
                HttpServletRequest req, HttpServletResponse resp, byte[] challenge)
                        throws IOException, ServletException {
            return authenticate(req, resp, challenge);
        }
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
Back to top