Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Custom verification of http headers using java callout

Not applicable

I wish to use some custom calculations that are best written in java to compute header checksums.

If the computed checksum does not match the header checksum, I need to throw out an error. Simple enough! All examples show how ExecutionResult(false, Action.ABORT) can be used to return the error.

However, if the checksum is correct, I need to pass the request to a service endpoint. I don't see any example of being able to do that. All examples of callouts seem to end by creating a response.

Any examples/code snippets would be greatly helpful!

1 1 274
1 REPLY 1