[RestResourceServer] Change static handler functions to instance function