Package com.ngrok.definitions
Class EndpointRequestHeaders
java.lang.Object
com.ngrok.definitions.EndpointRequestHeaders
A class encapsulating the
EndpointRequestHeaders
resource.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getAdd()
a map of header key to header value that will be injected into the HTTP Request before being sent to the upstream application servertrue
if the module will be applied to traffic,false
to disable.a list of header names that will be removed from the HTTP Request before being sent to the upstream application serverint
hashCode()
Creates a new builder for theEndpointRequestHeaders
type.toString()
-
Method Details
-
newBuilder
Creates a new builder for theEndpointRequestHeaders
type.- Returns:
- a new
EndpointRequestHeaders.Builder
-
getEnabled
true
if the module will be applied to traffic,false
to disable. defaulttrue
if unspecified- Returns:
- the value of the property as a
boolean
wrapped in anOptional
-
getAdd
a map of header key to header value that will be injected into the HTTP Request before being sent to the upstream application server -
getRemove
a list of header names that will be removed from the HTTP Request before being sent to the upstream application server -
equals
-
hashCode
public int hashCode() -
toString
-