Using buffered boundary stream in multipart parser. But currently not working

This commit is contained in:
Ziver Koc 2016-07-08 16:23:29 +02:00
parent 53dec4603c
commit 077963ae28
11 changed files with 198 additions and 152 deletions

View file

@ -216,9 +216,9 @@ public class BufferedBoundaryInputStream extends FilterInputStream{
}
/**
* @return if current position in the buffer is a boundary
* @return if there is more data to read
*/
public boolean isBoundary(){
public boolean hasNext(){
return bound_pos == buf_pos;
}