com.gauce.http
Interface GauceConnection


public interface GauceConnection

Ŭ¶óÀ̾ðÆ®¿¡¼­ ¿äûµÇ´Â HttpServletRequestÀÇ ÇÁ·ÎÆÛƼ¸¦ ÀÌ¿ëÇϱâ À§ÇØ °ªÀ» ¼³Á¤ÇÏ´Â ±â´ÉÀ» ÇÑ´Ù. ¿©±â¼­ ¼³Á¤µÈ °ªÀº HttpGauceRequest¿Í HttpGauceRequestÀ» ÅëÇؼ­ ÃßÃâÇÒ ¼ö ÀÖ´Ù. GauceConnection¸¦ »ç¿ëÇÏ´Â ¹æ¹ýÀº ´ÙÀ½ÀÇ »ùÇðú °°ÀÌ ÀÌ·ç¾îÁø´Ù.

 <%@ page 
 import="com.gauce.*,com.gauce.io.*,com.gauce.http.*"%><%
     GauceConnection conn = (GauceConnection)request.getAttribute("GauceConnection");
     GauceInputStream gis = conn.getHttpGauceRequest().getInputStream();
     GauceOutputStream gos = conn.getHttpGauceResponse().getGauceOutputStream();
     GauceDataSet dSet = new GauceDataSet();
     gos.fragment(dSet);
      ...
 

Since:
Gauce 4.0.1.2
Author:
Shift Information & Communication

Method Summary
 HttpGauceRequest getHttpGauceRequest()
          ÇöÀçÀÇ Request¿¡ ¼³Á¤µÈ HttpGauceRequest¸¦ ¹ÝȯÇÑ´Ù.
 HttpGauceResponse getHttpGauceResponse()
          ÇöÀçÀÇ Request¿¡ ¼³Á¤µÈ HttpGauceResponse¸¦ ¹ÝȯÇÑ´Ù.
 

Method Detail

getHttpGauceRequest

public HttpGauceRequest getHttpGauceRequest()
ÇöÀçÀÇ Request¿¡ ¼³Á¤µÈ HttpGauceRequest¸¦ ¹ÝȯÇÑ´Ù.

Returns:
ÇöÀçÀÇ Request¿¡ ¼³Á¤µÈ HttpGauceRequest
Since:
4.0.1.2

getHttpGauceResponse

public HttpGauceResponse getHttpGauceResponse()
ÇöÀçÀÇ Request¿¡ ¼³Á¤µÈ HttpGauceResponse¸¦ ¹ÝȯÇÑ´Ù.

Returns:
ÇöÀçÀÇ Request¿¡ ¼³Á¤µÈ HttpGauceResponse
Since:
4.0.1.2