File tree Expand file tree Collapse file tree
AndroidAnnotations/androidannotations-api/src/main/java/org/androidannotations/annotations/rest Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright (C) 2010-2012 eBusiness Information, Excilys Group
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+ * use this file except in compliance with the License. You may obtain a copy of
6+ * the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed To in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+ * License for the specific language governing permissions and limitations under
14+ * the License.
15+ */
16+ package org .androidannotations .annotations .rest ;
17+
18+ import java .lang .annotation .ElementType ;
19+ import java .lang .annotation .Retention ;
20+ import java .lang .annotation .RetentionPolicy ;
21+ import java .lang .annotation .Target ;
22+
23+ @ Retention (RetentionPolicy .CLASS )
24+ @ Target ({ ElementType .METHOD , ElementType .TYPE })
25+ public @interface RequiresAuthentication {
26+
27+ }
Original file line number Diff line number Diff line change 1+ package org .androidannotations .annotations .rest ;
2+
3+ import java .lang .annotation .ElementType ;
4+ import java .lang .annotation .Retention ;
5+ import java .lang .annotation .RetentionPolicy ;
6+ import java .lang .annotation .Target ;
7+
8+ @ Retention (RetentionPolicy .CLASS )
9+ @ Target ({ ElementType .METHOD , ElementType .TYPE })
10+ public @interface RequiresCookie {
11+ public String [] value ();
12+ }
Original file line number Diff line number Diff line change 1+ package org .androidannotations .annotations .rest ;
2+
3+ import java .lang .annotation .ElementType ;
4+ import java .lang .annotation .Retention ;
5+ import java .lang .annotation .RetentionPolicy ;
6+ import java .lang .annotation .Target ;
7+
8+ @ Retention (RetentionPolicy .CLASS )
9+ @ Target ({ ElementType .METHOD , ElementType .TYPE })
10+ public @interface RequiresCookieInUrl {
11+ public String [] value ();
12+ }
Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright (C) 2010-2012 eBusiness Information, Excilys Group
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+ * use this file except in compliance with the License. You may obtain a copy of
6+ * the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed To in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+ * License for the specific language governing permissions and limitations under
14+ * the License.
15+ */
16+ package org .androidannotations .annotations .rest ;
17+
18+ import java .lang .annotation .ElementType ;
19+ import java .lang .annotation .Retention ;
20+ import java .lang .annotation .RetentionPolicy ;
21+ import java .lang .annotation .Target ;
22+
23+ @ Retention (RetentionPolicy .CLASS )
24+ @ Target ({ ElementType .METHOD , ElementType .TYPE })
25+ public @interface RequiresHeader {
26+ String [] value ();
27+ }
Original file line number Diff line number Diff line change 1+ package org .androidannotations .annotations .rest ;
2+
3+ import java .lang .annotation .ElementType ;
4+ import java .lang .annotation .Retention ;
5+ import java .lang .annotation .RetentionPolicy ;
6+ import java .lang .annotation .Target ;
7+
8+ @ Retention (RetentionPolicy .CLASS )
9+ @ Target ({ ElementType .METHOD , ElementType .TYPE })
10+ public @interface SetsCookie {
11+
12+ public String [] value ();
13+ }
You can’t perform that action at this time.
0 commit comments