public void init ( HttpOutboundServiceContext sc , BNFHeaders hdrs ) { // for requests, we don't care about the validation setHeaderValidation ( false ) ; setOwner ( sc ) ; setBinaryParseState ( HttpInternalConstants . PARSING_BINARY_VERSION ) ; if ( null != hdrs ) { hdrs . duplicate ( this ) ; } setVersion ( getServiceContext ( ) . getHttpConfig ( ) . getOutgoingVersion ( ) ) ; }
Initialize this outgoing HTTP request message with specific headers ie . ones stored in a cache perhaps .