|
Oracle® Globalization Development Kit Java API Reference 10g Release 1(10.1) B10971-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--oracle.i18n.servlet.filter.ServletFilter
ServletFilter class instantiates the wrappers of HTTP request
and response objects for GDK, and pass them to the application.
The application requires to register this class in web.xml.
By incorporating the servlet filter mechanism, the locale and its attributes
are automatically registered before application execution.
To determine the current locale, call request.getLocale as usual.
To determine more localized contents, instantiate Localizer by
calling ServletHelper.getLocalizerInstance(HttpServletRequest)
to detail localized operations, such as Date formatting.
| Method Summary | |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
Executes the filter operation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.Filter |
destroy, init |
| Method Detail |
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
doFilter in interface javax.servlet.Filterrequest - the servlet request objectresponse - the servlet response objectchain - a filter chain object
RuntimeException - if IOException or
ServletException occurs
|
Oracle® Globalization Development Kit Java API Reference 10g Release 1(10.1) B10971-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||