Class SADRequestBuilder.RequestParamsBuilder
java.lang.Object
se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder<RequestParams>
se.swedenconnect.opensaml.sweid.saml2.signservice.build.SADRequestBuilder.RequestParamsBuilder
- All Implemented Interfaces:
SAMLObjectBuilder<RequestParams>
- Enclosing class:
SADRequestBuilder
public static class SADRequestBuilder.RequestParamsBuilder
extends AbstractSAMLObjectBuilder<RequestParams>
Builder for creating a
RequestParams
using the builder pattern.- Author:
- Martin Lindström (martin@idsec.se)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Utility method that creates a builder.protected Class
<RequestParams> static Parameter
Utility method creating aParameter
object.parameters
(List<Parameter> parameters) Assigns the parameters to the request params.parameters
(Parameter... parameters) Assigns the parameters to the request params.Methods inherited from class se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
Constructor Details
-
RequestParamsBuilder
public RequestParamsBuilder()
-
-
Method Details
-
builder
Utility method that creates a builder.- Returns:
- a builder
-
parameter
Utility method creating aParameter
object.- Parameters:
name
- the parameter namevalue
- the parameter value- Returns:
- the Parameter object
-
parameters
Assigns the parameters to the request params.- Parameters:
parameters
- a list of parameters- Returns:
- the builder
-
parameters
Assigns the parameters to the request params.- Parameters:
parameters
- a list of parameters- Returns:
- the builder
-
getObjectType
- Specified by:
getObjectType
in classAbstractSAMLObjectBuilder<RequestParams>
-