Uses of Class
com.google.api.client.testing.http.javanet.MockHttpURLConnection
Packages that use MockHttpURLConnection
Package
Description
-
Uses of MockHttpURLConnection in com.google.api.client.testing.http.javanet
Methods in com.google.api.client.testing.http.javanet that return MockHttpURLConnectionModifier and TypeMethodDescriptionSets a custom response header.MockHttpURLConnection.setErrorStream(InputStream is) Sets the error stream.MockHttpURLConnection.setInputStream(InputStream is) Sets the input stream.MockHttpURLConnection.setOutputStream(OutputStream outputStream) Sets the output stream ornullto throw anUnknownServiceExceptionwhenMockHttpURLConnection.getOutputStream()is called.MockHttpURLConnection.setResponseCode(int responseCode) Sets the HTTP response status code.