54555657585960
StringValue inputData = env.getInputData(); if (inputData == null) inputData = env.getEmptyString(); init(new ReadStream(new VfsStream(inputData.toInputStream(), null))); }
596061626364656667
_env.addCleanup(this); _process = process; _os = new WriteStream(new VfsStream(null, _process.getOutputStream())); _process.getInputStream().close(); }
37383940414243
*/ public class PhpStdin extends AbstractBinaryInput { public PhpStdin(Env env) { super(env, new ReadStream(new VfsStream(System.in, null))); }
103104105106107108109110111
_virtualHost = virtualHost; } public void setStream(InputStream is, OutputStream os) { VfsStream _vfsStream = new VfsStream(is, os); getWriteStream().init(_vfsStream); getReadStream().init(_vfsStream, getWriteStream()); }
59606162636465
{ _env = env; _env.addCleanup(this); _os = new WriteStream(new VfsStream(null, out)); }
528529530531532533534535536537538
// _conn.setVirtualHost(_virtualHost); _request = new HttpRequest(_resin.getServer(), _conn); _request.init(); _vfsStream = new VfsStream(null, null); _readStream = new ReadStream(); _writeStream = new WriteStream(); // _conn.setSecure(_isSecure);
121122123124125126127128129130131
if (contentType != null && contentType.startsWith("multipart/form-data")) { String boundary = getBoundary(contentType); ReadStream rs = new ReadStream(new VfsStream(is, null)); if (boundary == null) { env.warning(L.l("multipart/form-data POST is missing boundary")); return;
137138139140141142143144145146147
} StreamImpl out; try { out = new VfsStream(null, response.getOutputStream()); } catch (IllegalStateException e) { WriterStreamImpl writer = new WriterStreamImpl(); writer.setWriter(response.getWriter());
7172737475767778798081
if (contentType != null && contentType.startsWith("multipart/form-data")) { String boundary = getBoundary(contentType); ReadStream rs = new ReadStream(new VfsStream(is, null)); MultipartStream ms = new MultipartStream(rs, boundary); if (encoding != null) ms.setEncoding(encoding);
545556575859606162
_env.addCleanup(this); _process = process; init(new ReadStream(new VfsStream(_process.getInputStream(), null))); _process.getOutputStream().close(); }