If a parameter has the var keyword, a public writer method is also generated with the parameter’s name as a prefix, followed by _=.
如果参数有一个var 关键字,一个公有的写方法会被自动生成,并且名字为参数名加下划线等号(_=)。
Note that the close method only releases any resources that the writer acquired, but it does not close the underlying output.
注意关闭方法只释放编写器需要的资源,并不关闭底层的输出。
JSR 286 adds a write method that allows you to stream URL objects directly to the response writer instead, avoiding the creation of temporary string objects.
JSR 286添加了write方法,允许您将URL对象直接流向响应写出程序,从而避免创建临时字符串对象。
应用推荐