Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,148 for connection (0.18 sec)

  1. src/main/java/jcifs/smb/SmbTreeConnection.java

            }
        }
    
    
        /**
         * Use a exclusive connection for this tree
         * 
         * If an exclusive connection is used the caller must make sure that the tree handle is kept alive,
         * otherwise the connection will be disconnected once the usage drops to zero.
         * 
         * @param np
         *            whether to use an exclusive connection
         */
        void setNonPooled ( boolean np ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

            Protocol protocol, IOException ioe) {
          printEvent("connectFailed");
        }
    
        @Override public void connectionAcquired(Call call, Connection connection) {
          printEvent("connectionAcquired");
        }
    
        @Override public void connectionReleased(Call call, Connection connection) {
          printEvent("connectionReleased");
        }
    
        @Override public void requestHeadersStart(Call call) {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        private CIFSContext transportContext;
    
    
        /**
         * 
         * @param connection
         *            connection to wrap
         * @param tc
         *            context to use
         */
        public NtlmHttpURLConnection ( HttpURLConnection connection, CIFSContext tc ) {
            super(connection.getURL());
            this.connection = connection;
            this.transportContext = tc;
            this.requestProperties = new HashMap<>();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 25.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipeResponse.java

        private SmbNamedPipe pipe;
        private int head;
    
        static final int STATUS_DISCONNECTED = 1;
        static final int STATUS_LISTENING = 2;
        static final int STATUS_CONNECTION_OK = 3;
        static final int STATUS_SERVER_END_CLOSED = 4;
    
        int status, available;
    
        TransPeekNamedPipeResponse( SmbNamedPipe pipe ) {
            this.pipe = pipe;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbTransportPool.java

    
        /**
         * Get transport connection
         * 
         * @param tc
         *            context to use
         * @param address
         * @param port
         * @param exclusive
         *            whether to acquire an unshared connection
         * @param forceSigning
         *            whether to enforce SMB signing on this connection
         * @return a transport connection to the target
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 09:02:44 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtException.java

                    }
                    break;
                case ERR_SSN_SRVC:
                    result += "ERR_SSN_SRVC/";
                    switch( errorCode ) {
                        case CONNECTION_REFUSED:
                            result += "Connection refused";
                            break;
                        case NOT_LISTENING_CALLED:
                            result += "Not listening on called name";
                            break;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/CurlRequest.java

                    }
                    url = url + urlBuf.toString();
                }
    
                HttpURLConnection connection = null;
                try {
                    logger.fine(() -> ">>> " + method + " " + url);
                    final URL u = new URL(url);
                    connection = open(u);
                    connection.setRequestMethod(method.toString());
                    if (headerList != null) {
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/EnumTest.java

            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "noUnicode", "forceUnicode", "noNTStatus", "noNTSmbs", "smb2", "smb30", "smb31");
        }
    
    
        @Ignore ( "This causes a connection to whatever local master browser is available, config may be incompatible with it" )
        @Test
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportInternal.java

    
        /**
         * @return whether the transport has been disconnected
         */
        boolean isDisconnected ();
    
    
        /**
         * @param hard
         * @param inuse
         * @return whether the connection was in use
         * @throws IOException
         */
        boolean disconnect ( boolean hard, boolean inuse ) throws IOException;
    
    
        /**
         * @return whether the transport was connected
         * @throws SmbException
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/net/URLUtil.java

         */
        public static InputStream openStream(final URL url) {
            assertArgumentNotNull("url", url);
    
            try {
                final URLConnection connection = url.openConnection();
                connection.setUseCaches(false);
                return connection.getInputStream();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top