File tree 2 files changed +7
-9
lines changed
spring-cloud-commons/src/main/java/org/springframework/cloud/client/hypermedia
2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 19
19
20
20
/**
21
21
* A REST resource that can be discovered and can be either gone or available.
22
- *
22
+ *
23
23
* @author Oliver Gierke
24
24
*/
25
25
public interface RemoteResource {
26
26
27
27
/**
28
- * Returns the {@link Link} to the resource in case it is available or {@literal null} in case it's gone, i.e. either
29
- * generally unavailable or can't be discovered.
30
- *
31
- * @return
28
+ * Returns the {@link Link} to the resource in case it is available or {@literal null}
29
+ * in case it's gone, i.e. either generally unavailable or can't be discovered.
32
30
*/
33
31
Link getLink ();
34
32
35
33
/**
36
- * Discovers the the resource in case it hasn't been yet or became unavailable. In case a link has been discovered
37
- * previously, it is verified and either confirmed or the link is removed to indicate it's not available anymore.
34
+ * Discovers the the resource in case it hasn't been yet or became unavailable. In
35
+ * case a link has been discovered previously, it is verified and either confirmed or
36
+ * the link is removed to indicate it's not available anymore.
38
37
*/
39
38
void verifyOrDiscover ();
40
39
}
Original file line number Diff line number Diff line change 20
20
21
21
/**
22
22
* Callback to define the traversal to a resource.
23
- *
23
+ *
24
24
* @author Oliver Gierke
25
25
*/
26
26
public interface TraversalDefinition {
27
27
28
28
/**
29
29
* @param traverson the Traverson instance to run the traversal on.
30
- * @return
31
30
*/
32
31
TraversalBuilder buildTraversal (Traverson traverson );
33
32
}
You can’t perform that action at this time.
0 commit comments