Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for Sharing (0.07 sec)

  1. src/main/java/jcifs/smb/SmbFileOutputStream.java

        }
    
        SmbFileOutputStream(final SmbFile file, final boolean append, final int openFlags, final int access, final int sharing)
                throws SmbException {
            this.file = file;
            this.append = append;
            this.openFlags = openFlags;
            this.sharing = sharing;
            this.access = access | SmbConstants.FILE_WRITE_DATA;
    
            try (SmbTreeHandleImpl th = file.ensureTreeConnected()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        private final boolean unsharedFile;
    
        private SmbFileHandleImpl handle;
    
        private final int sharing;
    
        /**
         * Instantiate a random access file from URL
         *
         * @param url the SMB URL of the file to access
         * @param mode the access mode ("r" for read-only, "rw" for read-write)
         * @param sharing the sharing flags for file access
         * @param tc the CIFS context to use for the connection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/cors.md

    # CORS (Cross-Origin Resource Sharing) { #cors-cross-origin-resource-sharing }
    
    <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS" class="external-link" target="_blank">CORS or "Cross-Origin Resource Sharing"</a> refers to the situations when a frontend running in a browser has JavaScript code that communicates with a backend, and the backend is in a different "origin" than the frontend.
    
    ## Origin { #origin }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

        }
    
        SmbFileInputStream(final SmbFile file, final int openFlags, final int access, final int sharing, final boolean unshared)
                throws SmbException {
            this.file = file;
            this.unsharedFile = unshared;
            this.openFlags = openFlags;
            this.access = access;
            this.sharing = sharing;
    
            try (SmbTreeHandleInternal th = file.ensureTreeConnected()) {
                this.smb2 = th.isSMB2();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/middleware.md

    But if you have custom headers that you want a client in a browser to be able to see, you need to add them to your CORS configurations ([CORS (Cross-Origin Resource Sharing)](cors.md){.internal-link target=_blank}) using the parameter `expose_headers` documented in <a href="https://www.starlette.io/middleware/#corsmiddleware" class="external-link" target="_blank">Starlette's CORS docs</a>.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbExceptionTest.java

        @Test
        @DisplayName("Should format error message for sharing violation")
        void testSharingViolationError() {
            // Given
            int ntStatus = NtStatus.NT_STATUS_SHARING_VIOLATION;
    
            // When
            SmbException exception = new SmbException(ntStatus, false);
    
            // Then
            assertTrue(exception.getMessage().toLowerCase().contains("sharing") || exception.getMessage().toLowerCase().contains("violation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                        this.handle = this.pipe.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0);
                    } else {
                        // at least on samba, SmbComOpenAndX fails without the pipe prefix
                        this.handle = this.pipe.openUnshared("\\pipe" + getUncPath(), this.openFlags, this.access, this.sharing,
                                SmbConstants.ATTR_NORMAL, 0);
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbResource.java

         *            access mode (r|rw)
         * @param sharing
         *            flags indicating for which operations others may concurrently open the file
         * @return random access file, needs to be closed when finished
         * @throws CIFSException if an error occurs accessing the resource
         *
         */
        SmbRandomAccess openRandomAccess(String mode, int sharing) throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/fess/cors/CorsHandler.java

     */
    package org.codelibs.fess.cors;
    
    import jakarta.servlet.ServletRequest;
    import jakarta.servlet.ServletResponse;
    
    /**
     * Abstract base class for handling CORS (Cross-Origin Resource Sharing) requests.
     * Provides common CORS header constants and defines the processing interface.
     */
    public abstract class CorsHandler {
    
        /**
         * Creates a new instance of CorsHandler.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

    import jakarta.servlet.ServletRequest;
    import jakarta.servlet.ServletResponse;
    import jakarta.servlet.http.HttpServletResponse;
    
    /**
     * Default implementation of CORS (Cross-Origin Resource Sharing) handler.
     * This handler automatically registers itself for origins configured in the system
     * and applies standard CORS headers based on the application configuration.
     */
    public class DefaultCorsHandler extends CorsHandler {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top