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 MockHttpURLConnectionMockHttpURLConnection. addHeader(java.lang.String name, java.lang.String value)Sets a custom response header.MockHttpURLConnectionMockHttpURLConnection. setErrorStream(java.io.InputStream is)Sets the error stream.MockHttpURLConnectionMockHttpURLConnection. setInputStream(java.io.InputStream is)Sets the input stream.MockHttpURLConnectionMockHttpURLConnection. setOutputStream(java.io.OutputStream outputStream)Sets the output stream ornullto throw anUnknownServiceExceptionwhengetOutputStream()is called.MockHttpURLConnectionMockHttpURLConnection. setResponseCode(int responseCode)Sets the HTTP response status code.
-