本文整理了Java中org.springframework.http.HttpRequest.getMethodValue()
方法的一些代码示例,展示了HttpRequest.getMethodValue()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HttpRequest.getMethodValue()
方法的具体详情如下:
包路径:org.springframework.http.HttpRequest
类名称:HttpRequest
方法名:getMethodValue
[英]Return the HTTP method of the request as a String value.
[中]以字符串值的形式返回请求的HTTP方法。
代码示例来源:origin: spring-projects/spring-framework
/**
* Return the method value of the wrapped request.
*/
@Override
public String getMethodValue() {
return this.request.getMethodValue();
}
代码示例来源:origin: org.springframework/spring-web
/**
* Return the method value of the wrapped request.
*/
@Override
public String getMethodValue() {
return this.request.getMethodValue();
}
代码示例来源:origin: spring-projects/spring-framework
/**
* Return the HTTP method of the request.
* @return the HTTP method as an HttpMethod enum value, or {@code null}
* if not resolvable (e.g. in case of a non-standard HTTP method)
* @see #getMethodValue()
* @see HttpMethod#resolve(String)
*/
@Nullable
default HttpMethod getMethod() {
return HttpMethod.resolve(getMethodValue());
}
代码示例来源:origin: org.springframework/spring-web
/**
* Return the HTTP method of the request.
* @return the HTTP method as an HttpMethod enum value, or {@code null}
* if not resolvable (e.g. in case of a non-standard HTTP method)
* @see #getMethodValue()
* @see HttpMethod#resolve(String)
*/
@Nullable
default HttpMethod getMethod() {
return HttpMethod.resolve(getMethodValue());
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-web
/**
* Return the method value of the wrapped request.
*/
@Override
public String getMethodValue() {
return this.request.getMethodValue();
}
代码示例来源:origin: apache/servicemix-bundles
/**
* Return the method value of the wrapped request.
*/
@Override
public String getMethodValue() {
return this.request.getMethodValue();
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-web
/**
* Return the HTTP method of the request.
* @return the HTTP method as an HttpMethod enum value, or {@code null}
* if not resolvable (e.g. in case of a non-standard HTTP method)
* @see #getMethodValue()
* @see HttpMethod#resolve(String)
*/
@Nullable
default HttpMethod getMethod() {
return HttpMethod.resolve(getMethodValue());
}
代码示例来源:origin: apache/servicemix-bundles
/**
* Return the HTTP method of the request.
* @return the HTTP method as an HttpMethod enum value, or {@code null}
* if not resolvable (e.g. in case of a non-standard HTTP method)
* @see #getMethodValue()
* @see HttpMethod#resolve(String)
*/
@Nullable
default HttpMethod getMethod() {
return HttpMethod.resolve(getMethodValue());
}
内容来源于网络,如有侵权,请联系作者删除!