Class HttpFormAuthConfigurer
- java.lang.Object
-
- org.apache.nutch.protocol.httpclient.HttpFormAuthConfigurer
-
public class HttpFormAuthConfigurer extends Object
-
-
Constructor Summary
Constructors Constructor Description HttpFormAuthConfigurer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getAdditionalPostHeaders()
String
getCookiePolicy()
String
getLoginFormId()
Map<String,String>
getLoginPostData()
String
getLoginUrl()
Set<String>
getRemovedFormFields()
boolean
isLoginRedirect()
HttpFormAuthConfigurer
setAdditionalPostHeaders(Map<String,String> additionalPostHeaders)
void
setCookiePolicy(String policy)
HttpFormAuthConfigurer
setLoginFormId(String loginForm)
HttpFormAuthConfigurer
setLoginPostData(Map<String,String> loginPostData)
HttpFormAuthConfigurer
setLoginRedirect(boolean redirect)
HttpFormAuthConfigurer
setLoginUrl(String loginUrl)
HttpFormAuthConfigurer
setRemovedFormFields(Set<String> removedFormFields)
-
-
-
Method Detail
-
getLoginUrl
public String getLoginUrl()
-
setLoginUrl
public HttpFormAuthConfigurer setLoginUrl(String loginUrl)
-
getLoginFormId
public String getLoginFormId()
-
setLoginFormId
public HttpFormAuthConfigurer setLoginFormId(String loginForm)
-
setLoginPostData
public HttpFormAuthConfigurer setLoginPostData(Map<String,String> loginPostData)
-
setAdditionalPostHeaders
public HttpFormAuthConfigurer setAdditionalPostHeaders(Map<String,String> additionalPostHeaders)
-
isLoginRedirect
public boolean isLoginRedirect()
-
setLoginRedirect
public HttpFormAuthConfigurer setLoginRedirect(boolean redirect)
-
setRemovedFormFields
public HttpFormAuthConfigurer setRemovedFormFields(Set<String> removedFormFields)
-
setCookiePolicy
public void setCookiePolicy(String policy)
-
getCookiePolicy
public String getCookiePolicy()
-
-