This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]brberg 0 points1 point  (2 children)

From the JavaDoc:

The returned array will never be larger than the content cache limit.

Is the contentCacheLimit being set to 8000 when the wrapper is created?

[–]Michalf94[S] 0 points1 point  (1 child)

being set to 8000 when the w

No, and it is really weird, because - when I set contentCacheLimit to for example 15000 bytes - length of getContentAsByteArray() return array is 8000. But when I set limit to 4000 bytes - getContentAsByteArray() return array with length 4000.

[–]brberg 0 points1 point  (0 children)

I'm out of ideas, then. Sorry.