Package org.jboss.resteasy.core.se
Class ResteasySeConfiguration
- java.lang.Object
-
- org.jboss.resteasy.core.se.ResteasySeConfiguration
-
- All Implemented Interfaces:
SeBootstrap.Configuration
public class ResteasySeConfiguration extends Object implements SeBootstrap.Configuration
An implementation of theSeBootstrap.Configuration.- Since:
- 6.1
- Author:
- James R. Perkins
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.ws.rs.SeBootstrap.Configuration
SeBootstrap.Configuration.SSLClientAuthentication
-
-
Field Summary
-
Fields inherited from interface jakarta.ws.rs.SeBootstrap.Configuration
DEFAULT_PORT, FREE_PORT, HOST, PORT, PROTOCOL, ROOT_PATH, SSL_CLIENT_AUTHENTICATION, SSL_CONTEXT
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SeBootstrap.Configuration.Builderbuilder()Creates a new configuration builder.static SeBootstrap.Configurationfrom(SeBootstrap.Configuration configuration)Creates a new configuration which delegates to the configuration passed in.booleanhasProperty(String name)Returns whether the property with the given name is configured, either explicitly or by default.Objectproperty(String name)Returns the value of the property with the given name, ornullif there is no property of that name.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jakarta.ws.rs.SeBootstrap.Configuration
baseUri, baseUriBuilder, host, port, protocol, rootPath, sslClientAuthentication, sslContext
-
-
-
-
Method Detail
-
builder
public static SeBootstrap.Configuration.Builder builder()
Creates a new configuration builder.- Returns:
- the new builder
-
from
public static SeBootstrap.Configuration from(SeBootstrap.Configuration configuration)
Creates a new configuration which delegates to the configuration passed in. If the configuration does not contain certain properties required by this implementation, default values are returned.- Parameters:
configuration- the delegate configuration- Returns:
- a new configuration
-
property
public Object property(String name)
Description copied from interface:SeBootstrap.ConfigurationReturns the value of the property with the given name, ornullif there is no property of that name.- Specified by:
propertyin interfaceSeBootstrap.Configuration- Parameters:
name- aStringspecifying the name of the property.- Returns:
- an
Objectcontaining the value of the property, ornullif no property exists matching the given name.
-
hasProperty
public boolean hasProperty(String name)
Description copied from interface:SeBootstrap.ConfigurationReturns whether the property with the given name is configured, either explicitly or by default.- Specified by:
hasPropertyin interfaceSeBootstrap.Configuration- Parameters:
name- aStringspecifying the name of the property.- Returns:
falseif no property exists matching the given name,trueotherwise.
-
-