org.apache.http.protocol.SyncBasicHttpContext.java Source code

Java tutorial

Introduction

Here is the source code for org.apache.http.protocol.SyncBasicHttpContext.java

Source

package org.apache.http.protocol;

@Deprecated
public class SyncBasicHttpContext extends BasicHttpContext {
    public SyncBasicHttpContext(HttpContext httpContext) {
        super(httpContext);
    }

    public synchronized Object getAttribute(String str) {
        return super.getAttribute(str);
    }

    public synchronized void setAttribute(String str, Object obj) {
        super.setAttribute(str, obj);
    }

    public synchronized Object removeAttribute(String str) {
        return super.removeAttribute(str);
    }

    public synchronized void clear() {
        super.clear();
    }
}