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 newHttpCallbackobject.withNegoHeader(String negoHeader) Set the negotiation header for the newHttpCallbackobject.withNegoValue(String negoValue) Set the negotiation value for the newHttpCallbackobject.withTokenHeader(String tokenHeader) Set the authorization header for the newHttpCallbackobject.
-
Method Details
-
withTokenHeader
Set the authorization header for the newHttpCallbackobject.- Parameters:
tokenHeader- the authorization header to use.- Returns:
- this
HttpCallback.Builderobject.
-
withNegoHeader
Set the negotiation header for the newHttpCallbackobject.- Parameters:
negoHeader- the negotiation header to use.- Returns:
- this
HttpCallback.Builderobject.
-
withNegoValue
Set the negotiation value for the newHttpCallbackobject.- Parameters:
negoValue- the negotiation value to use.- Returns:
- this
HttpCallback.Builderobject.
-
withErrorCode
Set the error code for the newHttpCallbackobject.- Parameters:
errorCode- the error code to use.- Returns:
- this
HttpCallback.Builderobject.
-