Class MethodOverride.Builder (1.35.2)

public static final class MethodOverride.Builder

Builder for MethodOverride.

Inheritance

java.lang.Object > MethodOverride.Builder

Constructors

Builder()

public Builder()

Methods

build()

public MethodOverride build()

Builds the MethodOverride.

Returns
TypeDescription
MethodOverride

getOverrideAllMethods()

public boolean getOverrideAllMethods()

Returns whether to allow all methods (except GET and POST) to be overridden regardless of whether the transport supports them.

Returns
TypeDescription
boolean

setOverrideAllMethods(boolean overrideAllMethods)

public MethodOverride.Builder setOverrideAllMethods(boolean overrideAllMethods)

Sets whether to allow all methods (except GET and POST) to be overridden regardless of whether the transport supports them.

Default is false.

Parameter
NameDescription
overrideAllMethodsboolean
Returns
TypeDescription
MethodOverride.Builder