Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 140 for getSession (0.27 sec)

  1. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    updateHighlightInfo(highlightInfo, width);
                    final HttpSession session = req.getSession(false);
                    if (session != null) {
                        session.setAttribute(SCREEN_WIDTH, width);
                    }
                } else {
                    final HttpSession session = req.getSession(false);
                    if (session != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

         *
         * @param form the search form to populate with parameters
         */
        protected void buildFormParams(final SearchForm form) {
    
            final HttpSession session = request.getSession(false);
            if (session != null) {
                final Object resultsPerPage = session.getAttribute(Constants.RESULTS_PER_PAGE);
                if (resultsPerPage instanceof Integer) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/QueryHelper.java

                }
                return user.getUserId();
            }).ifPresent(p -> searchRequestBuilder.setPreference(p)).orElse(() -> LaRequestUtil.getOptionalRequest().map(r -> {
                final HttpSession session = r.getSession(false);
                if (session != null) {
                    return session.getId();
                }
                final String preference = r.getParameter("preference");
                if (preference != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            when(tree.acquire()).thenReturn(tree);
    
            // Use doThrow for unchecked exception wrapping the CIFSException
            doThrow(new RuntimeException(new CIFSException("session fail"))).when(tree).getSession();
    
            Exception ex = assertThrows(Exception.class, handle::getSessionKey);
            assertTrue(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            // We can do this by calling isChildOfRootNode on the current node.
            if ((artifact.getVersion() != null)
                    && (!node.isChildOfRootNode() || node.getArtifact().getVersion() == null)) {
                fireEvent(ResolutionListener.MANAGE_ARTIFACT_VERSION, listeners, node, artifact);
                node.getArtifact().setVersion(artifact.getVersion());
            }
    
            if ((artifact.getScope() != null)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. docs/smb3-features/06-witness-protocol-design.md

        }
    }
    ```
    
    ### 5.3 File Handle Integration
    ```java
    // In SmbFile.java
    @Override
    protected void handleConnectionLoss(IOException error) {
        if (tree.getSession().isWitnessEnabled()) {
            log.info("Connection lost, waiting for witness notification before retry");
            
            // Wait briefly for witness notification before retrying
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                    req.setShareAccess(sharing);
                    req.setFileAttributes(attrs);
    
                    // Add SMB3 features support with error handling for compatibility
                    SmbSessionImpl session = h.getSession();
    
                    // Enable lease support if available, with fallback for compatibility
                    boolean leasesAdded = false;
                    if (config.isUseLeases() && h.isSMB3()) {
                        try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            assertEquals("fess-crawler-smbj", list.get(0).getName());
            assertEquals("14.14.0", list.get(0).getVersion());
            assertEquals("plugin/repo3/fess-crawler-smbj/14.14.0/fess-crawler-smbj-14.14.0.jar", list.get(0).getUrl());
            assertEquals("fess-crawler-smbj", list.get(1).getName());
            assertEquals("14.15.0", list.get(1).getVersion());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            assertEquals(createSet(artifacts), res.getArtifacts(), "Check artifact list");
            assertEquals("1.0", getArtifact("d", res.getArtifacts()).getVersion(), "Check version");
            assertEquals("2.0", getArtifact("b", res.getArtifacts()).getVersion(), "Check version");
        }
    
        @Test
        void testResolveNearestNewestIsNearest() throws ArtifactResolutionException, InvalidVersionSpecificationException {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            if (empty(groupId)) {
                throw new InvalidArtifactRTException(
                        groupId, artifactId, getVersion(), type, "The groupId cannot be empty.");
            }
    
            if (empty(artifactId)) {
                throw new InvalidArtifactRTException(
                        groupId, artifactId, getVersion(), type, "The artifactId cannot be empty.");
            }
    
            if (empty(type)) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top