com.github.libgraviton.gdk.api.NoopResponse Maven / Gradle / Ivy
package com.github.libgraviton.gdk.api;
import com.github.libgraviton.gdk.api.header.HeaderBag;
/**
* Graviton response wrapper with additional functionality and simplified interface.
*
* @author List of contributors {@literal }
* @see http://swisscom.ch
* @version $Id: $Id
*/
public class NoopResponse extends Response {
public NoopResponse(NoopRequest request) {
this.request = request;
this.code = -1;
this.isSuccessful = true;
this.message = "This is not the response you are looking for";
this.body = null;
this.headers = new HeaderBag.Builder().build();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy