
org.swordapp.client.EmptyRequestEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sword2-client Show documentation
Show all versions of sword2-client Show documentation
Client library for interacting with servers offering SWORDv2 endpoints.
The newest version!
package org.swordapp.client;
import org.apache.commons.httpclient.methods.RequestEntity;
import java.io.IOException;
import java.io.OutputStream;
public class EmptyRequestEntity implements RequestEntity
{
public boolean isRepeatable()
{
return true;
}
public void writeRequest(OutputStream outputStream) throws IOException
{
// Does nothing
}
public long getContentLength()
{
return 0;
}
public String getContentType()
{
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy