private void readDataFromDecoder() {
        try {
            while (decoder.hasNext()) {
                InterfaceHttpData data = decoder.next();
                if (data != null) {
                    switch (data.getHttpDataType()) {
                        case Attribute:
                            requestBody.attributes().add((Attribute) data);
                            break;
                        case FileUpload:
                            requestBody.files().add((FileUpload) data);
                            break;
                    }
                }
            }
        } catch (EndOfDataDecoderException e1) {
        }
    }