1 28 29 package HTTPClient; 30 31 import java.io.IOException ; 32 33 34 45 46 public interface AuthorizationHandler 47 { 48 74 AuthorizationInfo getAuthorization(AuthorizationInfo challenge, 75 RoRequest req, RoResponse resp) 76 throws AuthSchemeNotImplException; 77 78 79 102 AuthorizationInfo fixupAuthInfo(AuthorizationInfo info, RoRequest req, 103 AuthorizationInfo challenge, RoResponse resp) 104 throws AuthSchemeNotImplException; 105 106 107 122 void handleAuthHeaders(Response resp, RoRequest req, 123 AuthorizationInfo prev, AuthorizationInfo prxy) 124 throws IOException ; 125 126 127 141 void handleAuthTrailers(Response resp, RoRequest req, 142 AuthorizationInfo prev, AuthorizationInfo prxy) 143 throws IOException ; 144 } 145 146 | Popular Tags |