com.clouway.friendlyserve.RsWithStatus 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;
/**
* @author Miroslav Genov ([email protected])
*/
public class RsWithStatus extends RsWrap {
public RsWithStatus(final int statusCode, final Response source) {
super(new RsWrap(source) {
@Override
public Status status() {
return new Status(statusCode);
}
});
}
}