Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getOutputStream (0.11 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Aug 10 22:21:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. 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);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 6.4K 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

                builder.startObject();
                response.toXContent(builder, ToXContent.EMPTY_PARAMS);
                builder.endObject();
                builder.flush();
                try (OutputStream out = builder.getOutputStream()) {
                    stats = ((ByteArrayOutputStream) out).toString(Constants.UTF_8);
                }
            } catch (final Exception e) {
                appendException(buf, e).append(',');
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

        synchronized(this) {
          if (executor.isShutdown) {
            socket.close()
            return
          }
        }
        val outputStream = socket.getOutputStream()
        val inputStream = socket.getInputStream()
        val reader = Http2Reader(inputStream.source().buffer(), client)
        val outFramesIterator: Iterator<OutFrame> = outFrames.iterator()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

            nonNull(request, "request");
            PluginDescriptor content = nonNull(request.getContent(), "content");
            Path path = request.getPath();
            OutputStream outputStream = request.getOutputStream();
            Writer writer = request.getWriter();
            if (writer == null && outputStream == null && path == null) {
                throw new IllegalArgumentException("writer, outputStream or path must be non null");
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

        return delegate!!.localAddress
      }
    
      override fun getLocalPort(): Int {
        return delegate!!.localPort
      }
    
      @Throws(IOException::class)
      override fun getOutputStream(): OutputStream {
        return delegate!!.outputStream
      }
    
      override fun getPort(): Int {
        return delegate!!.port
      }
    
      @Throws(SocketException::class)
      override fun getSoLinger(): Int {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                    }
                });
                CommonPoolUtil.execute(() -> {
                    try {
                        CloseableUtil.closeQuietly(p.getOutputStream());
                    } catch (final Exception e) {
                        logger.warn("Could not close a process output stream.", e);
                    }
                });
    
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top