code: protected ResponseEntity<String> createResponseEntityForTicket(final HttpServletRequest request,
                                                                     final TicketGrantingTicket tgtId) throws Exception {
          return this.ticketGrantingTicketResourceEntityResponseFactory.build(tgtId, request);
      }
docs: Create response entity for ticket response entity.
  
  @param request the request
  @param tgtId   the tgt id
  @return the response entity
  @throws Exception the exception