当前位置: 首页>>代码示例>>Java>>正文


Java Request类代码示例

本文整理汇总了Java中com.allaire.cfx.Request的典型用法代码示例。如果您正苦于以下问题:Java Request类的具体用法?Java Request怎么用?Java Request使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Request类属于com.allaire.cfx包,在下文中一共展示了Request类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: processRequest

import com.allaire.cfx.Request; //导入依赖的package包/类
/**
 * @see com.allaire.cfx.CustomTag#processRequest(com.allaire.cfx.Request, com.allaire.cfx.Response)
 */
public void processRequest(Request request, Response response) throws Exception {
    
    if(request.attributeExists("name"))
        response.write("hello "+request.getAttribute("name"));
    else
        response.write("hello");
}
 
开发者ID:lucee,项目名称:Lucee4,代码行数:11,代码来源:HelloWorld.java

示例2: processRequest

import com.allaire.cfx.Request; //导入依赖的package包/类
/**
 * @see com.allaire.cfx.CustomTag#processRequest(com.allaire.cfx.Request,
 *      com.allaire.cfx.Response)
 */
@Override
public void processRequest(final Request request, final Response response)
		throws Exception {

	if (request.attributeExists("name"))
		response.write("hello " + request.getAttribute("name"));
	else
		response.write("hello");
}
 
开发者ID:lucee,项目名称:Lucee,代码行数:14,代码来源:HelloWorld.java

示例3: processRequest

import com.allaire.cfx.Request; //导入依赖的package包/类
public void processRequest(Request request, Response response) throws Exception {
	
	processRequest.invoke(null, new Object[]{serverLibrary, procedure, request, response, keepAlive});
	//CFXNativeLib.processRequest(serverLibrary, procedure, request, response, keepAlive);
}
 
开发者ID:lucee,项目名称:Lucee4,代码行数:6,代码来源:CPPCustomTag.java

示例4: processRequest

import com.allaire.cfx.Request; //导入依赖的package包/类
@Override
public void processRequest(Request request, Response response) throws Exception {
	
	processRequest.invoke(null, new Object[]{serverLibrary, procedure, request, response, keepAlive});
	//CFXNativeLib.processRequest(serverLibrary, procedure, request, response, keepAlive);
}
 
开发者ID:lucee,项目名称:Lucee,代码行数:7,代码来源:CPPCustomTag.java

示例5: processRequest

import com.allaire.cfx.Request; //导入依赖的package包/类
public void processRequest( Request request, Response response ) 		
   throws Exception
{
   String strName = request.getAttribute( "NAME" ) ;
   response.write( "Hello, " + strName ) ;
}
 
开发者ID:OpenBD,项目名称:openbd-core,代码行数:7,代码来源:HelloColdFusion.java

示例6: processRequest

import com.allaire.cfx.Request; //导入依赖的package包/类
public void processRequest(Request request, Response response) throws Exception {
	response.write("<h3>Hello! Welcome to BlueDragon from a Java CFX tag.</h3>");
}
 
开发者ID:OpenBD,项目名称:openbd-core,代码行数:4,代码来源:BlueDragonHello.java


注:本文中的com.allaire.cfx.Request类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。