| Package | Description |
|---|---|
| com.google.api.client.testing.http.javanet |
| Modifier and Type | Method and Description |
|---|---|
MockHttpURLConnection |
MockHttpURLConnection.setOutputStream(OutputStream outputStream)
Sets the output stream or
null to throw an UnknownServiceException when
getOutputStream() is called. |
MockHttpURLConnection |
MockHttpURLConnection.setResponseCode(int responseCode)
Sets the HTTP response status code.
|
Copyright © 2011-2013 Google. All Rights Reserved.