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

com.linkedin.restli.server.RestLiMethodContext Maven / Gradle / Ivy

Go to download

Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs.

There is a newer version: 27.7.18
Show newest version
package com.linkedin.restli.server;

import com.linkedin.restli.common.ResourceMethod;
import com.linkedin.restli.internal.server.RoutingResult;
import com.linkedin.restli.internal.server.model.ResourceMethodDescriptor;
import com.linkedin.restli.internal.server.model.ResourceModel;

/**
 * An adaptor interface that contains getters for selected resource method information that is safe to pass to InvokeAware user code.
 * The information contained in this class is expected to stay unchanged.
 * Any field that we see a potential for change should not be included.
 *
 * @author Zhenkai Zhu
 */
public interface RestLiMethodContext
{
  /**
   * @return Rest resource method, e.g. GET, BATCH_GET, etc.
   */
  public ResourceMethod getMethodType();

  public String getResourceName();

  public String getNamespace();

  public String getFinderName();

  public String getActionName();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy