All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.exparity.io.internet.HttpPost Maven / Gradle / Ivy

The newest version!
/*
 * 
 */

package org.exparity.io.internet;

import java.io.IOException;
import java.net.URL;

/**
 * @author Stewart Bissett
 */
class HttpPost extends HttpCommand {

    HttpPost(final String file) {
        super(file);
    }

    @Override
    protected URL setUpURL(final String file, final String query) throws IOException {
        return new URL(file);
    }

    @Override
    protected String getRequestMethod() {
        return "POST";
    }

    @Override
    protected boolean isUploadingData() {
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy