MessageHeaders.getExpectations

Gets the expectations declared by hdrs's "Expect" header.

Currently this will either be soup.types.Expectation.Continue or soup.types.Expectation.Unrecognized.

class MessageHeaders
getExpectations
()

Return Value

Type: soup.types.Expectation

the contents of hdrs's "Expect" header