1 28 29 package com.caucho.widget; 30 31 import java.io.IOException; 32 33 public class AbstractWidgetInterceptor 34 implements WidgetInterceptor 35 { 36 public void invocation(WidgetInvocation invocation, 37 WidgetInterceptorChain next) 38 throws WidgetException 39 { 40 next.invocation(invocation); 41 } 42 43 public void request(WidgetRequest request, WidgetInterceptorChain next) 44 throws WidgetException 45 { 46 next.request(request); 47 } 48 49 public void response(WidgetResponse response, WidgetInterceptorChain next) 50 throws WidgetException, IOException 51 { 52 next.response(response); 53 } 54 55 public void url(WidgetURL url, WidgetInterceptorChain next) 56 throws WidgetException 57 { 58 next.url(url); 59 } 60 61 public void destroy(WidgetDestroy destroy, WidgetInterceptorChain next) 62 { 63 next.destroy(destroy); 64 } 65 } 66 | Popular Tags |