public interface IHttpRequestFilter
IListenerController.setHttpRequestFilter(IHttpRequestFilter).| Modifier and Type | Method and Description |
|---|---|
void |
postProcessRequest(java.lang.String[] source,
java.lang.String[] mailbox,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.io.File file)
Allows HTTP server requests to be post-processed after being processed by VLTrader.
|
java.lang.String |
postProcessRequest(java.lang.String[] source,
java.lang.String[] mailbox,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String responseContent)
Allows HTTP server requests to be post-processed after being processed by VLTrader.
|
boolean |
preProcessRequest(java.lang.String[] source,
java.lang.String[] mailbox,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Allows HTTP server requests to be pre-processed before the request is processed by VLTrader.
|
boolean preProcessRequest(java.lang.String[] source,
java.lang.String[] mailbox,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
source - alias path of the action or local listener that is receivingmailbox - alias path of the mailbox corresponding to the incoming requestrequest - the HTTP requestresponse - the HTTP responsejava.lang.Exceptionvoid postProcessRequest(java.lang.String[] source,
java.lang.String[] mailbox,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.io.File file)
throws java.lang.Exception
source - alias path of the HTTP local listener servicemailbox - alias path of the local user mailbox corresponding to the incoming requestrequest - the HTTP requestresponse - the HTTP responsefile - the file to be returned in the response by VLTraderjava.lang.Exceptionjava.lang.String postProcessRequest(java.lang.String[] source,
java.lang.String[] mailbox,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String responseContent)
throws java.lang.Exception
source - alias path of the HTTP local listener servicemailbox - alias path of the local user mailbox corresponding to the incoming requestrequest - the HTTP requestresponse - the HTTP responseresponseContent - the text to be returned in the response by VLTraderjava.lang.Exception