com.ixync.http
Interface IXyncConnection


public interface IXyncConnection

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

 <%@ page 
 import="com.ixync.*,com.ixync.io.*,com.ixync.http.*"%><%
     IXyncConnection conn = (IXyncConnection)request.getAttribute("IXyncConnection");
     IXyncInputStream gis = conn.getHttpIXyncRequest().getInputStream();
     IXyncOutputStream gos = conn.getHttpIXyncResponse().getIXyncOutputStream();
     IXyncDataSet dSet = new IXyncDataSet();
     gos.fragment(dSet);
      ...
 

Since:
InnoXync 2.0
Author:
Shift Information & Communication

Method Summary
 HttpIXyncRequest getHttpIXyncRequest()
          ÇöÀçÀÇ Request¿¡ ¼³Á¤µÈ HttpIXyncRequest¸¦ ¹ÝȯÇÑ´Ù.
 HttpIXyncResponse getHttpIXyncResponse()
          ÇöÀçÀÇ Request¿¡ ¼³Á¤µÈ HttpIXyncResponse¸¦ ¹ÝȯÇÑ´Ù.
 

Method Detail

getHttpIXyncRequest

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

Returns:
ÇöÀçÀÇ Request¿¡ ¼³Á¤µÈ HttpIXyncRequest
Since:
InnoXync 2.0

getHttpIXyncResponse

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

Returns:
ÇöÀçÀÇ Request¿¡ ¼³Á¤µÈ HttpIXyncResponse
Since:
InnoXync 2.0