org.gcube.common.ghn.client.proxy.interceptors
Class ScopeInjector
java.lang.Object
org.gcube.common.ghn.client.proxy.interceptors.ScopeInjector
- All Implemented Interfaces:
- CallInterceptor
public class ScopeInjector
- extends Object
- implements CallInterceptor
Injects scope header in outgoing call.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScopeInjector
public ScopeInjector()
onCallBinding
public void onCallBinding(Map<String,Object> ctxt)
- Specified by:
onCallBinding in interface CallInterceptor
onRequest
public void onRequest(int callId,
Map<String,Object> ctx,
org.jboss.netty.handler.codec.http.HttpRequest request)
- Specified by:
onRequest in interface CallInterceptor
onResponse
public void onResponse(int callId,
Map<String,Object> ctxt,
org.jboss.netty.handler.codec.http.HttpResponse request)
throws Exception
- Specified by:
onResponse in interface CallInterceptor
- Throws:
Exception
Copyright © 2012. All Rights Reserved.