Package com.ngrok.definitions
Class EndpointRequestHeaders
java.lang.Object
com.ngrok.definitions.EndpointRequestHeaders
A class encapsulating the
EndpointRequestHeaders resource.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAdd()a map of header key to header value that will be injected into the HTTP Request before being sent to the upstream application servertrueif the module will be applied to traffic,falseto disable.a list of header names that will be removed from the HTTP Request before being sent to the upstream application serverinthashCode()Creates a new builder for theEndpointRequestHeaderstype.toString()
-
Method Details
-
newBuilder
Creates a new builder for theEndpointRequestHeaderstype.- Returns:
- a new
EndpointRequestHeaders.Builder
-
getEnabled
trueif the module will be applied to traffic,falseto disable. defaulttrueif unspecified- Returns:
- the value of the property as a
booleanwrapped 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
-