Package | Description |
---|---|
com.google.api.client.testing.http.javanet |
Testing utilities used for writing tests based on the
java.net package. |
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-2012 Google. All Rights Reserved.