Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add protected access modifier to fields in SyncHttpClient #190

@bkhall

Description

@bkhall

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() {
...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions