public void service(ServletRequest request, ServletResponse response) throws IOException, ServletException { try { _provider.invoke((HttpServletRequest) request, (HttpServletResponse) response); } catch (IOException e) { throw e; } catch (ServletException e) { throw e; } catch (RuntimeException e) { throw e; } catch (Throwable e) { throw new ServletException(e); } }
/** Sets the service class. */ public void setService(Object service) throws ConfigurationException { _provider = ProviderEncoding.createProviderEncoding(service); }