public interface FlowRestService
| Modifier and Type | Field and Description | 
|---|---|
static String | 
DEFAULT_LIMIT  | 
static String | 
DEFAULT_STEP_MS  | 
static String | 
DEFAULT_TOP_N  | 
| Modifier and Type | Method and Description | 
|---|---|
List<String> | 
getApplications(String matchingPrefix,
               long limit,
               javax.ws.rs.core.UriInfo uriInfo)
Retrieve the list of applications. 
 | 
FlowSeriesResponse | 
getApplicationSeries(long step,
                    Integer N,
                    Set<String> applications,
                    boolean includeOther,
                    javax.ws.rs.core.UriInfo uriInfo)  | 
FlowSummaryResponse | 
getApplicationSummary(Integer N,
                     Set<String> applications,
                     boolean includeOther,
                     javax.ws.rs.core.UriInfo uriInfo)  | 
List<String> | 
getConversations(String locationPattern,
                String protocolPattern,
                String lowerIPPattern,
                String upperIPPattern,
                String applicationPattern,
                long limit,
                javax.ws.rs.core.UriInfo uriInfo)
Retrieve the list of conversations. 
 | 
FlowSeriesResponse | 
getConversationSeries(long step,
                     Integer N,
                     Set<String> conversations,
                     boolean includeOther,
                     javax.ws.rs.core.UriInfo uriInfo)  | 
FlowSummaryResponse | 
getConversationSummary(Integer N,
                      Set<String> conversations,
                      boolean includeOther,
                      javax.ws.rs.core.UriInfo uriInfo)  | 
Long | 
getFlowCount(javax.ws.rs.core.UriInfo uriInfo)
Retrieves the number of flows persisted in the repository. 
 | 
FlowNodeDetails | 
getFlowExporter(Integer nodeId)
Retrieved detailed information about a specific node. 
 | 
List<FlowNodeSummary> | 
getFlowExporters()
Retrieves a summary of the nodes that have exported flows. 
 | 
FlowGraphUrlInfo | 
getFlowGraphUrlInfo(javax.ws.rs.core.UriInfo uriInfo)  | 
List<String> | 
getHosts(String regex,
        long limit,
        javax.ws.rs.core.UriInfo uriInfo)
Retrieve the list of hosts. 
 | 
FlowSeriesResponse | 
getHostSeries(long step,
             Integer N,
             Set<String> hosts,
             boolean includeOther,
             javax.ws.rs.core.UriInfo uriInfo)  | 
FlowSummaryResponse | 
getHostSummary(Integer N,
              Set<String> hosts,
              boolean includeOther,
              javax.ws.rs.core.UriInfo uriInfo)  | 
static final String DEFAULT_STEP_MS
static final String DEFAULT_TOP_N
static final String DEFAULT_LIMIT
Long getFlowCount(@Context javax.ws.rs.core.UriInfo uriInfo)
uriInfo - JAX-RS contextList<FlowNodeSummary> getFlowExporters()
FlowNodeDetails getFlowExporter(Integer nodeId)
nodeId - node idList<String> getApplications(String matchingPrefix, long limit, @Context javax.ws.rs.core.UriInfo uriInfo)
matchingPrefix - a string prefix that can be used to further filter the resultslimit - the maximum number of applications to returnFlowSummaryResponse getApplicationSummary(Integer N, Set<String> applications, boolean includeOther, @Context javax.ws.rs.core.UriInfo uriInfo)
FlowSeriesResponse getApplicationSeries(long step, Integer N, Set<String> applications, boolean includeOther, @Context javax.ws.rs.core.UriInfo uriInfo)
List<String> getHosts(String regex, long limit, @Context javax.ws.rs.core.UriInfo uriInfo)
prefix - a string prefix that can be used to further filter the resultslimit - the maximum number of hosts to returnFlowSummaryResponse getHostSummary(Integer N, Set<String> hosts, boolean includeOther, @Context javax.ws.rs.core.UriInfo uriInfo)
FlowSeriesResponse getHostSeries(long step, Integer N, Set<String> hosts, boolean includeOther, @Context javax.ws.rs.core.UriInfo uriInfo)
List<String> getConversations(String locationPattern, String protocolPattern, String lowerIPPattern, String upperIPPattern, String applicationPattern, long limit, @Context javax.ws.rs.core.UriInfo uriInfo)
locationPattern - the regex pattern for the location fieldprotocolPattern - the regex pattern for the protocol fieldlowerIPPattern - the regex pattern for the lower IP fieldupperIPPattern - the regex pattern for the upper IP fieldapplicationPattern - the regex pattern for the application fieldlimit - limit for how many conversations to returnFlowSummaryResponse getConversationSummary(Integer N, Set<String> conversations, boolean includeOther, @Context javax.ws.rs.core.UriInfo uriInfo)
FlowSeriesResponse getConversationSeries(long step, Integer N, Set<String> conversations, boolean includeOther, @Context javax.ws.rs.core.UriInfo uriInfo)
FlowGraphUrlInfo getFlowGraphUrlInfo(@Context javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2020. All rights reserved.