public interface HttpObject<T extends HttpObject,B extends Body>
T withBody(byte[] body)
B getBody()
byte[] getBodyAsRawBytes()
String getBodyAsString()
Headers getHeaders()
T withHeader(NottableString name, NottableString... values)
boolean containsHeader(String name)
T removeHeader(NottableString name)
Cookies getCookies()
T withCookie(NottableString name, NottableString value)
Copyright © 2020. All rights reserved.