org.apache.http.annotation
Annotation Type Contract


@Documented
@Target(value=TYPE)
@Retention(value=CLASS)
public @interface Contract

This annotation defines behavioral contract enforced at runtime by instances of annotated classes.


Optional Element Summary
 ThreadingBehavior threading
           
 

threading

public abstract ThreadingBehavior threading
Default:
org.apache.http.annotation.ThreadingBehavior.UNSAFE


Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.