Uses of Class
com.google.api.client.testing.http.javanet.MockHttpURLConnection
-
Packages that use MockHttpURLConnection Package Description com.google.api.client.testing.http.javanet -
-
Uses of MockHttpURLConnection in com.google.api.client.testing.http.javanet
Methods in com.google.api.client.testing.http.javanet that return MockHttpURLConnection Modifier and Type Method Description MockHttpURLConnection
MockHttpURLConnection. addHeader(String name, String value)
Sets a custom response header.MockHttpURLConnection
MockHttpURLConnection. setErrorStream(InputStream is)
Sets the error stream.MockHttpURLConnection
MockHttpURLConnection. setInputStream(InputStream is)
Sets the input stream.MockHttpURLConnection
MockHttpURLConnection. setOutputStream(OutputStream outputStream)
Sets the output stream ornull
to throw anUnknownServiceException
whengetOutputStream()
is called.MockHttpURLConnection
MockHttpURLConnection. setResponseCode(int responseCode)
Sets the HTTP response status code.
-