org.infinispan.rest.configuration
Class RestServerConfigurationBuilder

java.lang.Object
  extended by org.infinispan.rest.configuration.RestServerConfigurationBuilder
All Implemented Interfaces:
Builder<RestServerConfiguration>

public class RestServerConfigurationBuilder
extends Object
implements Builder<RestServerConfiguration>

RestServerConfigurationBuilder.

Since:
5.3
Author:
Tristan Tarrant

Constructor Summary
RestServerConfigurationBuilder()
           
 
Method Summary
 RestServerConfiguration build()
           
 RestServerConfiguration build(boolean validate)
           
 RestServerConfiguration create()
          Create the configuration bean
 RestServerConfigurationBuilder extendedHeaders(ExtendedHeaders extendedHeaders)
           
 Builder<?> read(RestServerConfiguration template)
          Reads the configuration from an already created configuration bean into this builder.
 void validate()
          Validate the data in this builder before building the configuration bean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestServerConfigurationBuilder

public RestServerConfigurationBuilder()
Method Detail

extendedHeaders

public RestServerConfigurationBuilder extendedHeaders(ExtendedHeaders extendedHeaders)

validate

public void validate()
Description copied from interface: Builder
Validate the data in this builder before building the configuration bean

Specified by:
validate in interface Builder<RestServerConfiguration>

create

public RestServerConfiguration create()
Description copied from interface: Builder
Create the configuration bean

Specified by:
create in interface Builder<RestServerConfiguration>
Returns:

read

public Builder<?> read(RestServerConfiguration template)
Description copied from interface: Builder
Reads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration

Specified by:
read in interface Builder<RestServerConfiguration>
Parameters:
template - the configuration from which to "clone" this config if needed.

build

public RestServerConfiguration build()

build

public RestServerConfiguration build(boolean validate)

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.