com.clouway.friendlyserve.RsBadRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fserve Show documentation
Show all versions of fserve Show documentation
Friendly Serving HTTP Library.
package com.clouway.friendlyserve;
import java.net.HttpURLConnection;
/**
* @author Miroslav Genov ([email protected])
*/
public class RsBadRequest extends RsWrap {
public RsBadRequest() {
this(new RsEmpty());
}
public RsBadRequest(Response response) {
super(new RsWithStatus(HttpURLConnection.HTTP_BAD_REQUEST, response));
}
}