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

com.mx.path.model.mdx.accessor.StatusDefaultAccessor Maven / Gradle / Ivy

There is a newer version: 16.0.0
Show newest version
package com.mx.path.model.mdx.accessor;

import com.mx.path.core.common.accessor.API;
import com.mx.path.core.common.accessor.PathResponseStatus;
import com.mx.path.gateway.accessor.AccessorConfiguration;
import com.mx.path.gateway.accessor.AccessorResponse;

@API(notes = "Default status operations.")
public class StatusDefaultAccessor extends StatusBaseAccessor {
  public StatusDefaultAccessor() {
  }

  public StatusDefaultAccessor(AccessorConfiguration configuration) {
    super(configuration);
  }

  @Override
  @API(notes = "Does no health check, just returns 204")
  public final AccessorResponse get() {
    return new AccessorResponse().withStatus(PathResponseStatus.NO_CONTENT);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy