View Javadoc
1   package net.avcompris.status.api;
2   
3   import javax.annotation.Nullable;
4   
5   public interface InlineService {
6   
7   	String getEndpoint();
8   
9   	@Nullable
10  	Long getTimeOutMs();
11  
12  	@Nullable
13  	Expect getExpect();
14  
15  	InlineService setEndpoint(String endpoint);
16  
17  	InlineService setTimeOutMs(@Nullable Long timeOutMs);
18  
19  	InlineService setExpect(@Nullable Expect expect);
20  
21  	interface Expect extends StatusConfig.Expect {
22  
23  		Expect setStatusCode(@Nullable Integer statusCode);
24  	}
25  }