|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 package org.mozilla.gecko.background.bagheera; |
|
6 |
|
7 import ch.boye.httpclientandroidlib.HttpResponse; |
|
8 |
|
9 public interface BagheeraRequestDelegate { |
|
10 void handleSuccess(int status, String namespace, String id, HttpResponse response); |
|
11 void handleError(Exception e); |
|
12 void handleFailure(int status, String namespace, HttpResponse response); |
|
13 |
|
14 public String getUserAgent(); |
|
15 } |