2626import org .springframework .integration .dsl .MessageHandlerSpec ;
2727import org .springframework .integration .ws .AbstractWebServiceOutboundGateway ;
2828import org .springframework .integration .ws .SoapHeaderMapper ;
29- import org .springframework .web .util .DefaultUriBuilderFactory . EncodingMode ;
29+ import org .springframework .web .util .DefaultUriBuilderFactory ;
3030import org .springframework .ws .WebServiceMessageFactory ;
3131import org .springframework .ws .client .core .FaultMessageResolver ;
3232import org .springframework .ws .client .core .WebServiceMessageCallback ;
@@ -53,37 +53,27 @@ public abstract class BaseWsOutboundGatewaySpec<
5353
5454 private final Map <String , Expression > uriVariableExpressions = new HashMap <>();
5555
56- @ Nullable
57- protected WebServiceTemplate template ; // NOSONAR
56+ protected @ Nullable WebServiceTemplate template ; // NOSONAR
5857
59- @ Nullable
60- protected DestinationProvider destinationProvider ; // NOSONAR
58+ protected @ Nullable DestinationProvider destinationProvider ; // NOSONAR
6159
62- @ Nullable
63- protected String uri ; // NOSONAR
60+ protected @ Nullable String uri ; // NOSONAR
6461
65- @ Nullable
66- protected WebServiceMessageFactory webServiceMessageFactory ; // NOSONAR
62+ protected @ Nullable WebServiceMessageFactory webServiceMessageFactory ; // NOSONAR
6763
68- @ Nullable
69- private SoapHeaderMapper headerMapper ;
64+ private @ Nullable SoapHeaderMapper headerMapper ;
7065
71- @ Nullable
72- private EncodingMode encodingMode ;
66+ private DefaultUriBuilderFactory .@ Nullable EncodingMode encodingMode ;
7367
7468 private boolean ignoreEmptyResponses = true ;
7569
76- @ Nullable
77- private WebServiceMessageCallback requestCallback ;
70+ private @ Nullable WebServiceMessageCallback requestCallback ;
7871
79- @ Nullable
80- protected FaultMessageResolver faultMessageResolver ; // NOSONAR
72+ protected @ Nullable FaultMessageResolver faultMessageResolver ; // NOSONAR
8173
82- @ SuppressWarnings ("NullAway.Init" )
83- protected WebServiceMessageSender [] messageSenders ; // NOSONAR
74+ protected WebServiceMessageSender @ Nullable [] messageSenders ; // NOSONAR
8475
85- @ SuppressWarnings ("NullAway.Init" )
86- protected ClientInterceptor [] gatewayInterceptors ; // NOSONAR
76+ protected ClientInterceptor @ Nullable [] gatewayInterceptors ; // NOSONAR
8777
8878 protected boolean extractPayload = true ; // NOSONAR
8979
@@ -129,11 +119,11 @@ public S uriVariableExpressions(Map<String, Expression> uriVariableExpressions)
129119 }
130120
131121 /**
132- * Specify a {@link EncodingMode} for uri construction.
122+ * Specify a {@link DefaultUriBuilderFactory. EncodingMode} for uri construction.
133123 * @param encodingMode to use for uri construction.
134124 * @return the spec
135125 */
136- public S encodingMode (EncodingMode encodingMode ) {
126+ public S encodingMode (DefaultUriBuilderFactory . EncodingMode encodingMode ) {
137127 this .encodingMode = encodingMode ;
138128 return _this ();
139129 }
0 commit comments