Interface ResponseBuilder<T extends WebApplicationService>
- Type Parameters:
T- the type parameter
- All Superinterfaces:
org.springframework.core.Ordered,Serializable
public interface ResponseBuilder<T extends WebApplicationService>
extends Serializable, org.springframework.core.Ordered
Represents the task of building a CAS response
that is returned by a service.
- Since:
- 4.2.0
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Methods inherited from interface org.springframework.core.Ordered
getOrder
-
Method Details
-
build
Build response. The implementation must produce a response that is based on the type passed. Given the protocol used, the ticket id may be passed as part of the response. If the response type is not recognized, an error must be thrown back.- Parameters:
service- the serviceserviceTicketId- the service ticket idauthentication- the authentication- Returns:
- the response
-
supports
Supports this service.- Parameters:
service- the service- Returns:
- true /false
-