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

com.infilos.spring.track.aop.AuditRestContext Maven / Gradle / Ivy

The newest version!
package com.infilos.spring.track.aop;

import java.util.List;
import java.util.Optional;

public abstract class AuditRestContext extends AuditMethodContext {

    protected AuditRestContext(
        String method,
        List paramNames,
        List paramValues,
        Object result,
        Throwable failure) {
        super(method, paramNames, paramValues, result, failure);
    }

    public abstract String reqPath();

    public abstract Optional reqQuery(String name);

    public abstract Optional reqHeader(String name);

    public abstract Optional reqCookie(String name);

    public abstract Optional reqSession(String name);

    public abstract Optional reqBody();

    public abstract Integer resStatus();

    public abstract Optional resHeader(String name);
}