Hi everyone.
I’m using Hippo DX 11.2.6.
I’m coding a REST service to check if the hst:root of my site is actually ok and available.
Before Hippo 11, I was using :
RequestContextProvider.get().getResolvedMount().getMount().getParent().isSite();
However, as the method isSite() is now deprecated, which method can I use to check the mount?
I was thinking about this one :
RequestContextProvider.get().getResolvedMount().getMount().getParent().getType();
but I don’t if it is reliable.
Thanks in advance.
Best regards,
Sam Fisher