Package com.ngrok.definitions
Class EndpointResponseHeaders
java.lang.Object
com.ngrok.definitions.EndpointResponseHeaders
A class encapsulating the
EndpointResponseHeaders 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 Response returned to the HTTP clienttrueif the module will be applied to traffic,falseto disable.a list of header names that will be removed from the HTTP Response returned to the HTTP clientinthashCode()Creates a new builder for theEndpointResponseHeaderstype.toString()
-
Method Details
-
newBuilder
Creates a new builder for theEndpointResponseHeaderstype.- Returns:
- a new
EndpointResponseHeaders.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 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
-