org.restlet.data.Reference.getMatrix()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(85)

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

Reference.getMatrix介绍

[英]Returns the optional matrix for hierarchical identifiers. A matrix part starts after the first ';' character of the last path segment. It is a sequence of 'name=value' parameters separated by ';' characters. The value can be ommitted.
Note that no URI decoding is done by this method.
[中]返回分层标识符的可选矩阵。矩阵部分在第一个“;”之后开始最后一个路径段的字符。它是一系列由“;”分隔的“name=value”参数角色。该值可以被忽略。
请注意,此方法不会执行URI解码。

代码示例

代码示例来源:origin: DeviceConnect/DeviceConnect-Android

/**
 * Returns the optionnally decoded matrix.
 * 
 * @param decode
 *            Indicates if the result should be decoded using the
 *            {@link #decode(String)} method.
 * @return The optionnally decoded matrix.
 * @see #getMatrix()
 */
public String getMatrix(boolean decode) {
  return decode ? decode(getMatrix()) : getMatrix();
}

代码示例来源:origin: org.restlet.osgi/org.restlet

/**
 * Returns the optionnally decoded matrix.
 * 
 * @param decode
 *            Indicates if the result should be decoded using the {@link #decode(String)} method.
 * @return The optionnally decoded matrix.
 * @see #getMatrix()
 */
public String getMatrix(boolean decode) {
  return decode ? decode(getMatrix()) : getMatrix();
}

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

/**
 * Returns the optionnally decoded matrix.
 * 
 * @param decode
 *            Indicates if the result should be decoded using the
 *            {@link #decode(String)} method.
 * @return The optionnally decoded matrix.
 * @see #getMatrix()
 */
public String getMatrix(boolean decode) {
  return decode ? decode(getMatrix()) : getMatrix();
}

代码示例来源:origin: org.restlet.osgi/org.restlet

/**
 * Returns the optional matrix as a form submission.
 * 
 * @param characterSet
 *            The supported character encoding.
 * @return The optional matrix as a form.
 */
public Form getMatrixAsForm(CharacterSet characterSet) {
  return new Form(getMatrix(), characterSet, ';');
}

代码示例来源:origin: org.restlet.osgi/org.restlet

/**
 * Returns the optional matrix as a form.
 * 
 * @return The optional matrix component as a form.
 */
public Form getMatrixAsForm() {
  return new Form(getMatrix(), ';');
}

代码示例来源:origin: DeviceConnect/DeviceConnect-Android

/**
 * Returns the optional matrix as a form submission.
 * 
 * @param characterSet
 *            The supported character encoding.
 * @return The optional matrix as a form.
 */
public Form getMatrixAsForm(CharacterSet characterSet) {
  return new Form(getMatrix(), characterSet, ';');
}

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

/**
 * Returns the optional matrix as a form.
 * 
 * @return The optional matrix component as a form.
 */
public Form getMatrixAsForm() {
  return new Form(getMatrix(), ';');
}

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

/**
 * Returns the optional matrix as a form submission.
 * 
 * @param characterSet
 *            The supported character encoding.
 * @return The optional matrix as a form.
 */
public Form getMatrixAsForm(CharacterSet characterSet) {
  return new Form(getMatrix(), characterSet, ';');
}

代码示例来源:origin: DeviceConnect/DeviceConnect-Android

/**
 * Returns the optional matrix as a form.
 * 
 * @return The optional matrix component as a form.
 */
public Form getMatrixAsForm() {
  return new Form(getMatrix(), ';');
}

相关文章

Reference类方法