private IWorkspace currentWorkspace;
private boolean isEnabled = true;
HttpInterceptor(IModel model) {
eventHandlerList = new ArrayList<IHttpInterceptorEventHandler>();
currentWorkspace = model.addWorkspaceListener(new IEventHandler() {
@Override
public void handleEvent(IEvent event) {
if(event instanceof WorkspaceOpenEvent) {
handleWorkspaceOpen((WorkspaceOpenEvent) event);
} else if(event instanceof WorkspaceCloseEvent) {