Class RequestBuilder

All Implemented Interfaces:
XMLObjectBuilder<Request>, SAMLObjectBuilder<Request>

public class RequestBuilder extends AbstractSAMLObjectBuilder<Request>
Builder of Request objects.
  • Constructor Details

    • RequestBuilder

      public RequestBuilder()
  • Method Details

    • buildObject

      @Nonnull public Request buildObject()
      Builds a SAMLObject using the default name and namespace information provided SAML specifications.
      Specified by:
      buildObject in interface SAMLObjectBuilder<Request>
      Specified by:
      buildObject in class AbstractSAMLObjectBuilder<Request>
      Returns:
      built SAMLObject
    • buildObject

      @Nonnull public Request buildObject(@Nullable String namespaceURI, @Nonnull String localName, @Nullable String namespacePrefix)
      Creates an XMLObject with a given fully qualified name.
      Specified by:
      buildObject in interface XMLObjectBuilder<Request>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<Request>
      Parameters:
      namespaceURI - the URI of the namespace the Element represented by this XMLObject will be in
      localName - the local name of the Element represented by this XMLObject
      namespacePrefix - the namespace prefix of the Element represented by this XMLObject
      Returns:
      the constructed XMLObject