teragrep / cfe_31

0 stars 0 forks source link

Move send() methods' URLs to class fields #41

Closed MoonBow-1 closed 5 months ago

MoonBow-1 commented 5 months ago

Description

It came up that the resource path should probably be a field for the class instead of being hard-coded in the send() method.

MoonBow-1 commented 5 months ago

Using private static fields in classes for these URLs:

class Example {
    private final static String ENDPOINT_URL = "/example/endpoint";

    ...
}