public class FormUrlDecoder extends java.lang.Object
A decoder for URL-encoded form data.
|Constructor and Description|
|Modifier and Type||Method and Description|
Add the data in the buffer to the form data.
Return the fields decoded from the data that has been added by
public void addData(java.nio.ByteBuffer buf)
Add the data in the buffer to the form data. May be invoked several times if the form data is split across several buffers.
buf- the buffer with the data
public java.util.Map<java.lang.String,java.lang.String> fields()
Return the fields decoded from the data that has been added
addData(ByteBuffer). Invoking this method terminates
the decoding, i.e.
addData(ByteBuffer) should not be
called again after this method has been invoked.