本文整理了Java中org.apache.catalina.connector.Request.setConnector
方法的一些代码示例,展示了Request.setConnector
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.setConnector
方法的具体详情如下:
包路径:org.apache.catalina.connector.Request
类名称:Request
方法名:setConnector
[英]Set the Connector through which this Request was received.
[中]
代码示例来源:origin: org.glassfish.main.security/websecurity
public void setConnector(Connector connector) {
httpRequest.setConnector(connector);
}
代码示例来源:origin: tomcat/catalina
/**
* Create (or allocate) and return a Request object suitable for
* specifying the contents of a Request to the responsible Container.
*/
public Request createRequest() {
Request request = new Request();
request.setConnector(this);
return (request);
}
代码示例来源:origin: org.jboss.web/jbossweb
/**
* Create (or allocate) and return a Request object suitable for
* specifying the contents of a Request to the responsible Container.
*/
public Request createRequest() {
Request request = new Request();
request.setConnector(this);
return (request);
}
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
/**
* Create (or allocate) and return a Request object suitable for
* specifying the contents of a Request to the responsible Container.
*/
public Request createRequest() {
Request request = new Request();
request.setConnector(this);
return (request);
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* Create (or allocate) and return a Request object suitable for
* specifying the contents of a Request to the responsible Container.
*/
public Request createRequest() {
Request request = new Request();
request.setConnector(this);
return (request);
}
代码示例来源:origin: codefollower/Tomcat-Research
/**
* Create (or allocate) and return a Request object suitable for
* specifying the contents of a Request to the responsible Container.
*/
public Request createRequest() {
Request request = new Request();
request.setConnector(this);
return (request);
}
代码示例来源:origin: jboss.web/jbossweb
/**
* Create (or allocate) and return a Request object suitable for
* specifying the contents of a Request to the responsible Container.
*/
public Request createRequest() {
Request request = new Request();
request.setConnector(this);
return (request);
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* Create (or allocate) and return a Request object suitable for
* specifying the contents of a Request to the responsible Container.
*/
public Request createRequest() {
Request request = new Request();
request.setConnector(this);
return (request);
}
代码示例来源:origin: org.glassfish.main.web/web-core
/**
* Create (or allocate) and return a Request object suitable for
* specifying the contents of a Request to the responsible Container.
*/
@Override
public org.apache.catalina.Request createRequest() {
Request request = new Request();
request.setConnector(this);
return request;
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* Create (or allocate) and return a Request object suitable for
* specifying the contents of a Request to the responsible Container.
*/
public Request createRequest() {
Request request = new Request();
request.setConnector(this);
return (request);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
/**
* Create (or allocate) and return a Request object suitable for
* specifying the contents of a Request to the responsible Container.
*/
public Request createRequest() {
Request request = new Request();
request.setConnector(this);
return (request);
}
代码示例来源:origin: org.glassfish.web/web-glue
@Override
public void onParsingError(com.sun.grizzly.tcp.Response response) {
Response res = new Response();
res.setCoyoteResponse(response);
WebConnector connector = webContainer.getConnectorMap().get(listener.getName());
if (connector != null) {
Request req = new Request();
req.setCoyoteRequest(response.getRequest());
req.setConnector(connector);
try {
accessLogValve.postInvoke(req, res);
} catch (IOException ex) {
_logger.log(Level.SEVERE, "pewebcontainer.accesslog.reconfigure", ex);
}
} else {
_logger.log(Level.SEVERE, "pewebcontainer.accesslog.reconfigure");
}
}
});
内容来源于网络,如有侵权,请联系作者删除!