Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for getOutputStream (0.05 sec)

  1. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            try (XContentBuilder builder = JsonXContent.contentBuilder().map(firstLineMap)) {
                builder.flush();
                return builder.getOutputStream();
            }
        }
    
        /**
         * Creates a default ReadingConverter with a chain of converters.
         * The chain includes an AnalyzerConverter and a KatakanaToAlphabetConverter.
         *
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            }
    
            @Override
            public String getContentType() {
                return headers.get("Content-Type");
            }
    
            @Override
            public jakarta.servlet.ServletOutputStream getOutputStream() {
                return null;
            }
    
            @Override
            public void setCharacterEncoding(String charset) {
            }
    
            @Override
            public void setContentLength(int len) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

            .throttleBody(3, 500, TimeUnit.MILLISECONDS),
        )
        val startNanos = System.nanoTime()
        val connection = server.url("/").toUrl().openConnection()
        connection.setDoOutput(true)
        connection.getOutputStream().write("ABCDEF".toByteArray(StandardCharsets.UTF_8))
        val inputStream = connection.getInputStream()
        assertThat(inputStream.read()).isEqualTo(-1)
        val elapsedNanos = System.nanoTime() - startNanos
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  4. docs/smb3-features/02-persistent-handles-design.md

        
        SmbFile file = new SmbFile("smb://server/share/test.txt", context);
        file.createNewFile();
        
        // Write some data
        try (OutputStream os = file.getOutputStream()) {
            os.write("test data".getBytes());
        }
        
        // Simulate network disconnection
        file.getTree().getSession().getTransport().disconnect();
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            final byte[] buf = new byte[8192];
            String url, type;
            int n;
    
            try (SmbFileInputStream in = new SmbFileInputStream(file); ServletOutputStream out = resp.getOutputStream()) {
                url = file.getPath();
    
                resp.setContentType("text/plain");
    
                n = url.lastIndexOf('.');
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

                this.socket.setSoTimeout(tc.getConfig().getSoTimeout());
    
                this.out = this.socket.getOutputStream();
                this.in = this.socket.getInputStream();
    
                final SessionServicePacket ssp = new SessionRequestPacket(tc.getConfig(), calledName, tc.getNameServiceClient().getLocalName());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  7. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

            .build(),
        )
        val startNanos = System.nanoTime()
        val connection = server.url("/").toUrl().openConnection()
        connection.doOutput = true
        connection.getOutputStream().write("ABCDEF".toByteArray(UTF_8))
        val inputStream = connection.getInputStream()
        assertThat(inputStream.read()).isEqualTo(-1)
        val elapsedNanos = System.nanoTime() - startNanos
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

         *
         * @throws IOException thrown by {@code SmbFileOutputStream} constructor
         */
        @Override
        public OutputStream getOutputStream() throws IOException {
            return new SmbFileOutputStream(this);
        }
    
        private void processAces(final ACE[] aces, final boolean resolveSids) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

            return new SmbFileInputStream(this, flags, access, sharing, false);
        }
    
        @Override
        public OutputStream getOutputStream() throws IOException {
            return new SmbFileOutputStream(this);
        }
    
        @Override
        public SmbFileOutputStream openOutputStream() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top