Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for getOutputStream (0.08 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

     *
     * @since 4.0.0
     * @param <T> the object type to read
     */
    @Experimental
    public interface XmlWriterRequest<T> {
    
        @Nullable
        Path getPath();
    
        @Nullable
        OutputStream getOutputStream();
    
        @Nullable
        Writer getWriter();
    
        @Nonnull
        T getContent();
    
        @Nullable
        Function<Object, String> getInputLocationFormatter();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Aug 10 22:21:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            return connection.getInputStream();
        }
    
        @Override
        public OutputStream getOutputStream() throws IOException {
            try {
                connect();
            } catch (final IOException ex) {}
            final OutputStream output = connection.getOutputStream();
            cachedOutput = new ByteArrayOutputStream();
            return new CacheStream(output, cachedOutput);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NbtSocket.java

        public InputStream getInputStream() throws IOException {
            return new SocketInputStream(super.getInputStream());
        }
    
        @Override
        public OutputStream getOutputStream() throws IOException {
            return new SocketOutputStream(super.getOutputStream());
        }
    
        @Override
        public int getPort() {
            return super.getPort();
        }
    
        @Override
        public InetAddress getLocalAddress() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

            try (final XContentBuilder builder = func.apply(mediaType.contentBuilder(), ToXContent.EMPTY_PARAMS)) {
                builder.flush();
                return builder.getOutputStream();
            } catch (final IOException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to print the output.", e);
                }
                return new ByteArrayOutputStream();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                        CopyUtil.copy(in, out);
                    } catch (final IOException e) {
                        throw new WebApiException(HttpServletResponse.SC_BAD_REQUEST, e);
                    }
                }
            }).execute()) {
    
                try (ServletOutputStream out = response.getOutputStream(); InputStream in = curlResponse.getContentAsStream()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            OutputStream initialOutputStream = mock(OutputStream.class);
            when(mockConnection.getOutputStream()).thenReturn(initialOutputStream);
    
            // Act
            // Get output stream and write data to it
            OutputStream os = ntlmConnection.getOutputStream();
            assertNotNull(os);
            byte[] testData = "test data".getBytes();
            os.write(testData);
            os.flush();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            response.setContentType(buf.toString());
            writeHeaders(response);
            try (PrintWriter out = new PrintWriter(new OutputStreamWriter(response.getOutputStream(), enc))) {
                out.print(text);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Writes custom headers to the HTTP response.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                    }
                }, "ProcessCloser-error-" + sessionId).start();
                new Thread(() -> {
                    try {
                        CloseableUtil.closeQuietly(process.getOutputStream());
                    } catch (final Exception e) {
                        logger.warn("Could not close a process output stream.", e);
                    } finally {
                        latch.countDown();
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/JobProcessTest.java

            public MockProcess(String output) {
                this.inputStream = new ByteArrayInputStream(output.getBytes());
            }
    
            @Override
            public OutputStream getOutputStream() {
                return null;
            }
    
            @Override
            public InputStream getInputStream() {
                return inputStream;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            handshake();
            return this.connection.getInputStream();
        }
    
        @SuppressWarnings("resource")
        @Override
        public OutputStream getOutputStream() throws IOException {
            connect();
            final OutputStream output = this.connection.getOutputStream();
            this.cachedOutput = new ByteArrayOutputStream();
            return new CacheStream(output, this.cachedOutput);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top