Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 214 for getSession (0.07 seconds)

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java

            this.session = session;
            this.project = project;
            this.executionPlan = executionPlan;
            this.cause = cause;
        }
    
        public MavenSession getSession() {
            return session;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public List<MojoExecution> getExecutionPlan() {
            return executionPlan;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      override fun getEnabledProtocols(): Array<String> = delegate!!.enabledProtocols
    
      override fun setEnabledProtocols(protocols: Array<String>) {
        delegate!!.enabledProtocols = protocols
      }
    
      override fun getSession(): SSLSession = delegate!!.session
    
      override fun addHandshakeCompletedListener(listener: HandshakeCompletedListener) {
        delegate!!.addHandshakeCompletedListener(listener)
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

         */
        public static List<PluginUpgrade> getPluginUpgrades() {
            return PLUGIN_UPGRADES;
        }
    
        /**
         * Gets or creates the cached Maven 4 session.
         */
        private Session getSession() {
            if (session == null) {
                session = createMaven4Session();
            }
            return session;
        }
    
        /**
         * Creates a new Maven 4 session for effective POM computation.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            SmbSessionImpl session = mock(SmbSessionImpl.class);
            when(tree.getSession()).thenReturn(session);
            when(session.getSessionKey()).thenReturn(new byte[] { 1, 2, 3 });
    
            byte[] key = target.getSessionKey();
            assertArrayEquals(new byte[] { 1, 2, 3 }, key);
            verify(tree, times(1)).getSession();
            verify(session, times(1)).getSessionKey();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.7K bytes
    - Click Count (0)
Back to Top