org.apache.catalina.connector.Response.getMessage()方法的使用及代码示例

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

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

Response.getMessage介绍

[英]Return the error message that was set with sendError() for this Response.
[中]返回为此响应设置为sendError()的错误消息。

代码示例

代码示例来源:origin: org.glassfish.main.web/web-core

String getResponseMessage() {
  validateResponse();
  return response.getMessage();
}

代码示例来源:origin: com.springsource.insight/insight-collection-tcserver

String parseReasonPhrase(Response response) {
  String msg = response.getMessage(); 
  if (msg != null) {
    return msg;
  }
  return statusReasons.getString("sc." + response.getStatus());
}

代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina

String message = RequestUtil.filter(response.getMessage());
if (message == null) {
  message = "";

代码示例来源:origin: jboss.web/jbossweb

log.info("            header=" + rhnames[i] + "=" + rhvalues[j]);
log.info("           message=" + response.getMessage());
log.info("        remoteUser=" + request.getRemoteUser());
log.info("            status=" + response.getStatus());

代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9

return;
String message = RequestUtil.filter(response.getMessage());
if (message == null)
  message = "";

代码示例来源:origin: codefollower/Tomcat-Research

String message = RequestUtil.filter(response.getMessage());
if (message == null) {
  if (throwable != null) {

代码示例来源:origin: org.jboss.web/jbossweb

log.info("            header=" + rhnames[i] + "=" + rhvalues[j]);
log.info("           message=" + response.getMessage());
log.info("        remoteUser=" + request.getRemoteUser());
log.info("            status=" + response.getStatus());

代码示例来源:origin: fujitsu-pio/io

String message = RequestUtil.filter(response.getMessage());
if (message == null) {
  message = "";

代码示例来源:origin: com.tomitribe.tribestream/tribestream-container

String message = RequestUtil.filter(response.getMessage());
String report;
if (message == null) {

代码示例来源:origin: tomcat/catalina

new Integer(statusCode));
String message = RequestUtil.filter(response.getMessage());
if (message == null)
  message = "";

代码示例来源:origin: jboss.web/jbossweb

Integer.valueOf(statusCode));
String message = response.getMessage();
if (message == null)
  message = "";

代码示例来源:origin: org.jboss.web/jbossweb

Integer.valueOf(statusCode));
String message = response.getMessage();
if (message == null)
  message = "";

代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina

Integer.valueOf(statusCode));
String message = response.getMessage();
if (message == null)
  message = "";

代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9

Integer.valueOf(statusCode));
String message = response.getMessage();
if (message == null)
  message = "";

代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9

Integer.valueOf(statusCode));
String message = response.getMessage();
if (message == null)
  message = "";

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

Integer.valueOf(statusCode));
String message = response.getMessage();
if (message == null)
  message = "";

代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina

Integer.valueOf(statusCode));
String message = response.getMessage();
if (message == null)
  message = "";

代码示例来源:origin: codefollower/Tomcat-Research

Integer.valueOf(statusCode));
String message = response.getMessage();
if (message == null) {
  message = "";

代码示例来源:origin: org.apache.tomcat/tomcat-catalina

Integer.valueOf(statusCode));
String message = response.getMessage();
if (message == null) {
  message = "";

代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

Integer.valueOf(statusCode));
String message = response.getMessage();
if (message == null) {
  message = "";

相关文章

Response类方法