I'm not sure to get your question, but you can set the handlers with the hateoas builder. You could on some cases set a "NullHandler", and some cases "PhoneThingHandler", but that's before the serialization starts as you do it on the hateoas builder