You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a project where I need to extend and override some of the methods in the SyncHttpClient class.
The result field and the responseHandler field are not accessible to my child class because the access modifiers are private and default, respectively.
For now, I've modified my local copy of your project to change both to protected so that extending classes can use them.
Please make a simple mod to the SyncHttpClient class:
On Wednesday, March 13, 2013 at 10:30 AM, Baron Hall wrote:
I'm working on a project where I need to extend and override some of the methods in the SyncHttpClient class.
The result field and the responseHandler field are not accessible to my child class because the access modifiers are private and default, respectively.
For now, I've modified my local copy of your project to change both to protected so that extending classes can use them.
Please make a simple mod to the SyncHttpClient class:
protected String result; protected AsyncHttpResponseHandler responseHandler = new AsyncHttpResponseHandler() { ... }
—
Reply to this email directly or view it on GitHub (#190).
I'm working on a project where I need to extend and override some of the methods in the SyncHttpClient class.
The result field and the responseHandler field are not accessible to my child class because the access modifiers are private and default, respectively.
For now, I've modified my local copy of your project to change both to protected so that extending classes can use them.
Please make a simple mod to the SyncHttpClient class:
The text was updated successfully, but these errors were encountered: