Uses of Class
io.fabric8.mockwebserver.http.Buffer
-
Packages that use Buffer Package Description io.fabric8.mockwebserver.http -
-
Uses of Buffer in io.fabric8.mockwebserver.http
Methods in io.fabric8.mockwebserver.http that return Buffer Modifier and Type Method Description BufferMockResponse. getBody()BufferRecordedRequest. getBody()Returns the body of this POST request.BufferResponse. getBody()BufferBuffer. write(byte[] bytes)LikeOutputStream.write(byte[]), this writes a complete byte array to this sink.BufferBuffer. write(byte[] bytes, int off, int len)LikeOutputStream.write(byte[], int, int), this writesbyteCountbytes ofsource, starting atoffset.BufferBuffer. writeString(String string, Charset charset)Encodesstringincharsetand writes it to this buffer.BufferBuffer. writeUtf8(String string)Encodesstringin UTF-8 and writes it to this buffer.Methods in io.fabric8.mockwebserver.http with parameters of type Buffer Modifier and Type Method Description MockResponseMockResponse. setBody(Buffer body)MockResponseMockResponse. setChunkedBody(Buffer body, int maxChunkSize)Sets the response body tobody, chunked everymaxChunkSizebytes.Constructors in io.fabric8.mockwebserver.http with parameters of type Buffer Constructor Description RecordedRequest(String httpVersion, HttpMethod method, String path, Headers headers, Buffer body)RecordedRequest(String requestLine, Headers headers, List<Integer> chunkSizes, long bodySize, Buffer body, int sequenceNumber, Socket socket)Deprecated.use the non-deprecated constructor instead.
-