All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.distributeme.test.list.ListInterceptor Maven / Gradle / Ivy

There is a newer version: 4.0.2
Show newest version
package org.distributeme.test.list;

import org.distributeme.core.ServerSideCallContext;
import org.distributeme.core.interceptor.AbstractServerSideRequestInterceptor;
import org.distributeme.core.interceptor.InterceptionContext;
import org.distributeme.core.interceptor.InterceptorResponse;

/**
 * TODO comment this class
 *
 * @author lrosenberg
 * @since 23.09.15 12:26
 */
public class ListInterceptor extends AbstractServerSideRequestInterceptor {
	@Override
	public InterceptorResponse beforeServantCall(ServerSideCallContext context, InterceptionContext iContext) {

		System.out.println("... Incoming call, context: "+context);
		System.out.println("... tcc: "+context.getTransportableCallContext());

		return super.beforeServantCall(context, iContext);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy