ServletInputStream类用法示例

  1. ServletInputStream类
  2. ServletInputStream类的方法

ServletInputStream类提供流以从请求对象读取二进制数据, 例如图像等。这是一个抽象类。

ServletRequest接口的getInputStream()方法返回ServletInputStream类的实例。因此可以作为:

ServletInputStream sin=request.getInputStream();

ServletInputStream类的方法

ServletInputStream类中仅定义了一种方法。

  1. int readLine(byte [] b, int off, int len)读取输入流。
微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_47570.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?