@Test public void succeedIsBulkRequestWithCorrectBulkPattern() { esRequest = new Request(TestConstants.POST_METHOD, Constants.BULK_REQUEST); boolean result = RequestIdentifier.isBulkRequest(esRequest); assertTrue(result); }
public static boolean isBulkRequest(@NonNull Request esRequest) { return Constants.BULK_REQUEST.equals(esRequest.getEndpoint()); }
RequestIdentifier { public static boolean isBulkRequest(@NonNull Request esRequest) { return Constants.BULK_REQUEST.equals(esRequest.getEndpoint()); } }
RequestIdentifier { public static boolean isBulkRequest(@NonNull Request esRequest) { return Constants.BULK_REQUEST.equals(esRequest.getEndpoint()); }  }
RequestIdentifier { public static boolean isBulkRequest(@NonNull Request esRequest) { return Constants.BULK_REQUEST.equals(esRequest.getEndpoint()); }  static boolean isConfigRequest(@NonNull Request esRequest); static boolean isConfigUpdateRequest(@NonNull Request esRequest); static boolean isMutationRequest(@NonNull Request esRequest); static boolean isIndexRequest(@NonNull Request esRequest); static boolean isBulkRequest(@NonNull Request esRequest); static String getIndexName(@NonNull Request esRequest); static Optional<String> getBulkIndexName(@NonNull String payloadLine); }
RequestIdentifier { public static boolean isBulkRequest(@NonNull Request esRequest) { return Constants.BULK_REQUEST.equals(esRequest.getEndpoint()); }  static boolean isConfigRequest(@NonNull Request esRequest); static boolean isConfigUpdateRequest(@NonNull Request esRequest); static boolean isMutationRequest(@NonNull Request esRequest); static boolean isIndexRequest(@NonNull Request esRequest); static boolean isBulkRequest(@NonNull Request esRequest); static String getIndexName(@NonNull Request esRequest); static Optional<String> getBulkIndexName(@NonNull String payloadLine);  }