Class DiscoveryResponseBuilder
java.lang.Object
se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder<org.opensaml.saml.ext.idpdisco.DiscoveryResponse>
se.swedenconnect.opensaml.saml2.metadata.build.DiscoveryResponseBuilder
- All Implemented Interfaces:
SAMLObjectBuilder<org.opensaml.saml.ext.idpdisco.DiscoveryResponse>
public class DiscoveryResponseBuilder
extends AbstractSAMLObjectBuilder<org.opensaml.saml.ext.idpdisco.DiscoveryResponse>
-
Constructor Summary
ConstructorDescriptionDefault constructor.DiscoveryResponseBuilder
(String location, Integer index) Constructor setting the location and the index. -
Method Summary
Modifier and TypeMethodDescriptionstatic DiscoveryResponseBuilder
builder()
Creates a builder.static DiscoveryResponseBuilder
Creates a builder.protected Class
<org.opensaml.saml.ext.idpdisco.DiscoveryResponse> Returns the object type.Adds discovery index.Adds discovery response location.Methods inherited from class se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
Constructor Details
-
DiscoveryResponseBuilder
public DiscoveryResponseBuilder()Default constructor. -
DiscoveryResponseBuilder
Constructor setting the location and the index.- Parameters:
location
- the locationindex
- the index
-
-
Method Details
-
builder
Creates a builder.- Returns:
- a builder
-
builder
Creates a builder.- Parameters:
location
- the locationindex
- the index- Returns:
- a builder
-
location
Adds discovery response location.- Parameters:
location
- URL for discovery responses- Returns:
- the builder
-
index
Adds discovery index.- Parameters:
index
- the index- Returns:
- the builder
-
getObjectType
Returns the object type.- Specified by:
getObjectType
in classAbstractSAMLObjectBuilder<org.opensaml.saml.ext.idpdisco.DiscoveryResponse>
- Returns:
- the object type
-