Package kos.api
Class EmptyResponse
java.lang.Object
kos.api.AbstractResponse
kos.api.EmptyResponse
- All Implemented Interfaces:
Response
-
Field Summary
Fields inherited from class kos.api.AbstractResponse
headers, statusCodeFields inherited from interface kos.api.Response
ACCEPTED, BAD_GATEWAY, BAD_REQUEST, CONFLICT, CREATED, FORBIDDEN, GATEWAY_TIMEOUT, GONE, METHOD_NOT_ALLOWED, NO_CONTENT, NOT_ACCEPTABLE, NOT_FOUND, NOT_IMPLEMENTED, SERVICE_UNAVAILABLE, TOO_MANY_REQUESTS, UNAUTHORIZED -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateEmptyResponse(int statusCode, @NonNull Map<CharSequence, CharSequence> headers) -
Method Summary
Methods inherited from class kos.api.AbstractResponse
send, sendStatusAndHeaderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface kos.api.Response
headers, headers, statusCode, statusCode
-
Constructor Details
-
EmptyResponse
public EmptyResponse() -
EmptyResponse
-
-
Method Details
-
addHeader
-