本文整理了Java中org.qi4j.api.common.Optional.<init>()
方法的一些代码示例,展示了Optional.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Optional.<init>()
方法的具体详情如下:
包路径:org.qi4j.api.common.Optional
类名称:Optional
方法名:<init>
暂无
代码示例来源:origin: org.qi4j.library/org.qi4j.library.rdf
/**
* The ID of the Repository at the remote Sesame HTTP host.
*
* Default: qi4j
*
* @return The configured ID at the remote Sesame HTTP host.
*/
@Optional
Property<String> repositoryId();
}
代码示例来源:origin: org.qi4j.library/org.qi4j.library.http
/**
* Alias of the {@link SecureJettyService} certificate.
*
* If not set, the first certificate found in the keystore is used.
*
* @return Alias of the {@link SecureJettyService} certificate.
*/
@Optional
Property<String> certAlias();
代码示例来源:origin: org.qi4j.library/org.qi4j.library.http
/**
* If SSL Session caching is enabled.
*
* SSL Session caching is enabled by default.
*
* @return If SSL Session caching is enabled.
*/
@Optional
Property<Boolean> cacheSslSessions();
代码示例来源:origin: org.qi4j.library/org.qi4j.library.http
/**
* @return If {@link JettyService} expose it's implementation version.
*/
@Optional
Property<Boolean> sendServerVersion();
代码示例来源:origin: org.codeartisans.qipki/qipki-crypto
/**
* Defaulted to Boolean.TRUE
*/
@Optional
Property<Boolean> insertProviderOnActivate();
代码示例来源:origin: org.qi4j.library/org.qi4j.library.http
/**
* @return Path of the keystore that contains the certificates trusted by the {@link SecureJettyService}.
*/
@Optional
Property<String> truststorePath();
代码示例来源:origin: org.qi4j.library/org.qi4j.library.http
/**
* @return The path of a local CRL file in PEM or DER format used during PKIX validations.
*/
@Optional
Property<String> crlFilePath();
代码示例来源:origin: org.qi4j.library/org.qi4j.library.http
/**
* @return If {@link JettyService} populates http header with server date.
*/
@Optional
Property<Boolean> sendDateHeader();
代码示例来源:origin: org.codeartisans.qipki/qipki-ca
X509Profile create( String name, Integer validityDays, @Optional String comment,
@Optional KeyUsagesValue keyUsages,
@Optional ExtendedKeyUsagesValue extendedKeyUsages,
@Optional NetscapeCertTypesValue netscapeCertTypes,
@Optional BasicConstraintsValue basicConstraints,
@Optional NameConstraintsValue nameConstraints );
代码示例来源:origin: org.codeartisans.qipki/qipki-ca
public X509Profile createX509Profile( String name, Integer validityDays, @Optional String comment,
@Optional KeyUsagesValue keyUsages,
@Optional ExtendedKeyUsagesValue extendedKeyUsages,
@Optional NetscapeCertTypesValue netscapeCertTypes,
@Optional BasicConstraintsValue basicConstraints,
@Optional NameConstraintsValue nameConstraints )
{
return context.role( X509ProfileFactory.class ).create( name, validityDays, comment,
keyUsages, extendedKeyUsages, netscapeCertTypes,
basicConstraints, nameConstraints );
}
代码示例来源:origin: org.qi4j.library/org.qi4j.library.http
/**
* @return Type of the keystore that contains the certificates trusted by the {@link SecureJettyService}.
*/
@Optional
@OneOf( { "PKCS12", "JCEKS", "JKS" } )
Property<String> truststoreType();
代码示例来源:origin: org.qi4j.library/org.qi4j.library.http
/**
* @return The size of the buffer to be used for request headers in bytes.
*/
@Optional
@GreaterThan( 0 )
Property<Integer> requestHeaderSize();
代码示例来源:origin: org.qi4j.library/org.qi4j.library.http
/**
* @return The size of the buffer to be used for response headers in bytes.
*/
@Optional
@GreaterThan( 0 )
Property<Integer> responseHeaderSize();
代码示例来源:origin: org.qi4j.library/org.qi4j.library.http
/**
* @return Maximum Form content size.
*/
@Optional
@GreaterThan( 0 )
Property<Integer> maxFormContentSize();
代码示例来源:origin: org.qi4j.library/org.qi4j.library.http
/**
* Maximum number of intermediate certificates in the PKIX path.
*
* Set to -1 for unlimited. Defaulted to -1.
*
* @return Maximum number of intermediate certificates in the PKIX path
*/
@Optional
@GreaterThan( -2 )
Property<Integer> maxCertPathLength();
代码示例来源:origin: org.qi4j.library/org.qi4j.library.http
/**
* Timeout use to wait for active requests to terminate on shutdown in milliseconds.
*
* Jetty will stop gracefully only if this property is set.
*
* @return Timeout use to wait for active requests to terminate on shutdown in milliseconds.
*/
@Optional
@GreaterThan( 0 )
Property<Integer> gracefullShutdownTimeout();
代码示例来源:origin: org.codeartisans.qipki/qipki-ca-http
/**
* @return The base api url used by clients, autodetected if empty.
*/
@URL
@Optional
Property<String> clientBaseUrl();
代码示例来源:origin: org.codeartisans.qipki/qipki-ca
public RootCA createRootCA( String cryptoStoreIdentity, String name, int validityDays, @X500Name String distinguishedName, KeyPairSpecValue keySpec, @Optional List<String> crlDistPoints )
{
if ( crlDistPoints == null ) {
crlDistPoints = Collections.emptyList();
}
CryptoStore cryptoStore = context.role( CryptoStoreRepository.class ).findByIdentity( cryptoStoreIdentity );
return context.role( CAFactory.class ).createRootCA( name, validityDays, new DistinguishedName( distinguishedName ), keySpec, cryptoStore, crlDistPoints.toArray( new String[]{} ) );
}
代码示例来源:origin: org.qi4j.library/org.qi4j.library.http
public JettyMixin( @This Identity meAsIdentity,
@Service Server jettyServer,
@Service Iterable<ServiceReference<ServletContextListener>> contextListeners,
@Service Iterable<ServiceReference<Servlet>> servlets,
@Service Iterable<ServiceReference<Filter>> filters,
@Optional @Service MBeanServer mBeanServer )
{
super( meAsIdentity.identity().get(), jettyServer, contextListeners, servlets, filters, mBeanServer );
}
代码示例来源:origin: org.qi4j.library/org.qi4j.library.http
public SecureJettyMixin( @This Identity meAsIdentity,
@Service Server jettyServer,
@Service Iterable<ServiceReference<ServletContextListener>> contextListeners,
@Service Iterable<ServiceReference<Servlet>> servlets,
@Service Iterable<ServiceReference<Filter>> filters,
@Optional @Service MBeanServer mBeanServer )
{
super( meAsIdentity.identity().get(), jettyServer, contextListeners, servlets, filters, mBeanServer );
}
内容来源于网络,如有侵权,请联系作者删除!