PageRequest should support having a null next key docId : the Page Link JSON String is now generated in a way that supports a null docId even when the key is not null. This bug made asJson() method to fail when docId was null. Also, as toString() was invoking asJson(), this made the debugging harder, so the toString() method should not invoke asJson() but rather basically print the Object's properties. Also noticed in the process that applyPagingParameters(...) method should not implements any logic but just basically apply the properties without any condition
Merge branch 'FixPageRequestWhenDocIdIsNull' into integration