code: public static SamlEndpoint ofHttpRedirect(URI uri) {
          requireNonNull(uri, "uri");
          return new SamlEndpoint(uri, SamlBindingProtocol.HTTP_REDIRECT);
      }
docs: Creates a {@link SamlEndpoint} of the specified {@code uri} and the HTTP Redirect binding protocol.