Using buffered boundary stream in multipart parser. But currently not working
This commit is contained in:
parent
53dec4603c
commit
077963ae28
11 changed files with 198 additions and 152 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue