資源簡介
這個不是我的原創,原文件出至這里:http://d.download.csdn.net/detail/jimyx123/1533286#comment
原資源包含了,源代碼和API Doc,只是美中不足的是沒有整理成可用的zip文檔,我這特分離了一下,并重新打好包了,初步測試了一下能用。

代碼片段和文件信息
/*
?*?Copyright?2005?Joe?Walker
?*
?*?Licensed?under?the?Apache?License?Version?2.0?(the?“License“);
?*?you?may?not?use?this?file?except?in?compliance?with?the?License.
?*?You?may?obtain?a?copy?of?the?License?at
?*
?*?????http://www.apache.org/licenses/LICENSE-2.0
?*
?*?Unless?required?by?applicable?law?or?agreed?to?in?writing?software
?*?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
?*?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
?*?See?the?License?for?the?specific?language?governing?permissions?and
?*?limitations?under?the?License.
?*/
package?org.directwebremoting;
import?java.io.IOException;
import?java.lang.reflect.Method;
/**
?*?A?filter?is?a?way?to?insert?procesing?tasks?at?various?points?during?the
?*?processing?of?an?Ajax?call.
?*?Example?filters:
?*?
?*?- Authentication
?*?- Latency?simulators
?*?- Data?cleansing?-?remove?private?data
?*?- Logging?filters?-?when?you?need?specific?logging?action
?*?
?*?@since?DWR?2.0
?*?@author?Joe?Walker?[joe?at?getahead?dot?ltd?dot?uk]
?*/
public?interface?AjaxFilter
{
????/**
?????*?The?doFilter
?method?of?the?AjaxFilter?is?called?by?DWR?each
?????*?time?an?Ajax?request?is?made?on?a?method?that?this?filter?is?configured
?????*?against.?The?AjaxFilterChain?passed?in?to?this?method?allows
?????*?the?filter?to?pass?on?method?details?to?next?entity?in?the?chain.
?????*?Typically?the?method?would?do?the?following:
?????*?
?????*?- Examine?the?request
?????*?- Optionally?alter?the?method?ob
ject?or?parameters
?????*?- Either?invoke?the?next?entity?in?the?chain?using?the?AjaxFilterChain
?????*?or?decide?to?take?some?other?action?instead.
?????*?- Optionally?modify?the?value?returned?to?the?user
?????*?- Take?some?other?action?(e.g.?logging)
?????*?
?????*?@param?obj?The?object?to?execute?the?method?on?(i.e.?‘this‘)
?????*?@param?method?The?method?to?execute
?????*?@param?params?The?parameters?to?the?method?call
?????*?@param?chain?Allow?the?request?to?be?passed?on
?????*?@return?The?results?of?the?method?execution
?????*?@throws?IOException?When?some?I/O?error?occurs
?????*?@throws?Exception?When?some?processing?goes?wrong
?????*/
????public?object?doFilter(object?obj?Method?method?object[]?params?AjaxFilterChain?chain)?throws?Exception;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2009-07-31?01:36??java\
?????文件??????????85??2008-06-22?14:30??java\dwr-version.properties
?????目錄???????????0??2009-07-31?01:36??java\org\
?????目錄???????????0??2012-09-10?17:28??java\org\directwebremoting\
?????文件????????2391??2008-03-28?10:56??java\org\directwebremoting\AjaxFilter.java
?????文件????????1521??2008-03-28?10:56??java\org\directwebremoting\AjaxFilterChain.java
?????目錄???????????0??2009-07-31?01:36??java\org\directwebremoting\annotations\
?????文件???????12358??2008-03-28?10:56??java\org\directwebremoting\annotations\AnnotationsConfigurator.java
?????文件????????1252??2008-03-28?10:56??java\org\directwebremoting\annotations\Auth.java
?????文件????????1446??2008-03-28?10:56??java\org\directwebremoting\annotations\DataTransferob
?????文件????????1370??2008-03-28?10:56??java\org\directwebremoting\annotations\Filter.java
?????文件????????1277??2008-03-28?10:56??java\org\directwebremoting\annotations\Filters.java
?????文件????????1268??2008-03-28?10:56??java\org\directwebremoting\annotations\GlobalFilter.java
?????文件????????3459??2008-03-28?10:56??java\org\directwebremoting\annotations\package-info.java
?????文件????????1218??2008-03-28?10:56??java\org\directwebremoting\annotations\Param.java
?????文件????????1088??2008-03-28?10:56??java\org\directwebremoting\annotations\RemoteMethod.java
?????文件????????1353??2008-03-28?10:56??java\org\directwebremoting\annotations\RemoteProperty.java
?????文件????????1708??2008-03-28?10:56??java\org\directwebremoting\annotations\RemoteProxy.java
?????文件????????1771??2008-03-28?10:56??java\org\directwebremoting\annotations\sc
?????文件????????7936??2008-03-28?10:56??java\org\directwebremoting\auth.js
?????目錄???????????0??2009-07-31?01:36??java\org\directwebremoting\beehive\
?????文件????????4139??2008-03-28?10:56??java\org\directwebremoting\beehive\PageFlowCreator.java
?????文件????????1463??2008-03-28?10:56??java\org\directwebremoting\Container.java
?????目錄???????????0??2009-07-31?01:36??java\org\directwebremoting\contrib\
?????文件????????6032??2008-03-28?10:56??java\org\directwebremoting\contrib\ParallelDefaultRemoter.java
?????目錄???????????0??2009-07-31?01:36??java\org\directwebremoting\convert\
?????文件????????5450??2008-03-28?10:56??java\org\directwebremoting\convert\ArrayConverter.java
?????文件????????1222??2008-03-28?10:56??java\org\directwebremoting\convert\ba
?????文件???????14861??2008-03-28?10:56??java\org\directwebremoting\convert\Basicob
?????文件????????3643??2008-03-28?10:56??java\org\directwebremoting\convert\BeanConverter.java
?????文件????????2690??2008-03-28?10:56??java\org\directwebremoting\convert\BigNumberConverter.java
............此處省略291個文件信息
- 上一篇:ls-prepost 3.1
- 下一篇:mingw_reimp.exe
評論
共有 條評論