All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.itcoon.common.tracelog.enums.LogSegment Maven / Gradle / Ivy

package com.itcoon.common.tracelog.enums;

import com.itcoon.common.core.enums.CodeEnum;

public enum LogSegment implements CodeEnum {
    METHOD(10),
    URI(20),
    PARAMETER(30),
    REQUEST_BODY(40),
    RESPONSE_BODY(50),
    HEADER(60),

    USER_IP(70),
    DURATION(80),

    STATUS(90);

    private final int code;

    LogSegment(int code) {
        this.code = code;
    }

    @Override
    public Integer value() {
        return this.code;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy