Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 112 for getSession (0.19 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        }
    
        @Nonnull
        @Override
        public String getArtifactId() {
            return project.getArtifactId();
        }
    
        @Nonnull
        @Override
        public String getVersion() {
            return project.getVersion();
        }
    
        @Nonnull
        @Override
        public List<ProducedArtifact> getArtifacts() {
            org.eclipse.aether.artifact.Artifact pomArtifact = RepositoryUtils.toArtifact(new ProjectArtifact(project));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java

            this.session = copiedSession;
            final ProjectDependencyGraph dependencyGraph = getSession().getProjectDependencyGraph();
            nonTransitiveUpstreamProjects = dependencyGraph.getUpstreamProjects(getProject(), false);
            transitiveUpstreamProjects = dependencyGraph.getUpstreamProjects(getProject(), true);
        }
    
        public MavenSession getSession() {
            return session;
        }
    
        public MavenProject getProject() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

        @Override
        public void onEvent(Object arg) throws Exception {
            if (arg instanceof ExecutionEvent ee) {
                InternalMavenSession session =
                        InternalMavenSession.from(ee.getSession().getSession());
                EventType eventType = convert(ee.getType());
                Collection<Listener> listeners = session.getListeners();
                if (!listeners.isEmpty()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

         */
        Type getType();
    
        /**
         * Gets the session from which this event originates.
         *
         * @return The current session, never {@code null}.
         */
        MavenSession getSession();
    
        /**
         * Gets the current project (if any).
         *
         * @return The current project or {@code null} if not applicable.
         */
        MavenProject getProject();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

        @Nonnull
        EventType getType();
    
        /**
         * Gets the session from which this event originates.
         *
         * @return the current session, never {@code null}
         */
        @Nonnull
        Session getSession();
    
        /**
         * Gets the current project (if any).
         *
         * @return the current project or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<Project> getProject();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

            this.delegate = delegate;
            this.eventType = eventType;
        }
    
        @Override
        public EventType getType() {
            return eventType;
        }
    
        @Override
        public Session getSession() {
            return session;
        }
    
        @Override
        public Optional<Project> getProject() {
            return Optional.ofNullable(session.getProject(delegate.getProject()));
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

    @Immutable
    public interface Request<S extends ProtoSession> {
    
        /**
         * Returns the session associated with this request.
         *
         * @return the session instance, never {@code null}
         */
        @Nonnull
        S getSession();
    
        /**
         * Returns the trace information associated with this request, if any.
         * The trace provides context about the request's position in the operation
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

            this.session = session;
            this.project = project;
            this.mojoExecution = mojoExecution;
            this.mojo = mojo;
            this.cause = cause;
        }
    
        public MavenSession getSession() {
            return session;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public MojoExecution getExecution() {
            return mojoExecution;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
Back to Top