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

com.linkedin.restli.client.InboundRequestContextBuilder Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show newest version
package com.linkedin.restli.client;

import java.util.Optional;

public class InboundRequestContextBuilder {

  private String _name;
  private String _method;
  private String _finderName;
  private String _actionName;

  public InboundRequestContextBuilder setName(String name) {
    _name = name;
    return this;
  }

  public InboundRequestContextBuilder setMethod(String method) {
    _method = method;
    return this;
  }

  public InboundRequestContextBuilder setFinderName(String finderName) {
    _finderName = finderName;
    return this;
  }

  public InboundRequestContextBuilder setActionName(String actionName) {
    _actionName = actionName;
    return this;
  }

  public InboundRequestContext build() {
    return new InboundRequestContextImpl(_name, _method, Optional.ofNullable(_finderName), Optional.ofNullable(_actionName));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy