Package com.sun.jersey.spi.monitoring

Examples of com.sun.jersey.spi.monitoring.RequestListener


    private final static EmptyListener EMPTY_LISTENER = new EmptyListener();

    public static RequestListener createRequestListener(ProviderServices providerServices) {

        final Set<RequestListener> listeners = providerServices.getProvidersAndServices(RequestListener.class);
        RequestListener requestListener = listeners.isEmpty() ? EMPTY_LISTENER : new AggregatedRequestListener(listeners);

        for(RequestListenerAdapter a : providerServices.getProvidersAndServices(RequestListenerAdapter.class)) {
            requestListener = a.adapt(requestListener);
        }
View Full Code Here

TOP

Related Classes of com.sun.jersey.spi.monitoring.RequestListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.