docs: @Override
      public void putMedia(final AtomRequest areq) throws AtomException {
  
          LOG.debug("putMedia");
          final String[] pathInfo = StringUtils.split(areq.getPathInfo(), "/");
          final String handle = pathInfo[0];
          final String collection = pathInfo[1];
          final String fileName = pathInfo[3];
          final FileBasedCollection col = service.findCollectionByHandle(handle, collection);
          try {
              col.updateMediaEntry(fileName, areq.getContentType(), areq.getInputStream());
  
          } catch (final Exception re) {
              throw new AtomException("ERROR: posting media");
          }
      }