Class ReadOnlySecondaryNodeHeader


  • public class ReadOnlySecondaryNodeHeader
    extends Object
    • Constructor Detail

      • ReadOnlySecondaryNodeHeader

        public ReadOnlySecondaryNodeHeader​(@NotNull
                                           PagePlaces pagePlaces,
                                           @NotNull
                                           TeamCityNodes teamCityNodes)
    • Method Detail

      • getNodeUrlIfDifferent

        @Nullable
        public static String getNodeUrlIfDifferent​(@NotNull
                                                   javax.servlet.http.HttpServletRequest currentRequest,
                                                   @NotNull
                                                   TeamCityNode otherNode)
        Returns:
        root url of the other node if it is not equal to the root url of the current request, null otherwise.