Package | Description |
---|---|
com.google.api.client.testing.http |
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.setEncoding(String encoding)
Sets the HTTP content encoding or
null for none. |
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-2012 Google. All Rights Reserved.