本文整理了Java中org.glassfish.grizzly.http.server.Request.setNote
方法的一些代码示例,展示了Request.setNote
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.setNote
方法的具体详情如下:
包路径:org.glassfish.grizzly.http.server.Request
类名称:Request
方法名:setNote
[英]Bind the Note value to this Request, replacing any existing binding for this name. Use #createNote(java.lang.String) to create a new Note.
[中]将Note值绑定到此请求,替换此名称的任何现有绑定。使用#createNote(java.lang.String)创建新便笺。
代码示例来源:origin: org.glassfish.main.core/kernel
request.setNote(MAPPING_DATA, null);
if (mappingData == null) {
mappingData = new MappingData();
request.setNote(MAPPING_DATA, mappingData);
} else {
mappingData.recycle();
代码示例来源:origin: org.glassfish.main.core/kernel
if (localDecodedURI == null) {
localDecodedURI = DataChunk.newInstance();
req.setNote(DATA_CHUNK, localDecodedURI);
代码示例来源:origin: javaee/grizzly
servletResponse.initialize(response, servletRequest);
request.setNote(SERVLET_REQUEST_NOTE, servletRequest);
request.setNote(SERVLET_RESPONSE_NOTE, servletResponse);
代码示例来源:origin: javaee/grizzly
servletResponse.initialize(response, servletRequest);
request.setNote(SERVLET_REQUEST_NOTE, servletRequest);
request.setNote(SERVLET_RESPONSE_NOTE, servletResponse);
代码示例来源:origin: javaee/grizzly
servletResponse.initialize(response, servletRequest);
request.setNote(SERVLET_REQUEST_NOTE, servletRequest);
request.setNote(SERVLET_RESPONSE_NOTE, servletResponse);
代码示例来源:origin: javaee/grizzly
servletResponse.initialize(response, servletRequest);
request.setNote(SERVLET_REQUEST_NOTE, servletRequest);
request.setNote(SERVLET_RESPONSE_NOTE, servletResponse);
代码示例来源:origin: javaee/grizzly
servletResponse.initialize(response, servletRequest);
request.setNote(SERVLET_REQUEST_NOTE, servletRequest);
request.setNote(SERVLET_RESPONSE_NOTE, servletResponse);
代码示例来源:origin: org.glassfish.grizzly/grizzly-websockets-server
servletResponse.initialize(response, servletRequest);
request.setNote(SERVLET_REQUEST_NOTE, servletRequest);
request.setNote(SERVLET_RESPONSE_NOTE, servletResponse);
代码示例来源:origin: org.glassfish.main.web/web-core
req.setNote(CATALINA_REQUEST_NOTE, request);
req.setNote(CATALINA_RESPONSE_NOTE, response);
代码示例来源:origin: org.glassfish.main.web/web-core
if (localDecodedURI == null) {
localDecodedURI = DataChunk.newInstance();
req.setNote(DATA_CHUNK, localDecodedURI);
request.getMappingData());
MappingData md = request.getMappingData();
req.setNote(MAPPING_DATA, md);
request.updatePaths(md);
内容来源于网络,如有侵权,请联系作者删除!