Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 78 for setSession (0.93 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        }
    
        /** {@inheritDoc} */
        @Override
        public String getVersion() {
            return artifact.getVersion();
        }
    
        /** {@inheritDoc} */
        @Override
        public void setVersion(String version) {
            artifact.setVersion(version);
        }
    
        /** {@inheritDoc} */
        @Override
        public String getScope() {
            return artifact.getScope();
        }
    
        /** {@inheritDoc} */
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessRegisterRequest.java

         */
        public int getVersion() {
            return version;
        }
    
        /**
         * Sets the witness protocol version.
         *
         * @param version the protocol version
         */
        public void setVersion(int version) {
            this.version = version;
        }
    
        /**
         * Gets the share name to monitor.
         *
         * @return the share name
         */
        public String getShareName() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

            DeployRequest request = new DeployRequest();
    
            request.setTrace(RequestTrace.newChild(null, legacySupport.getSession().getCurrentProject()));
    
            org.eclipse.aether.artifact.Artifact mainArtifact = RepositoryUtils.toArtifact(artifact);
            mainArtifact = mainArtifact.setFile(source);
            request.addArtifact(mainArtifact);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. 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;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            verify(c, never()).connectHost(any(), anyString());
        }
    
        @Test
        @DisplayName("getSession returns null when no tree is present")
        void getSession_nullWhenNoTree() {
            SmbTreeConnection c = newConn();
            assertNull(c.getSession());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. 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();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmServlet.java

                    return;
                }
                final HttpSession ssn = request.getSession();
                ssn.setAttribute("NtlmHttpAuth", ntlm);
                ssn.setAttribute("ntlmdomain", ntlm.getUserDomain());
                ssn.setAttribute("ntlmuser", ntlm.getUsername());
            } else {
                final HttpSession ssn = request.getSession(false);
                if (ssn == null || ssn.getAttribute("NtlmHttpAuth") == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestMavenWorkspaceReader.java

                    && VERSION.equals(artifact.getVersion())) {
                Model m = new Model();
                m.setArtifactId(ARTIFACT_ID);
                m.setGroupId(GROUP_ID);
                m.setVersion(VERSION);
                Repository repository = new Repository();
                repository.setId(REPO_ID);
                repository.setUrl(REPO_URL);
                repository.setLayout(REPO_LAYOUT);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java

         * @return a new {@link DependencyCoordinates} object
         *
         * @throws IllegalArgumentException if {@code request} is null or
         *         if {@code request.getSession()} is null or invalid
         */
        @Nonnull
        DependencyCoordinates create(@Nonnull DependencyCoordinatesFactoryRequest request);
    
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.4K bytes
    - Viewed (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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top