@Test public void getCharsetGetItFromHttpResource() throws IOException { when(mockResource.getCharset()).thenReturn(UTF8); assertEquals(UTF8, toTest.getCharset()); }
public Charset getCharset() throws IOException { return resource.getCharset(); }
HttpResponse implements Response, Disposable { public Charset getCharset() throws IOException { return resource.getCharset(); } }
HttpResponse implements Response, Disposable { public Charset getCharset() throws IOException { return resource.getCharset(); } HttpResponse(ResponseDeserializer baseResponseDeserializer, ResponseDeserializer customTypeResponseDeserializer, Request request, HttpResource resource); }
HttpResponse implements Response, Disposable { public Charset getCharset() throws IOException { return resource.getCharset(); } HttpResponse(ResponseDeserializer baseResponseDeserializer, ResponseDeserializer customTypeResponseDeserializer, Request request, HttpResource resource); int getStatusCode(); String getStatusMessage(); String getContentType(); Charset getCharset(); String getContentEncoding(); Type getExpectedGenericType(); Class<?> getExpectedType(); Request getRequest(); InputStream asStream(); T deserialize(); T to(Class<T> type); T to(Class<T> type, Type genericType); void dispose(); }
HttpResponse implements Response, Disposable { public Charset getCharset() throws IOException { return resource.getCharset(); } HttpResponse(ResponseDeserializer baseResponseDeserializer, ResponseDeserializer customTypeResponseDeserializer, Request request, HttpResource resource); int getStatusCode(); String getStatusMessage(); String getContentType(); Charset getCharset(); String getContentEncoding(); Type getExpectedGenericType(); Class<?> getExpectedType(); Request getRequest(); InputStream asStream(); T deserialize(); T to(Class<T> type); T to(Class<T> type, Type genericType); void dispose();  }