Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 80 for get_session (0.2 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            MavenSession session = mock(MavenSession.class);
            when(session.getTopLevelProject()).thenReturn(rootProject);
            when(session.getTopDirectory()).thenReturn(basedir.toPath());
            when(event.getSession()).thenReturn(session);
    
            // execute
            executionEventLogger.projectStarted(event);
    
            // verify
            InOrder inOrder = inOrder(logger);
            inOrder.verify(logger).info("");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

    import static org.apache.maven.api.services.BaseRequest.nonNull;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionRangeResolverRequest {
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        ArtifactCoordinates getArtifactCoordinates();
    
        @Nullable
        List<RemoteRepository> getRepositories();
    
        @Nonnull
        static VersionRangeResolverRequest build(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

    import static org.apache.maven.api.services.BaseRequest.nonNull;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionResolverRequest {
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        ArtifactCoordinates getArtifactCoordinates();
    
        @Nullable
        List<RemoteRepository> getRepositories();
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NetworkExplorer.java

            Address dc;
            String msg, pathInfo, server = null;
            boolean offerBasic, possibleWorkgroup = true;
            NtlmPasswordAuthentication ntlm = null;
            HttpSession ssn = req.getSession(false);
    
            if ( ( pathInfo = req.getPathInfo() ) != null ) {
                int i;
                server = parseServerAndShare(pathInfo);
                if ( server != null && ( i = server.indexOf('/') ) > 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

    /**
     * A request for deploying one or more artifacts to a remote repository.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactDeployerRequest {
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        RemoteRepository getRepository();
    
        @Nonnull
        Collection<ProducedArtifact> getArtifacts();
    
        int getRetryFailedDeploymentCount();
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

    /**
     * A request for resolving an artifact.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactResolverRequest {
        @Nonnull
        Session getSession();
    
        @Nonnull
        Collection<? extends ArtifactCoordinates> getCoordinates();
    
        @Nonnull
        List<RemoteRepository> getRepositories();
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                this.packaging = session.requirePackaging(project.getPackaging());
            } finally {
                Thread.currentThread().setContextClassLoader(ttcl);
            }
        }
    
        public InternalMavenSession getSession() {
            return session;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        @Nonnull
        @Override
        public String getGroupId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmServlet.java

                    return;
                }
                HttpSession ssn = request.getSession();
                ssn.setAttribute("NtlmHttpAuth", ntlm);
                ssn.setAttribute( "ntlmdomain", ntlm.getDomain() );
                ssn.setAttribute( "ntlmuser", ntlm.getUsername() );
            } else {
                HttpSession ssn = request.getSession(false);
                if (ssn == null || ssn.getAttribute("NtlmHttpAuth") == null) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

            try {
                List<ArtifactRepository> repositories = session.toArtifactRepositories(
                        request.getRepositories() != null ? request.getRepositories() : session.getRemoteRepositories());
                ProjectBuildingRequest req = new DefaultProjectBuildingRequest()
                        .setRepositorySession(session.getSession())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                }
            }
            return null;
        }
    
        public void storeQueryId(final String queryId, final List<Map<String, Object>> documentItems) {
            LaRequestUtil.getOptionalRequest().map(req -> req.getSession(false)).ifPresent(session -> {
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
                final List<String> docIdList = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top