protected void fillXML(final Document document, final Element xmlRequest, final Request theRequest) { xmlRequest.setAttribute(XML_ATTR_METHOD, theRequest.getHttpMethod().toString()); theRequest.getContentType().ifPresent(c -> xmlRequest.setAttribute(XML_ATTR_CONTENT_TYPE, c)); theRequest.getServer().ifPresent(server -> xmlRequest.setAttribute(XML_ATTR_SERV_UID, server.getName())); xmlRequest.setAttribute(XML_ATTR_ACTION_TYPE, String.valueOf(getActionType())); theRequest.getPath().ifPresent(path -> xmlRequest.setAttribute(XML_ATTR_PATH, path)); theRequest.getExtractors().forEach(extractElem -> ExtractorWriter.of(extractElem).writeXML(document, xmlRequest)); writeValidationSection(theRequest, document, xmlRequest); writeParameters(theRequest, document, xmlRequest); theRequest.getHeaders().forEach(header -> HeaderWriter.writeXML(document, xmlRequest, header)); }
recordedFiles(recordedFilesOptional); httpMethod(instance.getHttpMethod()); addAllParameters(instance.getParameters()); Optional<String> contentTypeOptional = instance.getContentType();
recordedFiles(recordedFilesOptional); httpMethod(instance.getHttpMethod()); addAllParameters(instance.getParameters()); Optional<String> contentTypeOptional = instance.getContentType();
recordedFiles(recordedFilesOptional); httpMethod(instance.getHttpMethod()); addAllParameters(instance.getParameters()); Optional<String> contentTypeOptional = instance.getContentType();
recordedFiles(recordedFilesOptional); httpMethod(instance.getHttpMethod()); addAllParameters(instance.getParameters()); Optional<String> contentTypeOptional = instance.getContentType();
recordedFiles(recordedFilesOptional); httpMethod(instance.getHttpMethod()); addAllParameters(instance.getParameters()); Optional<String> contentTypeOptional = instance.getContentType();
recordedFiles(recordedFilesOptional); httpMethod(instance.getHttpMethod()); addAllParameters(instance.getParameters()); Optional<String> contentTypeOptional = instance.getContentType();
recordedFiles(recordedFilesOptional); httpMethod(instance.getHttpMethod()); addAllParameters(instance.getParameters()); Optional<String> contentTypeOptional = instance.getContentType();