Module io.jooby
Package io.jooby

Interface ParamLookup

All Known Subinterfaces:
ParamLookup.Stage

public interface ParamLookup
Fluent interface allowing to conveniently search context parameters in multiple sources.

 Value foo = ctx.lookup()
   .inQuery()
   .inPath()
   .get("foo");
 
See Also:
  • Method Details

    • in

      Adds the specified source to the search locations.
      Parameters:
      source - The source to add.
      Returns:
      This instance.
    • inPath

      default ParamLookup.Stage inPath()
      Adds the path parameters to the search locations.
      Returns:
      This instance.
    • inHeader

      default ParamLookup.Stage inHeader()
      Adds the header parameters to the search locations.
      Returns:
      This instance.
    • inCookie

      default ParamLookup.Stage inCookie()
      Adds the cookie parameters to the search locations.
      Returns:
      This instance.
    • inFlash

      default ParamLookup.Stage inFlash()
      Adds the flash parameters to the search locations.
      Returns:
      This instance.
    • inSession

      default ParamLookup.Stage inSession()
      Adds the session parameters to the search locations.
      Returns:
      This instance.
    • inQuery

      default ParamLookup.Stage inQuery()
      Adds the query parameters to the search locations.
      Returns:
      This instance.
    • inForm

      default ParamLookup.Stage inForm()
      Adds the form parameters to the search locations.
      Returns:
      This instance.