package saker.rmi.connection
Builder class for custom construction of constructor properties.
CThe declaring class of the constructor.
public | Builder( Creates a properties builder for the given constructor. |
public ConstructorTransferProperties< | build() Creates the transfer properties specified by this builder. |
public Builder< | parameterWriter( Sets the write handler for the parameter at the specified index. |
public Builder< | parameterWriters( Sets all of write handlers for every parameter. |
Creates a properties builder for the given constructor.
The annotations on the constructor are not taken into account.
constructorThe constructor to create the builder for.
Creates the transfer properties specified by this builder.
The constructed transfer properties.
Sets the write handler for the parameter at the specified index.
indexThe index of the parameter.
writerThe write handler. * @return
this
this
Sets all of write handlers for every parameter.
The parameter array can contain null
, in which case the default write handler will be used.
writersThe write handlers for the parameters.
this