|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttle.framework.component.impl.ComponentBase
tle.framework.component.impl.ra.DefaultRequestAnalyzer
public class DefaultRequestAnalyzer
¸í·É¾î ID´Â ¿äû URI·ÎºÎÅÍ ÃßÃâÇÑ´Ù.
¾÷·ÎµåÇÑ ÆÄÀÏÀÇ °æ¿ì´Â Jakarta-CommonsÀÇ FileUpload API¸¦ »ç¿ëÇØ¼ ó¸®ÇÑ´Ù.
TLEFrameworkÀÇ Ãʱ⠼³Á¤ ÆÄÀÏÀÇ "configFile" ÃʱâÈ ÆÄ¶ó¹ÌÅÍ·Î ¸í½ÃÇÑ ÆÄÀϷκÎÅÍ Ãʱ⠼³Á¤ Á¤º¸¸¦ Àоî¿Â´Ù. ¸¸¾à "configFile" ÃʱâÈ ÇÁ·ÎÆÛƼ¸¦ ¸í½ÃÇÏÁö ¾Ê¾ÒÀ» °æ¿ì¿¡´Â »ç¿ëÀÚ È¨ µð·ºÅ丮ÀÇ "DefaultRequestAnalyzer.properties" ÆÄÀÏÀ» »ç¿ëÇÑ´Ù.
Ãʱ⠼³Á¤ ÆÄÀÏÀÌ Á¸ÀçÇÏÁö ¾ÊÀ» °æ¿ì ÃʱⰪÀ» ´ÙÀ½°ú °°ÀÌ ¼³Á¤ÇÑ´Ù.
| Field Summary |
|---|
| Fields inherited from class tle.framework.component.impl.ComponentBase |
|---|
componentState, config |
| Constructor Summary | |
|---|---|
DefaultRequestAnalyzer()
|
|
| Method Summary | |
|---|---|
RequestInfo |
analyzeRequest(HttpServletRequest request,
HttpServletResponse response)
Jakarta Commons FileUpload APIÀÇ FileUpload.isMultipartContent(request)¸¦ ½ÇÇàÇÏ¿© ÀÎÄÚµù ŸÀÔÀÌ multipart/form-data À̸é FileUpload API¸¦ ÅëÇØ¼ RequestInfo ÀνºÅϽº¸¦ »ý¼ºÇÑ´Ù. |
java.lang.String |
getEncoding()
¾÷·Îµå µ¥ÀÌÅÍÀÇ ÀÎÄÚµùÀ» ±¸ÇÑ´Ù. |
long |
getMax()
¾÷·Îµå ÆÄÀÏÀÇ ÃÖ´ë Å©±â¸¦ ±¸ÇÑ´Ù. |
java.lang.String |
getTempDir()
DefaultRequestAnalyzer°¡ »ç¿ëÇÏ´Â Àӽà Æú´õ¸¦ ±¸ÇÑ´Ù. |
protected void |
initing(ComponentConfig config)
DefaultRequestAnalyzer°¡ ÇÊ¿ä·Î ÇÏ´Â Á¤º¸¸¦ Ãʱ⠼³Á¤ Á¤º¸·ÎºÎÅÍ ±¸ÇÑ´Ù. |
void |
setEncoding(java.lang.String encoding)
¾÷·Îµå µ¥ÀÌÅÍÀÇ ÀÎÄÚµùÀ» ÁöÁ¤ÇÑ´Ù. |
void |
setMax(long max)
¾÷·Îµå ÆÄÀÏÀÇ ÃÖ´ë Å©±â¸¦ ÁöÁ¤ÇÑ´Ù. |
void |
setTempDir(java.lang.String tempDir)
DefaultRequestAnalyzer°¡ »ç¿ëÇÏ´Â Àӽà Æú´õ¸¦ ÁöÁ¤ÇÑ´Ù. |
| Methods inherited from class tle.framework.component.impl.ComponentBase |
|---|
close, closing, getDescription, getID, getState, init, isClosed, isClosing, isCreated, isErrorOccured, isInited, isIniting, isResuming, isRunning, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, resuming, start, starting, stop, stopping, suspend, suspending |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface tle.framework.component.Component |
|---|
close, getID, init, isClosed, isClosing, isCreated, isErrorOccured, isInited, isIniting, isResuming, isRunning, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, start, stop, suspend |
| Methods inherited from interface tle.framework.component.ComponentMBean |
|---|
getDescription, getID, getState |
| Constructor Detail |
|---|
public DefaultRequestAnalyzer()
| Method Detail |
|---|
protected void initing(ComponentConfig config)
throws ComponentException
initing in class ComponentBaseconfig - ÄÄÆ÷³ÍÆ® ÃʱâÈ ¼³Á¤ Á¤º¸¸¦ ´ã°í ÀÖ´Â °´Ã¼
ComponentExceptionComponentBase.initing(tle.framework.component.ComponentConfig)
public RequestInfo analyzeRequest(HttpServletRequest request,
HttpServletResponse response)
throws RequestAnalyzerException
ÄÜÅØ½ºÆ® ºÎºÐÀÇ °æ·Î¸¦ Á¦¿ÜÇÑ ³ª¸ÓÁö ºÎºÐÀ» ¸í·É¾î ID·Î »ç¿ëÇÑ´Ù.
analyzeRequest in interface RequestAnalyzerrequest - HTTP ¿äû
RequestAnalyzerException - ¿äû ºÐ¼®¿¡ ¹®Á¦°¡ ÀÖÀ» °æ¿ì¿¡ ¹ß»ýÇÑ´Ù.tle.framework.component.spi.ra.RequestAnalyzer#analyzeRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)public java.lang.String getTempDir()
DefaultRequestAnalyzerMBean
getTempDir in interface DefaultRequestAnalyzerMBeanpublic void setTempDir(java.lang.String tempDir)
DefaultRequestAnalyzerMBean
setTempDir in interface DefaultRequestAnalyzerMBeantempDir - Àӽà Æú´õÀÇ °æ·Îpublic long getMax()
DefaultRequestAnalyzerMBean
getMax in interface DefaultRequestAnalyzerMBeanpublic void setMax(long max)
DefaultRequestAnalyzerMBean
setMax in interface DefaultRequestAnalyzerMBeanpublic java.lang.String getEncoding()
DefaultRequestAnalyzerMBean
getEncoding in interface DefaultRequestAnalyzerMBeanpublic void setEncoding(java.lang.String encoding)
DefaultRequestAnalyzerMBean
setEncoding in interface DefaultRequestAnalyzerMBean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||