Class Response
java.lang.Object
com.djrapitops.plan.delivery.web.resolver.Response
Represents a response that will be sent over HTTP.
- See Also:
for MIME types that are commonly used.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResponseBuilder
builder()
byte[]
getBytes()
int
getCode()
boolean
-
Method Details
-
builder
-
getBytes
public byte[] getBytes() -
getAsString
-
getCode
public int getCode() -
getHeaders
-
getCharset
-
isErrorResponse
public boolean isErrorResponse()
-