Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

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