net.plsar.RouteResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plsar Show documentation
Show all versions of plsar Show documentation
PLSA.R is an Open Source Java Server + API for high demand, low latency requirements. There are no static references, no file reads, access to static fields per request. Everything is either cached and or instantiated on the fly. PLSA.R runs via one command so there are no .war files to deploy, no additional plugins to install it is a simple yet powerful alternative to container deployment environments. PLSA.R even boasts a little dependency injection for data logic. www.plsar.net
The newest version!
package net.plsar;
import java.util.Map;
public class RouteResult {
Boolean completeRequest;
byte[] responseBytes;
String contentType;
String responseCode;
Map redirectAttributes;
public Boolean getCompleteRequest() {
return completeRequest;
}
public void setCompleteRequest(Boolean completeRequest) {
this.completeRequest = completeRequest;
}
public byte[] getResponseBytes() {
return responseBytes;
}
public void setResponseBytes(byte[] responseBytes) {
this.responseBytes = responseBytes;
}
public String getContentType() {
return contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
public String getResponseCode() {
return responseCode;
}
public void setResponseCode(String responseCode) {
this.responseCode = responseCode;
}
public Map getRedirectAttributes() {
return redirectAttributes;
}
public void setRedirectAttributes(Map redirectAttributes) {
this.redirectAttributes = redirectAttributes;
}
public RouteResult(Boolean completeRequest) {
this.completeRequest = completeRequest;
}
public RouteResult(Map redirectAttributes) {
this.redirectAttributes = redirectAttributes;
}
public RouteResult(byte[] responseBytes, String responseCode, String contentType) {
this.responseBytes = responseBytes;
this.responseCode = responseCode;
this.contentType = contentType;
}
public RouteResult() { }
}