Class DefaultUrlFormatter

    • Constructor Detail

      • DefaultUrlFormatter

        @Inject
        public DefaultUrlFormatter​(com.google.inject.Provider<String> canonicalWebUrlProvider)
    • Method Detail

      • getWebUrl

        public Optional<String> getWebUrl()
        Description copied from interface: UrlFormatter
        The canonical base URL where this Gerrit installation can be reached.

        For the default implementations below to work, it must end in "/".

        Specified by:
        getWebUrl in interface UrlFormatter