rest with spring