org.apache.synapse.transport.http.conn

## Class SynapseHTTPRequestFactory

- java.lang.Object
- - org.apache.synapse.transport.http.conn.SynapseHTTPRequestFactory

- All Implemented Interfaces:
    org.apache.http.HttpRequestFactory

      public class SynapseHTTPRequestFactory
      extends java.lang.Object
      implements org.apache.http.HttpRequestFactory

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `ENDPOINT_URL`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SynapseHTTPRequestFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.http.HttpRequest` | `newHttpRequest(org.apache.http.RequestLine requestline)`
    `org.apache.http.HttpRequest` | `newHttpRequest(java.lang.String method, java.lang.String uri)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### ENDPOINT_URL

          public static final java.lang.String ENDPOINT_URL

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### SynapseHTTPRequestFactory

          public SynapseHTTPRequestFactory()

  - ### Method Detail

    - #### newHttpRequest

          public org.apache.http.HttpRequest newHttpRequest(org.apache.http.RequestLine requestline)
                                                     throws org.apache.http.MethodNotSupportedException

      Specified by:
        `newHttpRequest` in interface `org.apache.http.HttpRequestFactory`
      Throws:
        `org.apache.http.MethodNotSupportedException`

    - #### newHttpRequest

          public org.apache.http.HttpRequest newHttpRequest(java.lang.String method,
                                                            java.lang.String uri)
                                                     throws org.apache.http.MethodNotSupportedException

      Specified by:
        `newHttpRequest` in interface `org.apache.http.HttpRequestFactory`
      Throws:
        `org.apache.http.MethodNotSupportedException`

Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.