Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 157 for getSession (0.14 seconds)

  1. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                break;
            default:
                messages.addErrorsBlankPassword(GLOBAL);
                break;
            }
        }
    
        private OptionalThing<HttpSession> getSession() {
            final HttpSession session = request.getSession(false);
            if (session != null) {
                return OptionalEntity.of(session);
            }
            return OptionalEntity.empty();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        }
    
        @Test
        @DisplayName("getSession(): may return null and should be observed as such")
        void getSession_returnsNull() {
            // Arrange
            when(handle.getSession()).thenReturn(null);
    
            // Act
            SmbSession result = handle.getSession();
    
            // Assert
            assertNull(result);
            verify(handle).getSession();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/BaseRequest.java

        protected BaseRequest(@Nonnull S session, RequestTrace trace) {
            this.session = requireNonNull(session, "session cannot be null");
            this.trace = trace;
        }
    
        @Nonnull
        @Override
        public S getSession() {
            return session;
        }
    
        @Override
        public RequestTrace getTrace() {
            return trace;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         */
        boolean areSignaturesActive() throws CIFSException;
    
        /**
         * Internal/testing use only
         *
         * @return attached session
         */
        SmbSession getSession();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top