| 206 | } |
| 207 | |
| 208 | int HttpServletResponse::vformat(const char* fmt, va_list ap) |
| 209 | { |
| 210 | string buf; |
| 211 | buf.vformat(fmt, ap); |
| 212 | if (!write(buf)) { |
| 213 | return -1; |
| 214 | } |
| 215 | return (int) buf.length(); |
| 216 | } |
| 217 | |
| 218 | int HttpServletResponse::format(const char* fmt, ...) |
| 219 | { |
no test coverage detected