- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 305 for getSession (0.05 sec)
-
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(); /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 29 20:53:26 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
if (relocation.getVersion() != null) { // note: see MNG-3454. This causes a problem, but fixing it may break more. artifact.setVersionRange(VersionRange.createFromVersion(relocation.getVersion())); relocatedArtifact = artifact; project.setVersion(relocation.getVersion()); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 25 12:03:50 UTC 2025 - 30.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java
public Iterator<ProjectSegment> iterator() { return items.iterator(); } public void closeAll() { for (ProjectSegment item : items) { MavenSession sessionForThisModule = item.getSession(); sessionForThisModule.setCurrentProject(null); } } public int size() { return items.size(); } public ProjectSegment get(int index) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/search/SearchAction.java
public HtmlResponse search(final SearchForm form) { if (viewHelper.isUseSession()) { LaRequestUtil.getOptionalRequest().ifPresent(request -> { final HttpSession session = request.getSession(false); if (session != null && form.num != null) { session.setAttribute(Constants.RESULTS_PER_PAGE, form.num); } }); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java
} ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(pluginRealm); MavenSession oldSession = legacySupport.getSession(); scope.enter(); try { scope.seed(MavenProject.class, project); scope.seed(MojoExecution.class, mojoExecution); scope.seed(Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 16:01:38 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
protected void doConnect() throws IOException { // ... existing connection logic ... if (context.getConfig().isUseLeases() && tree.getSession().supports(SMB3_0)) { // Request lease when opening file leaseManager = tree.getSession().getLeaseManager(); int requestedState = isDirectory() ? Smb2LeaseState.SMB2_LEASE_READ_HANDLE : Smb2LeaseState.SMB2_LEASE_FULL;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (1) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestImplementationTest.java
ArtifactInstallerRequest request = ArtifactInstallerRequest.builder().session(session).trace(trace).build(); assertEquals(trace, request.getTrace()); assertEquals(session, request.getSession()); } @Test void testDependencyResolverRequestEquality() { Session session = mock(Session.class);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 4.8K bytes - Viewed (0)