Java Code Examples for org.apache.cxf.phase.Phase#UNMARSHAL
The following examples show how to use
org.apache.cxf.phase.Phase#UNMARSHAL .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: XMLFaultInInterceptor.java From cxf with Apache License 2.0 | 4 votes |
public XMLFaultInInterceptor() { this(Phase.UNMARSHAL); }
Example 2
Source File: JsonpInInterceptor.java From cxf with Apache License 2.0 | 4 votes |
public JsonpInInterceptor() { this(Phase.UNMARSHAL); }
Example 3
Source File: HttpAuthenticationFaultHandler.java From cxf with Apache License 2.0 | 4 votes |
public HttpAuthenticationFaultHandler() { super(Phase.UNMARSHAL); this.authenticationType = "Basic"; this.realm = "CXF service"; }
Example 4
Source File: BasicAuthenticationInterceptor.java From dropwizard-jaxws with Apache License 2.0 | 4 votes |
public BasicAuthenticationInterceptor() { super(Phase.UNMARSHAL); }
Example 5
Source File: XmlSigInInterceptor.java From cxf with Apache License 2.0 | 4 votes |
public String getPhase() { return Phase.UNMARSHAL; }
Example 6
Source File: Soap11FaultInInterceptor.java From cxf with Apache License 2.0 | 4 votes |
public Soap11FaultInInterceptor() { super(Phase.UNMARSHAL); addBefore(ClientFaultConverter.class.getName()); }
Example 7
Source File: Soap12FaultInInterceptor.java From cxf with Apache License 2.0 | 4 votes |
public Soap12FaultInInterceptor() { super(Phase.UNMARSHAL); addBefore(ClientFaultConverter.class.getName()); }
Example 8
Source File: SoapHeaderInterceptor.java From cxf with Apache License 2.0 | 4 votes |
public SoapHeaderInterceptor() { super(Phase.UNMARSHAL); addAfter(BareInInterceptor.class.getName()); addAfter(RPCInInterceptor.class.getName()); addAfter(DocLiteralInInterceptor.class.getName()); }
Example 9
Source File: RPCInInterceptor.java From cxf with Apache License 2.0 | 4 votes |
public RPCInInterceptor() { super(Phase.UNMARSHAL); }
Example 10
Source File: JAXWSEnvironmentTest.java From dropwizard-jaxws with Apache License 2.0 | 4 votes |
@Test public void getClient() { String address = "http://address"; Handler handler = mock(Handler.class); // simple DummyInterface clientProxy = jaxwsEnvironment.getClient( new ClientBuilder<>(DummyInterface.class, address) ); assertThat(clientProxy, is(instanceOf(Proxy.class))); Client c = ClientProxy.getClient(clientProxy); assertThat(c.getEndpoint().getEndpointInfo().getAddress(), equalTo(address)); assertThat(c.getEndpoint().getService().get("endpoint.class").equals(DummyInterface.class), equalTo(true)); assertThat(((BindingProvider)clientProxy).getBinding() .getHandlerChain().size(), equalTo(0)); HTTPClientPolicy httpclient = ((HTTPConduit)c.getConduit()).getClient(); assertThat(httpclient.getConnectionTimeout(), equalTo(500L)); assertThat(httpclient.getReceiveTimeout(), equalTo(2000L)); // with timeouts, handlers, interceptors, properties and MTOM TestInterceptor inInterceptor = new TestInterceptor(Phase.UNMARSHAL); TestInterceptor inInterceptor2 = new TestInterceptor(Phase.PRE_INVOKE); TestInterceptor outInterceptor = new TestInterceptor(Phase.MARSHAL); clientProxy = jaxwsEnvironment.getClient( new ClientBuilder<>(DummyInterface.class, address) .connectTimeout(123) .receiveTimeout(456) .handlers(handler) .bindingId(SoapBindingFactory.SOAP_12_BINDING) .cxfInInterceptors(inInterceptor, inInterceptor2) .cxfOutInterceptors(outInterceptor) .enableMtom()); c = ClientProxy.getClient(clientProxy); assertThat(((BindingProvider) clientProxy).getBinding().getBindingID(), equalTo("http://www.w3.org/2003/05/soap/bindings/HTTP/")); assertThat(c.getEndpoint().getEndpointInfo().getAddress(), equalTo(address)); assertThat(c.getEndpoint().getService().get("endpoint.class").equals(DummyInterface.class), equalTo(true)); httpclient = ((HTTPConduit)c.getConduit()).getClient(); assertThat(httpclient.getConnectionTimeout(), equalTo(123L)); assertThat(httpclient.getReceiveTimeout(), equalTo(456L)); assertThat(((BindingProvider)clientProxy).getBinding().getHandlerChain(), contains(handler)); BindingProvider bp = (BindingProvider)clientProxy; SOAPBinding binding = (SOAPBinding)bp.getBinding(); assertThat(binding.isMTOMEnabled(), equalTo(true)); }
Example 11
Source File: AuthPolicyValidatingInterceptor.java From steady with Apache License 2.0 | 4 votes |
public AuthPolicyValidatingInterceptor() { this(Phase.UNMARSHAL); }
Example 12
Source File: CorbaStreamFaultInInterceptor.java From cxf with Apache License 2.0 | 4 votes |
public CorbaStreamFaultInInterceptor() { super(Phase.UNMARSHAL); addAfter(ClientFaultConverter.class.getName()); }
Example 13
Source File: DocLiteralInInterceptor.java From cxf with Apache License 2.0 | 4 votes |
public DocLiteralInInterceptor() { super(Phase.UNMARSHAL); }
Example 14
Source File: JAXRSInInterceptor.java From cxf with Apache License 2.0 | 4 votes |
public JAXRSInInterceptor() { super(Phase.UNMARSHAL); }
Example 15
Source File: AuthenticationHandler.java From geofence with GNU General Public License v2.0 | 4 votes |
public AuthenticationHandler() { super(Phase.UNMARSHAL); }
Example 16
Source File: GeofenceAuthenticationInterceptor.java From geofence with GNU General Public License v2.0 | 4 votes |
public GeofenceAuthenticationInterceptor() { super(Phase.UNMARSHAL); }
Example 17
Source File: BasicAuthInterceptor.java From geofence with GNU General Public License v2.0 | 4 votes |
public BasicAuthInterceptor() { super(Phase.UNMARSHAL); // addAfter(BareInInterceptor.class.getName()); // addAfter(RPCInInterceptor.class.getName()); // addAfter(DocLiteralInInterceptor.class.getName()); }
Example 18
Source File: JAASLoginInterceptor.java From cxf with Apache License 2.0 | 4 votes |
public JAASLoginInterceptor() { this(Phase.UNMARSHAL); }
Example 19
Source File: AuthPolicyValidatingInterceptor.java From steady with Apache License 2.0 | 4 votes |
public AuthPolicyValidatingInterceptor() { this(Phase.UNMARSHAL); }
Example 20
Source File: ProtobufMessageInInterceptor.java From fuchsia with Apache License 2.0 | 4 votes |
/** * */ public ProtobufMessageInInterceptor() { super(Phase.UNMARSHAL); }