code: private UploadRequestProcessor getUploadRequestProcessor(TransferContext transferContext) {
          LOGGER.entering(transferContext);
          String contentType = transferContext.getHttpServletRequest().getContentType() != null ? transferContext
                  .getHttpServletRequest().getContentType().toLowerCase() : "unknown";
          if (contentType.contains(AbstractUploadRequestProcessor.MULTIPART_CONTENT_TYPE)) {
  
              // Return a Multipart request processor
              UploadRequestProcessor uploadRequestProcessor = new MultipartUploadRequestProcessor(
                      transferContext);
              LOGGER.exiting(uploadRequestProcessor);
              return uploadRequestProcessor;
          }
          if (contentType.contains(AbstractUploadRequestProcessor.APPLICATION_URLENCODED_CONTENT_TYPE)) {
  
              // Return normal Urlencoded request processor
              UploadRequestProcessor uploadRequestProcessor = new ApplicationUploadRequestProcessor(
                      transferContext);
              LOGGER.exiting(uploadRequestProcessor);
              return uploadRequestProcessor;
          }
          throw new ArtifactUploadException("Content-Type should be either: "
                  + AbstractUploadRequestProcessor.MULTIPART_CONTENT_TYPE + " or: "
                  + AbstractUploadRequestProcessor.APPLICATION_URLENCODED_CONTENT_TYPE + " for file uploads");
      }
docs: Returns a {@link AbstractUploadRequestProcessor} for {@link DefaultManagedArtifact}
  
  @param transferContext
  Instance of {@link TransferContext}
  @return Instance of {@link UploadRequestProcessor}.