protected int parseTokenNonExtract ( WsByteBuffer buff , byte bDelimiter , boolean bApproveCRLF ) throws MalformedMessageException { TokenCodes rc = findTokenLength ( buff , bDelimiter , bApproveCRLF ) ; return ( TokenCodes . TOKEN_RC_MOREDATA . equals ( rc ) ) ? - 1 : this . parsedTokenLength ; }
Standard parsing of a token ; however instead of saving the data into the global parsedToken variable this merely returns the length of the token . Used for occasions where we just need to find the length of the token .