Package 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
  Description
  `TargetRequestFactory()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### TargetRequestFactory

    public TargetRequestFactory()

- ## Method Details

  - ### 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