|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectauthentication.RequestWrappingFilter
Filtr, který příchozí HTTP požadavek "obalí" do instance třídy MyHttpRequest
.
S instancí třídy MyHttpRequest
pracuje mechanismus ověřování uživatele.
Constructor Summary | |
RequestWrappingFilter()
Vytvoří instanci. |
Method Summary | |
void |
destroy()
Metoda zavolaná při likvidaci filtru. |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
Metoda zajišťující filtraci. |
void |
init(FilterConfig config)
Metoda inicilaizuje filtr. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RequestWrappingFilter()
Method Detail |
public void destroy()
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws java.io.IOException, ServletException
request
- ServletRequest je příchozí HTTP požadavek.response
- ServletResponse je odchozí odpověď na požadavek.chain
- FilterChain je řetězec dalších filtrů.
java.io.IOException
ServletException
public void init(FilterConfig config) throws ServletException
config
- FilterConfig je objekt s informacemi o konfiguraci.
ServletException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |