Class MethodOverride.Builder (2.4.1)

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
Type Description
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
Type Description
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
Name Description
overrideAllMethods boolean
Returns
Type Description
MethodOverride.Builder