Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 9,621 for Session (0.12 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            RepositoryCache cache = session.getCache();
            if (cache != null && !ConfigUtils.getBoolean(session, false, "aether.versionResolver.noCache")) {
                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
                if (obj instanceof Record) {
                    Record record = (Record) obj;
                    result.setVersion(record.version);
                    result.setRepository(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java

         */
        @Nonnull
        default ProjectBuilderResult build(@Nonnull Session session, @Nonnull Source source) {
            return build(ProjectBuilderRequest.build(session, source));
        }
    
        /**
         * Creates a {@link org.apache.maven.api.Project} from a POM file.
         *
         * @param session the {@link Session}, must not be {@code null}
         * @param path the {@link Path}, must not be {@code null}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jan 30 23:39:19 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            DefaultSession iSession = new DefaultSession(
                    msession, resolverRepositorySystem, null, mavenRepositorySystem, new DefaultLookup(container), null);
            InternalSession.associate(session, iSession);
    
            SessionScope sessionScope = container.lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, msession);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py

    def test_websocket_with_cookie(app: FastAPI):
        client = TestClient(app, cookies={"session": "fakesession"})
        with pytest.raises(WebSocketDisconnect):
            with client.websocket_connect("/items/foo/ws") as websocket:
                message = "Message one"
                websocket.send_text(message)
                data = websocket.receive_text()
                assert data == "Session cookie or query token value is: fakesession"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                infoLine('-');
            }
        }
    
        private boolean isSingleVersionedReactor(MavenSession session) {
            boolean result = true;
    
            MavenProject topProject = session.getTopLevelProject();
            List<MavenProject> sortedProjects = session.getProjectDependencyGraph().getSortedProjects();
            for (MavenProject mavenProject : sortedProjects) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            try {
                Result<ProjectDependencyGraph> result = sessionDependencyGraph(session);
    
                if (result == null) {
                    final List<MavenProject> projects = getProjectsForMavenReactor(session);
                    validateProjects(projects, session.getRequest());
                    processPackagingAttribute(projects, session.getRequest());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            }
    
            InternalSession iSession = InternalSession.from(configuration.getRepositorySession());
            InternalMavenSession mSession = InternalMavenSession.from(iSession);
            MavenSession session = mSession.getMavenSession();
    
            session.setProjects(projects);
            session.setAllProjects(session.getProjects());
    
            return session;
        }
    
        protected void initRepoSession(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/LocalRepositoryManager.java

         * the artifact would eventually be stored.
         *
         * @param session The session to use, must not be {@code null}.
         * @param artifact The artifact for which to determine the path, must not be {@code null}.
         * @return The path, resolved against the local repository's base directory.
         */
        @Nonnull
        Path getPathForLocalArtifact(@Nonnull Session session, @Nonnull LocalRepository local, @Nonnull Artifact artifact);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Dec 08 09:10:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java

        VersionsMetadataGenerator(RepositorySystemSession session, InstallRequest request) {
            this(session, request.getMetadata());
        }
    
        VersionsMetadataGenerator(RepositorySystemSession session, DeployRequest request) {
            this(session, request.getMetadata());
        }
    
        private VersionsMetadataGenerator(RepositorySystemSession session, Collection<? extends Metadata> metadatas) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_websockets/test_tutorial002_an.py

    
    def test_websocket_with_cookie():
        client = TestClient(app, cookies={"session": "fakesession"})
        with pytest.raises(WebSocketDisconnect):
            with client.websocket_connect("/items/foo/ws") as websocket:
                message = "Message one"
                websocket.send_text(message)
                data = websocket.receive_text()
                assert data == "Session cookie or query token value is: fakesession"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top