Class HttpListenerUtils

java.lang.Object
org.mule.module.soapkit.internal.util.HttpListenerUtils

public class HttpListenerUtils extends Object
  • Method Details

    • getUriFromFlow

      public static URI getUriFromFlow(org.mule.runtime.api.component.Component source)
      Extracts the configured HTTP URI from a flow. It only works for flows that uses the HTTP extension.
      Parameters:
      source - where to extract the URI
      Returns:
      the URI
    • getContentTypeWithCharset

      public static org.mule.runtime.api.metadata.MediaType getContentTypeWithCharset(Map<String,String> headers, String keyName)