java - how to add RedirectStrategy to Apache HttpComponents NHttpReverseProxy -
i want enable redirection in httpcomponents nhttpreverseproxy example. me, seems logical place implement http protocol processor, haven't found 1 can implement or extend. have seen stack overflow question here discusses parameter handles automatic redirect handling, link broken. looked @ example on github, i'm not sure how incorporate code reverse proxy example.
nhttpreverseproxy
represents extremely basic implementation of reverse proxy non-essential bits omitted intended demonstrate efficient handling of inbound , outbound message streams using event-driven non-blocking i/o model. more complex scenarios 1 use apache httpasyncclient execute outbound requests, automatically handle redirects
Comments
Post a Comment