Package | Description |
---|---|
com.google.api.client.testing.http |
Beta Testing utilities used for writing tests based on this library. |
Modifier and Type | Method and Description |
---|---|
MockHttpContent |
MockHttpContent.setContent(byte[] content)
Sets the HTTP content.
|
MockHttpContent |
MockHttpContent.setLength(long length)
Returns the HTTP content length or
-1 for unknown. |
MockHttpContent |
MockHttpContent.setType(String type)
Sets the HTTP content type or
null for none. |
Copyright © 2011–2023 Google. All rights reserved.