OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.net; | 5 package org.chromium.net; |
6 | 6 |
7 import java.io.IOException; | 7 import java.io.IOException; |
8 import java.nio.ByteBuffer; | 8 import java.nio.ByteBuffer; |
9 import java.nio.channels.ReadableByteChannel; | 9 import java.nio.channels.ReadableByteChannel; |
10 | 10 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 * method returns 200. | 111 * method returns 200. |
112 */ | 112 */ |
113 int getHttpStatusCode(); | 113 int getHttpStatusCode(); |
114 | 114 |
115 /** | 115 /** |
116 * Returns the exception that occurred while executing the request of null | 116 * Returns the exception that occurred while executing the request of null |
117 * if the request was successful. | 117 * if the request was successful. |
118 */ | 118 */ |
119 IOException getException(); | 119 IOException getException(); |
120 } | 120 } |
OLD | NEW |