org.apache.synapse.transport.passthru.util

## Class TargetRequestFactory

- java.lang.Object
- - org.apache.synapse.transport.passthru.util.TargetRequestFactory

-     public class TargetRequestFactory
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TargetRequestFactory()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static TargetRequest` | `create(org.apache.axis2.context.MessageContext msgContext, org.apache.http.conn.routing.HttpRoute route, TargetConfiguration configuration)`
    `static boolean` | `isMultipartContent(String contentType)` Check whether the content type is multipart or not

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

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

- - ### Constructor Detail

    - #### TargetRequestFactory

          public TargetRequestFactory()

  - ### Method Detail

    - #### create

          public static TargetRequest create(org.apache.axis2.context.MessageContext msgContext,
                                             org.apache.http.conn.routing.HttpRoute route,
                                             TargetConfiguration configuration)
                                      throws org.apache.axis2.AxisFault

      Throws:
        `org.apache.axis2.AxisFault`

    - #### isMultipartContent

          public static boolean isMultipartContent(String contentType)

      Check whether the content type is multipart or not
      Parameters:
        `contentType` -
      Returns:
        true for multipart content types

Copyright © 2005–2019 Apache Software Foundation. All rights reserved.