gpt4 book ai didi

org.openid4java.discovery.yadis.YadisUrl.urlFromString()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-14 11:57:31 26 4
gpt4 key购买 nike

本文整理了Java中org.openid4java.discovery.yadis.YadisUrl.urlFromString()方法的一些代码示例,展示了YadisUrl.urlFromString()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YadisUrl.urlFromString()方法的具体详情如下:
包路径:org.openid4java.discovery.yadis.YadisUrl
类名称:YadisUrl
方法名:urlFromString

YadisUrl.urlFromString介绍

[英]Constructs a URL object from a string; needed by the YadisURL(String) constructor
[中]从字符串构造URL对象;YadisURL(字符串)构造函数需要

代码示例

代码示例来源:origin: org.wso2.org.openid4java/openid4java-nodeps

/**
 * Constructs a YadisURL from an XRI identifier.
 *
 * @param xriId The XRI identifier
 */
public YadisUrl(XriIdentifier xriId) throws YadisException {
  this(urlFromString(xriId.toURINormalForm()));
}

代码示例来源:origin: jbufu/openid4java

/**
 * Constructs a YadisURL from an XRI identifier.
 *
 * @param xriId             The XRI identifier
 */
public YadisUrl(XriIdentifier xriId) throws YadisException
{
  this(urlFromString(xriId.toURINormalForm()));
}

代码示例来源:origin: org.openid4java/openid4java

/**
 * Constructs a YadisURL from an XRI identifier.
 *
 * @param xriId             The XRI identifier
 */
public YadisUrl(XriIdentifier xriId) throws YadisException
{
  this(urlFromString(xriId.toURINormalForm()));
}

代码示例来源:origin: org.openid4java/openid4java-nodeps

/**
 * Constructs a YadisURL from an XRI identifier.
 *
 * @param xriId             The XRI identifier
 */
public YadisUrl(XriIdentifier xriId) throws YadisException
{
  this(urlFromString(xriId.toURINormalForm()));
}

代码示例来源:origin: com.cloudbees/openid4java-shaded

/**
 * Constructs a YadisURL from an XRI identifier.
 *
 * @param xriId             The XRI identifier
 */
public YadisUrl(XriIdentifier xriId) throws YadisException
{
  this(urlFromString(xriId.toURINormalForm()));
}

代码示例来源:origin: com.cloudbees/openid4java-shaded

/**
 * Contructs a YadisURL from a string;
 * assumes the string to be a URL-type identifier
 *
 * @param urlString         URL-type identifier in string format
 * @throws YadisException   if the provided string cannot be a YadisUrl
 */
public YadisUrl(String urlString) throws YadisException
{
  this(urlFromString(urlString));
  if (! isValid(this._yadisUrl))
    throw new YadisException(
      "The scheme name of a Yadis URL must be 'http' or 'https'",
      OpenIDException.YADIS_INVALID_SCHEME);
}

代码示例来源:origin: org.openid4java/openid4java

/**
 * Contructs a YadisURL from a string;
 * assumes the string to be a URL-type identifier
 *
 * @param urlString         URL-type identifier in string format
 * @throws YadisException   if the provided string cannot be a YadisUrl
 */
public YadisUrl(String urlString) throws YadisException
{
  this(urlFromString(urlString));
  if (! isValid(this._yadisUrl))
    throw new YadisException(
      "The scheme name of a Yadis URL must be 'http' or 'https'",
      OpenIDException.YADIS_INVALID_SCHEME);
}

代码示例来源:origin: jbufu/openid4java

/**
 * Contructs a YadisURL from a string;
 * assumes the string to be a URL-type identifier
 *
 * @param urlString         URL-type identifier in string format
 * @throws YadisException   if the provided string cannot be a YadisUrl
 */
public YadisUrl(String urlString) throws YadisException
{
  this(urlFromString(urlString));
  if (! isValid(this._yadisUrl))
    throw new YadisException(
      "The scheme name of a Yadis URL must be 'http' or 'https'",
      OpenIDException.YADIS_INVALID_SCHEME);
}

代码示例来源:origin: org.openid4java/openid4java-nodeps

/**
 * Contructs a YadisURL from a string;
 * assumes the string to be a URL-type identifier
 *
 * @param urlString         URL-type identifier in string format
 * @throws YadisException   if the provided string cannot be a YadisUrl
 */
public YadisUrl(String urlString) throws YadisException
{
  this(urlFromString(urlString));
  if (! isValid(this._yadisUrl))
    throw new YadisException(
      "The scheme name of a Yadis URL must be 'http' or 'https'",
      OpenIDException.YADIS_INVALID_SCHEME);
}

代码示例来源:origin: org.wso2.org.openid4java/openid4java-nodeps

/**
 * Contructs a YadisURL from a string;
 * assumes the string to be a URL-type identifier
 *
 * @param urlString URL-type identifier in string format
 * @throws YadisException if the provided string cannot be a YadisUrl
 */
public YadisUrl(String urlString) throws YadisException {
  this(urlFromString(urlString));
  if (!isValid(this._yadisUrl)) {
    throw new YadisException(
        "The scheme name of a Yadis URL must be 'http' or 'https'",
        OpenIDException.YADIS_INVALID_SCHEME);
  }
}

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com