code: static DeploymentContent of(final URL url) {
          return new DeploymentContent() {
              @Override
              void addContentToOperation(final OperationBuilder builder, final ModelNode op) {
                  final ModelNode contentNode = op.get(CONTENT);
                  final ModelNode contentItem = contentNode.get(0);
                  contentItem.get("url").set(url.toExternalForm());
              }
  
              @Override
              String resolvedName() {
                  final String path = url.getPath();
                  final int index = path.lastIndexOf('/');
                  if (index >= 0) {
                      return path.substring(index + 1);
                  }
                  return path;
              }
  
              @Override
              public String toString() {
                  return String.format("%s(%s)", DeploymentContent.class.getName(), url.toExternalForm());
              }
          };
      }
docs: Creates new deployment content based on the {@linkplain URL URL}. The server will require access to the URL.
  
  @param url the URL of the content to deploy
  
  @return the deployment content