Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 106 for getSession (0.63 seconds)

  1. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        }
    
        @Test
        @DisplayName("getSession returns underlying session from tree connection")
        void getSessionReturnsUnderlying() {
            // Verifies getSession() exposes the session provided by the connection
            assertSame(session, handle.getSession());
            verify(treeConnection).getSession();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        }
    
        private MavenProject getMavenProject(Project project) {
            return ((DefaultProject) project).getProject();
        }
    
        private static InternalSession getSession(Project project) {
            return ((DefaultProject) project).getSession();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

         *
         * @return session that this file has been loaded through
         */
        @SuppressWarnings("resource")
        public SmbSessionImpl getSession() {
            final SmbTreeImpl t = getTreeInternal();
            if (t != null) {
                return t.getSession();
            }
            return null;
        }
    
        /**
         *
         * Only call this method while holding a tree handle
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            resolve(artifact, remoteRepositories, getSession(localRepository));
        }
    
        @Override
        public void resolveAlways(
                Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
                throws ArtifactResolutionException, ArtifactNotFoundException {
            resolve(artifact, remoteRepositories, getSession(localRepository));
        }
    
        private void resolve(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

                return transport.getNegotiateResponse().isDFSSupported();
            }
        }
    
        /**
         * @return the session this tree is connected in
         */
        public SmbSessionImpl getSession() {
            return this.session.acquire();
        }
    
        /**
         * @return the tid
         */
        public int getTid() {
            return this.tid;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

        }
    
        /**
         * Gets a session by ID.
         *
         * @param sessionId the session ID
         * @return the session, or null if not found or expired
         */
        public ChatSession getSession(final String sessionId) {
            final ChatSession session = findSession(sessionId);
            if (session == null) {
                return null;
            }
            session.touch();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            @Override
            public StringBuffer getRequestURL() {
                return null;
            }
    
            @Override
            public HttpSession getSession(boolean create) {
                return null;
            }
    
            @Override
            public HttpSession getSession() {
                return null;
            }
    
            @Override
            public String changeSessionId() {
                return null;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            this.resourceLoc = resourceLoc;
            this.treeConnection = treeConnection.acquire();
        }
    
        @Override
        public SmbSessionImpl getSession() {
            return this.treeConnection.getSession();
        }
    
        @Override
        public void ensureDFSResolved() throws CIFSException {
            this.treeConnection.ensureDFSResolved(this.resourceLoc);
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            public String getServletPath() {
                return "";
            }
    
            @Override
            public jakarta.servlet.http.HttpSession getSession(boolean create) {
                return null;
            }
    
            @Override
            public jakarta.servlet.http.HttpSession getSession() {
                return null;
            }
    
            @Override
            public String changeSessionId() {
                return null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  10. docs/smb3-features/02-persistent-handles-design.md

        
        // Determine handle type based on configuration and server capabilities
        if (tree.getSession().supports(SMB3_0) && config.isUsePersistentHandles()) {
            handleType = HandleType.PERSISTENT;
        } else if (tree.getSession().supports(SMB3_0)) {
            handleType = HandleType.DURABLE_V2;
        } else if (tree.getSession().supports(SMB2_1)) {
            handleType = HandleType.DURABLE_V1;
        } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
Back to Top