public URLConnection makeConnection(final Context context) throws IOException {
    """
	Build {@link URLConnection} instance, connect, write request.
	@param context context instance
	@return {@link URLConnection} instance, ready for {@link URLConnection#getInputStream()} call
	@throws IOException in case of I/O errors
    """
    ConverterFactory factory = CONVERTER_FACTORIES.get(operationType);
    if (factory == null) {
      throw new IllegalArgumentException("Don't know how to convert operation type " + operationType);
    }
    final BaseRequestDescriptionConverter converter = factory.createConverter(this, context);

    // create instance
    final URLConnection connection = converter.prepareConnectionInstance();
    // setup headers
    onURLConnectionPrepared(context, connection);
    // make a connection
    converter.connect(connection);
    // send data, if required
    converter.sendRequest(connection);

    return connection;
  }
public URLConnection makeConnection(final Context context) throws IOException {
    ConverterFactory factory = CONVERTER_FACTORIES.get(operationType);
    if (factory == null) {
      throw new IllegalArgumentException("Don't know how to convert operation type " + operationType);
    }
    final BaseRequestDescriptionConverter converter = factory.createConverter(this, context);

    // create instance
    final URLConnection connection = converter.prepareConnectionInstance();
    // setup headers
    onURLConnectionPrepared(context, connection);
    // make a connection
    converter.connect(connection);
    // send data, if required
    converter.sendRequest(connection);

    return connection;
  }
public URLConnection makeConnection ( final Context context ) throws IOException { ConverterFactory factory = CONVERTER_FACTORIES . get ( operationType ) ; if ( factory == null ) { throw new IllegalArgumentException ( "Don't know how to convert operation type " + operationType ) ; } final BaseRequestDescriptionConverter converter = factory . createConverter ( this , context ) ; // create instance
 final URLConnection connection = converter . prepareConnectionInstance ( ) ; // setup headers
 onURLConnectionPrepared ( context , connection ) ; // make a connection
 converter . connect ( connection ) ; // send data, if required
 converter . sendRequest ( connection ) ; return connection ; }
Build {@link URLConnection} instance, connect, write request.
@param context context instance
@return {@link URLConnection} instance, ready for {@link URLConnection#getInputStream()} call
@throws IOException in case of I/O errors
Build {