Repository: cxf Updated Branches: refs/heads/master 2fbedb176 -> 30cc8717a
Updating the interceptor name Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/30cc8717 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/30cc8717 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/30cc8717 Branch: refs/heads/master Commit: 30cc8717a36ea268be253bd391702d4dd7dc54ad Parents: 2fbedb1 Author: Sergey Beryozkin <sberyoz...@gmail.com> Authored: Mon Mar 27 17:21:00 2017 +0100 Committer: Sergey Beryozkin <sberyoz...@gmail.com> Committed: Mon Mar 27 17:21:00 2017 +0100 ---------------------------------------------------------------------- .../security/xml/ClientXmlEncInInterceptor.java | 36 ++++++++++++++++++++ .../security/xml/ClientXmlEncInterceptor.java | 36 -------------------- 2 files changed, 36 insertions(+), 36 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/30cc8717/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/xml/ClientXmlEncInInterceptor.java ---------------------------------------------------------------------- diff --git a/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/xml/ClientXmlEncInInterceptor.java b/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/xml/ClientXmlEncInInterceptor.java new file mode 100644 index 0000000..42761f1 --- /dev/null +++ b/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/xml/ClientXmlEncInInterceptor.java @@ -0,0 +1,36 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.cxf.rs.security.xml; + +import java.io.IOException; + +import javax.ws.rs.client.ClientRequestContext; +import javax.ws.rs.client.ClientResponseContext; +import javax.ws.rs.client.ClientResponseFilter; + +import org.apache.cxf.jaxrs.utils.JAXRSUtils; + +public class ClientXmlEncInInterceptor extends XmlEncInInterceptor implements ClientResponseFilter { + + @Override + public void filter(ClientRequestContext reqCtx, ClientResponseContext respCtx) throws IOException { + handleMessage(JAXRSUtils.getCurrentMessage()); + } + +} http://git-wip-us.apache.org/repos/asf/cxf/blob/30cc8717/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/xml/ClientXmlEncInterceptor.java ---------------------------------------------------------------------- diff --git a/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/xml/ClientXmlEncInterceptor.java b/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/xml/ClientXmlEncInterceptor.java deleted file mode 100644 index 1cfa36e..0000000 --- a/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/xml/ClientXmlEncInterceptor.java +++ /dev/null @@ -1,36 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.cxf.rs.security.xml; - -import java.io.IOException; - -import javax.ws.rs.client.ClientRequestContext; -import javax.ws.rs.client.ClientResponseContext; -import javax.ws.rs.client.ClientResponseFilter; - -import org.apache.cxf.jaxrs.utils.JAXRSUtils; - -public class ClientXmlEncInterceptor extends XmlEncInInterceptor implements ClientResponseFilter { - - @Override - public void filter(ClientRequestContext reqCtx, ClientResponseContext respCtx) throws IOException { - handleMessage(JAXRSUtils.getCurrentMessage()); - } - -}