All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, MessageHandler

public class ProcessFrameworkHandler extends AbstractMessageHandler
Handler implementation that handles sbf:Framework header on the inbound SOAP envelope.
  • Field Details

    • DEFAULT_VERSION

      public static final String DEFAULT_VERSION
      Default Framework version.
      See Also:
    • log

      private org.slf4j.Logger log
      Logger.
    • expectedVersion

      private String expectedVersion
      The expected version value.
  • Constructor Details

    • ProcessFrameworkHandler

      public ProcessFrameworkHandler()
  • Method Details

    • getExpectedVersion

      @Nullable public String getExpectedVersion()
      Get the expected version value.

      Defaults to: DEFAULT_VERSION

      Returns:
      the expected version, or null
    • setExpectedVersion

      public void setExpectedVersion(@Nullable String version)
      Set the expected version value.

      Defaults to: DEFAULT_VERSION

      Parameters:
      version - the new version value
    • doInvoke

      protected void doInvoke(MessageContext messageContext) throws MessageHandlerException
      Specified by:
      doInvoke in class AbstractMessageHandler
      Throws:
      MessageHandlerException
    • getFramework

      protected org.openliberty.xmltooling.soapbinding.Framework getFramework(@Nonnull MessageContext messageContext)
      Get message Action header.
      Parameters:
      messageContext - the current message context
      Returns:
      the message Action header