|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.gauce.gaucelet.GenericGaucelet
ÀÏ¹Ý ¼ºí¸´ÀÇ ¼ºñ½º¸¦ GauceletÀ¸·Î º¯°æÇϱâ À§ÇØ Base°¡ µÇ´Â Ŭ·¡½ºÀÌ´Ù.
| Constructor Summary | |
GenericGaucelet()
|
|
| Method Summary | |
void |
changeRequestProtocol(int protocol)
Component¿¡¼ ¿äûµÇ´Â RequestÀÇ ProtocolÀ» º¯È¯ÇÑ´Ù. |
void |
changeResponseProtocol(int protocol)
Component·Î Àü¼ÛµÇ´Â ResponseÀÇ ProtocolÀ» º¯È¯ÇÑ´Ù. |
abstract void |
doGet(GauceRequest req,
GauceResponse res)
Get¹æ½ÄÀ¸·Î È£ÃâµÇ´Â Request¿¡ ´ëÇØ ¼ºñ½º ÇÑ´Ù. |
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
¼ºí·§ÀÇ get¹æ½ÄÀ» ó¸®ÇÏ´Â method. |
abstract void |
doPost(GauceRequest req,
GauceResponse res)
Post¹æ½ÄÀ¸·Î È£ÃâµÇ´Â Request¿¡ ´ëÇØ ¼ºñ½º ÇÑ´Ù. |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
¼ºí·§ÀÇ post¹æ½ÄÀ» ó¸®ÇÏ´Â method. |
int |
getFirstRowSize()
ÇöÀç ¼ºñ½º¿¡¼ »ç¿ëÁßÀÎ first-rowÀÇ Å©±â¸¦ ¹ÝȯÇÑ´Ù. |
GauceContext |
getGauceContext()
ÇöÀç »ç¿ëÁßÀÎ GauceContext¸¦ ¹ÝȯÇÑ´Ù. |
void |
init(javax.servlet.ServletConfig config)
Called by the servlet container to indicate to a servlet that the servlet is being placed into service. |
abstract void |
init(java.lang.String domain)
GauceService¸¦ ÃʱâÈ ½ÃŲ´Ù. |
void |
setFirstRowSize(int firstRowSize)
ÇöÀç ¼ºñ½ºÀÇ first-row Å©±â¸¦ ¼³Á¤ÇÑ´Ù. |
| Methods inherited from class javax.servlet.http.HttpServlet |
service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GenericGaucelet()
| Method Detail |
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
This implementation stores the ServletConfig object it receives from the servlet container for later use. When overriding this form of the method, call super.init(config).
config - the ServletConfig object that contains configutation information
for this servlet
javax.servlet.ServletException - if an exception occurs that interrupts the servlet's
normal operation
public abstract void init(java.lang.String domain)
throws GauceletException
¿©±â¼ domainÀº gauceÀÌ´Ù.
domain - ÇöÀç ¼ºñ½º°¡ »ç¿ëÁßÀÎ domain
GauceletException - ÃʱâÈ ÇÏ´Â µ¿¾È ¹ß»ýÇÏ´Â ¿À·ù
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.io.IOException,
javax.servlet.ServletException
ÀÌ method¿¡¼ GauceÀÇ GET¹æ½Ä°ú POST¹æ½ÄÀ» dispatcherÇÑ´Ù.
req - ServletRequestres - ServletResponse
java.io.IOException - IO StreamÀ» HandlingÇÏ¸é¼ ¹ß»ýÇÏ´Â ¿À·ù
javax.servlet.ServletException - Servlet ¶Ç´Â Gaucelet¿¡¼ ¹ß»ýÇÏ´Â ¿À·ù
public void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.io.IOException,
javax.servlet.ServletException
ÀÌ method¿¡¼ doGet method¸¦ È£ÃâÇÑ´Ù.
req - ServletRequestres - ServletResponse
java.io.IOException - IO StreamÀ» HandlingÇÏ¸é¼ ¹ß»ýÇÏ´Â ¿À·ù
javax.servlet.ServletException - Servlet ¶Ç´Â Gaucelet¿¡¼ ¹ß»ýÇÏ´Â ¿À·ùpublic void changeRequestProtocol(int protocol)
protocol - º¯°æÇÒ Protocolpublic void changeResponseProtocol(int protocol)
protocol - º¯°æÇÒ Protocolpublic void setFirstRowSize(int firstRowSize)
¼³Á¤µÈ °ªÀº ÇöÀ缺ñ½ºÀÇ ¸ðµç ºÎºÐ¿¡ Àû¿ëÀÌ µÇ¸ç ¼³Á¤ÇÏÁö ¾ÊÀ¸¸é GauceContextÀÇ Default°ªÀ» »ç¿ëÇÑ´Ù.
firstRowSize - ¼³Á¤ÇÒ first-row ÀÇ Å©±âpublic int getFirstRowSize()
public GauceContext getGauceContext()
public abstract void doGet(GauceRequest req,
GauceResponse res)
throws GauceletException,
java.io.IOException
req - GauceRequestres - GauceResponse
GauceletException - Gauce ServiceÇϴµ¿¾È ¹ß»ýÇÏ´Â ¿À·ù
java.io.IOException - Component¿¡¼ ¿äûµÇ´Â Request¸¦ ó¸®ÇÏ¸é¼ ¹ß»ýÇÏ´Â ¿À·ù
public abstract void doPost(GauceRequest req,
GauceResponse res)
throws GauceletException,
java.io.IOException
req - GauceRequestres - GauceResponse
GauceletException - Gauce ServiceÇϴµ¿¾È ¹ß»ýÇÏ´Â ¿À·ù
java.io.IOException - Component¿¡¼ ¿äûµÇ´Â Request¸¦ ó¸®ÇÏ¸é¼ ¹ß»ýÇÏ´Â ¿À·ù
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||