- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for getOutputStream (0.13 sec)
-
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
} catch (IOException ex) { } return connection.getInputStream(); } public OutputStream getOutputStream() throws IOException { try { connect(); } catch (IOException ex) { } OutputStream output = connection.getOutputStream(); cachedOutput = new ByteArrayOutputStream(); return new CacheStream(output, cachedOutput); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/ReadWriteTest.java
try ( SmbFile f = createTestFile() ) { try { try ( OutputStream os = f.getOutputStream() ) { writeRandom(bufSize, length, os); } assertEquals("File size matches", length, f.length());
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileOperationsTest.java
SmbFile t = new SmbFile(d1, makeRandomName()) ) { try { try ( OutputStream os = f.getOutputStream() ) { ReadWriteTest.writeRandom(bufSize, length, os); } try ( OutputStream os = t.getOutputStream() ) { ReadWriteTest.writeRandom(bufSize, 2 * length, os); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:17:59 UTC 2023 - 16.3K bytes - Viewed (0) -
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) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
return this.connection.getInputStream(); } @SuppressWarnings ( "resource" ) @Override public OutputStream getOutputStream () throws IOException { connect(); OutputStream output = this.connection.getOutputStream(); this.cachedOutput = new ByteArrayOutputStream(); return new CacheStream(output, this.cachedOutput); } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 25.5K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
logger.fine(() -> ">>> " + body); connection.setDoOutput(true); try (BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(connection.getOutputStream(), encoding))) { writer.write(body); writer.flush(); } } else if (bodyStream != null) {
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Sun Feb 12 12:21:25 UTC 2023 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
socket.connect(new InetSocketAddress(address.getHostAddress(), 139), CONN_TIMEOUT); socket.setSoTimeout( SO_TIMEOUT ); out = socket.getOutputStream(); in = socket.getInputStream(); SessionServicePacket ssp = new SessionRequestPacket( calledName, NbtAddress.getLocalName() );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 31.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
try (XContentBuilder builder = JsonXContent.contentBuilder().map(firstLineMap)) { builder.flush(); return builder.getOutputStream(); } } public static ReadingConverter createDefaultReadingConverter(final Client client, final SuggestSettings settings) { final ReadingConverterChain chain = new ReadingConverterChain();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
try (final BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(tempFile))); final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(con.getOutputStream(), Constants.CHARSET_UTF_8))) { String line; while ((line = br.readLine()) != null) { if (StringUtil.isNotBlank(line)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 28.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/TimeoutTest.java
int soTimeout = ctx.getConfig().getSoTimeout(); f.createNewFile(); try { try ( OutputStream os = f.getOutputStream() ) { os.write(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 }); } try ( InputStream is = f.getInputStream() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12.4K bytes - Viewed (0)