Interface HttpClient

All Superinterfaces:
org.mule.runtime.api.lifecycle.Startable, org.mule.runtime.api.lifecycle.Stoppable

@Experimental @NoImplement @MinMuleVersion("4.10.0") public interface HttpClient extends org.mule.runtime.api.lifecycle.Startable, org.mule.runtime.api.lifecycle.Stoppable
Object to send HTTP requests. Notice it must be started to be used and stopped to be disposed properly.
Since:
0.12.0
  • Field Summary

    Fields inherited from interface org.mule.runtime.api.lifecycle.Startable

    PHASE_NAME

    Fields inherited from interface org.mule.runtime.api.lifecycle.Stoppable

    PHASE_NAME
  • Method Summary

    Modifier and Type
    Method
    Description
    Sends an HttpRequest without blocking the current thread.
    Creates a consumer of Server-sent events.

    Methods inherited from interface org.mule.runtime.api.lifecycle.Startable

    start

    Methods inherited from interface org.mule.runtime.api.lifecycle.Stoppable

    stop