code: public static SamlEndpoint ofHttpRedirect(String uri) {
          requireNonNull(uri, "uri");
          try {
              return ofHttpRedirect(new URI(uri));
          } catch (URISyntaxException e) {
              return Exceptions.throwUnsafely(e);
          }
      }
docs: Creates a {@link SamlEndpoint} of the specified {@code uri} and the HTTP Redirect binding protocol.