- value
- the full header value from which to create a token
- start
- the index of the first token character
- end
- the index after the last token character
Documentation for this section has not yet been entered.
Creates a new token to be returned.
Called from BasicTokenIterator.FindNext(int) after the token is identified.
The default implementation simply calls
Java.Lang.String.Substring(int).
If header values are significantly longer than tokens, and some
tokens are permanently referenced by the application, there can
be problems with garbage collection. A substring will hold a
reference to the full characters of the original string and
therefore occupies more memory than might be expected.
To avoid this, override this method and create a new string
instead of a substring.