Class SimpleRequest.Builder

java.lang.Object
com.atlassian.oai.validator.model.SimpleRequest.Builder
Enclosing class:
SimpleRequest

public static class SimpleRequest.Builder extends Object
A builder for constructing new SimpleRequest instances.
  • Constructor Details

    • Builder

      public Builder(String method, String path)
      Creates a SimpleRequest.Builder with the given HTTP method and path.
      Parameters:
      method - the HTTP method
      path - the requests path
    • Builder

      public Builder(Request.Method method, String path)
      Creates a SimpleRequest.Builder with the given HTTP Request.Method and path.
      Parameters:
      method - the HTTP method
      path - the requests path
    • Builder

      public Builder(String method, String path, boolean queryParametersCaseSensitive)
      Creates a SimpleRequest.Builder with the given HTTP method and path including the specification if the query parameters are handled case sensitive or not.
      Parameters:
      method - the HTTP method
      path - the requests path
      queryParametersCaseSensitive - flag if the query parameters are handled case sensitive or not
    • Builder

      public Builder(Request.Method method, String path, boolean queryParametersCaseSensitive)
      Creates a SimpleRequest.Builder with the given HTTP Request.Method and path including the specification if the query parameters are handled case sensitive or not.
      Parameters:
      method - the HTTP method
      path - the requests path
      queryParametersCaseSensitive - flag if the query parameters are handled case sensitive or not
  • Method Details