Examples of registerFilter()


Examples of com.liferay.httpservice.internal.servlet.BundleServletContext.registerFilter()

    throws Exception {

    BundleServletContext bundleServletContext = Mockito.verify(
      this.bundleServletContext, verificationMode);

    bundleServletContext.registerFilter(
      Mockito.anyString(), Mockito.anyString(), Mockito.eq(service),
      Mockito.anyMap(), Mockito.eq(httpContext));
  }

  @Override
View Full Code Here

Examples of com.sun.enterprise.admin.wsmgmt.filter.spi.FilterRegistry.registerFilter()

        _filter = new MessageFilter(_applicationId, _endpointId, this);
        FilterRegistry fr = FilterRegistry.getInstance();
        String endpoint = getFQEndpointName();

        // registers the filter
        fr.registerFilter(Filter.PROCESS_REQUEST, endpoint, _filter);
        fr.registerFilter(Filter.PROCESS_RESPONSE, endpoint, _filter);
        fr.registerFilter(Filter.POST_PROCESS_RESPONSE, endpoint, _filter);
    }

    /**
 
View Full Code Here

Examples of com.sun.enterprise.admin.wsmgmt.filter.spi.FilterRegistry.registerFilter()

        FilterRegistry fr = FilterRegistry.getInstance();
        String endpoint = getFQEndpointName();

        // registers the filter
        fr.registerFilter(Filter.PROCESS_REQUEST, endpoint, _filter);
        fr.registerFilter(Filter.PROCESS_RESPONSE, endpoint, _filter);
        fr.registerFilter(Filter.POST_PROCESS_RESPONSE, endpoint, _filter);
    }

    /**
     * Sets the number of messages stored in memory for this endpoint.
View Full Code Here

Examples of com.sun.enterprise.admin.wsmgmt.filter.spi.FilterRegistry.registerFilter()

        String endpoint = getFQEndpointName();

        // registers the filter
        fr.registerFilter(Filter.PROCESS_REQUEST, endpoint, _filter);
        fr.registerFilter(Filter.PROCESS_RESPONSE, endpoint, _filter);
        fr.registerFilter(Filter.POST_PROCESS_RESPONSE, endpoint, _filter);
    }

    /**
     * Sets the number of messages stored in memory for this endpoint.
     * This method is called to dynamically reconfigure the size.
View Full Code Here

Examples of com.sun.enterprise.admin.wsmgmt.filter.spi.FilterRegistry.registerFilter()

        _filter = new TransformFilter(_applicationId, wsc);
        FilterRegistry fr = FilterRegistry.getInstance();
        String endpoint = getFQEndpointName();

        // registers the filter
        fr.registerFilter(Filter.PROCESS_REQUEST, endpoint, _filter);
        fr.registerFilter(Filter.PROCESS_RESPONSE, endpoint, _filter);
        return _filter;
    }

    /**
 
View Full Code Here

Examples of com.sun.enterprise.admin.wsmgmt.filter.spi.FilterRegistry.registerFilter()

        FilterRegistry fr = FilterRegistry.getInstance();
        String endpoint = getFQEndpointName();

        // registers the filter
        fr.registerFilter(Filter.PROCESS_REQUEST, endpoint, _filter);
        fr.registerFilter(Filter.PROCESS_RESPONSE, endpoint, _filter);
        return _filter;
    }

    /**
     * Registers a filter with the filter manager for this endpoint.
View Full Code Here

Examples of com.sun.enterprise.admin.wsmgmt.filter.spi.FilterRegistry.registerFilter()

        _filter = new TransformFilter(_applicationId, _endpointId);
        FilterRegistry fr = FilterRegistry.getInstance();
        String endpoint = getFQEndpointName();

        // registers the filter
        fr.registerFilter(Filter.PROCESS_REQUEST, endpoint, _filter);
        fr.registerFilter(Filter.PROCESS_RESPONSE, endpoint, _filter);
    }

    /**
     * Disables transformation for the endpoint and deregisters the filters.
View Full Code Here

Examples of com.sun.enterprise.admin.wsmgmt.filter.spi.FilterRegistry.registerFilter()

        FilterRegistry fr = FilterRegistry.getInstance();
        String endpoint = getFQEndpointName();

        // registers the filter
        fr.registerFilter(Filter.PROCESS_REQUEST, endpoint, _filter);
        fr.registerFilter(Filter.PROCESS_RESPONSE, endpoint, _filter);
    }

    /**
     * Disables transformation for the endpoint and deregisters the filters.
     */
 
View Full Code Here

Examples of com.sun.enterprise.admin.wsmgmt.transform.TransformHandler.registerFilter()

                    nwsc = new WebServiceConfigImpl(
                        (WebServiceEndpoint) newBean.parent());
                }
                if ( tf == null) {
                    // create new filter to handle transformation
                    tf = (TransformFilter) trh.registerFilter(wsc);
                } else {
                    if ( isRemove) {
                        String applyTo = tr.getApplyTo();
                        if ( applyTo.equals(Constants.BOTH) ||
                            applyTo.equals(Constants.REQUEST)) {
View Full Code Here

Examples of org.apache.felix.http.api.ExtHttpService.registerFilter()

        if (service != null)
        {
            SslFilter filter = new SslFilter();
            try
            {
                service.registerFilter(filter, ".*", new Hashtable(), 0, null);

                this.filters.putIfAbsent(reference, filter);

                SystemLogger.log(LogService.LOG_DEBUG, "SSL filter registered...");
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.