Class UriInfo.Builder

All Implemented Interfaces:
Prototype.Builder<UriInfo.Builder, UriInfo>, Builder<UriInfo.Builder, UriInfo>, Supplier<UriInfo>
Enclosing interface:
UriInfo

public static class UriInfo.Builder extends UriInfo.BuilderBase<UriInfo.Builder, UriInfo> implements Builder<UriInfo.Builder, UriInfo>
Fluent API builder for UriInfo.
  • Method Details

    • buildPrototype

      public UriInfo buildPrototype()
      Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.
      Specified by:
      buildPrototype in interface Prototype.Builder<UriInfo.Builder, UriInfo>
      Returns:
      an instance of the setup object created from this builder
    • build

      public UriInfo build()
      Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.
      Specified by:
      build in interface Builder<UriInfo.Builder, UriInfo>
      Returns:
      instance of the built type