Class HttpCallback.Builder
java.lang.Object
com.sun.identity.authentication.spi.HttpCallback.Builder
- Enclosing class:
- HttpCallback
Builder object for the
HttpCallback
.-
Method Summary
Modifier and TypeMethodDescriptionwithErrorCode
(int errorCode) Set the error code for the newHttpCallback
object.withNegoHeader
(String negoHeader) Set the negotiation header for the newHttpCallback
object.withNegoValue
(String negoValue) Set the negotiation value for the newHttpCallback
object.withTokenHeader
(String tokenHeader) Set the authorization header for the newHttpCallback
object.
-
Method Details
-
withTokenHeader
Set the authorization header for the newHttpCallback
object.- Parameters:
tokenHeader
- the authorization header to use.- Returns:
- this
HttpCallback.Builder
object.
-
withNegoHeader
Set the negotiation header for the newHttpCallback
object.- Parameters:
negoHeader
- the negotiation header to use.- Returns:
- this
HttpCallback.Builder
object.
-
withNegoValue
Set the negotiation value for the newHttpCallback
object.- Parameters:
negoValue
- the negotiation value to use.- Returns:
- this
HttpCallback.Builder
object.
-
withErrorCode
Set the error code for the newHttpCallback
object.- Parameters:
errorCode
- the error code to use.- Returns:
- this
HttpCallback.Builder
object.
-