public class RequestSize extends Object
| Constructor and Description |
|---|
RequestSize() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
Double |
getFitRatio()
Return how much the request has to be scaled to fit the max allowed size
|
String |
getMaxAllowedSize() |
Long |
getMaxAllowedSizeInBytes() |
String |
getMessage() |
String |
getSize() |
Long |
getSizeInBytes() |
String |
getUnit() |
boolean |
isValid() |
void |
setCode(String code) |
void |
setMaxAllowedSize(String maxAllowedSize) |
void |
setMessage(String message) |
void |
setSize(String size) |
void |
setUnit(String unit) |
public String getCode()
public void setCode(String code)
public String getMessage()
public void setMessage(String message)
public String getUnit()
public void setUnit(String unit)
public String getSize()
public void setSize(String size)
public String getMaxAllowedSize()
public void setMaxAllowedSize(String maxAllowedSize)
public Long getSizeInBytes()
public Long getMaxAllowedSizeInBytes()
public Double getFitRatio()
public boolean isValid()
Copyright © 2017. All Rights Reserved.