Package com.ngrok.definitions
Class EndpointResponseHeaders
java.lang.Object
com.ngrok.definitions.EndpointResponseHeaders
A class encapsulating the
EndpointResponseHeaders
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 Response returned to the HTTP clienttrue
if the module will be applied to traffic,false
to disable.a list of header names that will be removed from the HTTP Response returned to the HTTP clientint
hashCode()
Creates a new builder for theEndpointResponseHeaders
type.toString()
-
Method Details
-
newBuilder
Creates a new builder for theEndpointResponseHeaders
type.- Returns:
- a new
EndpointResponseHeaders.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 Response returned to the HTTP client -
getRemove
a list of header names that will be removed from the HTTP Response returned to the HTTP client -
equals
-
hashCode
public int hashCode() -
toString
-