Class ProfileHelperController

java.lang.Object
org.craftercms.social.controllers.rest.v3.comments.ProfileHelperController

@Controller @RequestMapping("/api/3/profile") public class ProfileHelperController extends Object
  • Field Details

    • AVATAR

      public static final String AVATAR
      See Also:
    • profileService

      @Autowired protected org.craftercms.profile.api.services.ProfileService profileService
  • Constructor Details

    • ProfileHelperController

      public ProfileHelperController()
  • Method Details

    • getProfileAvatar

      @RequestMapping(value="/avatar/{profileId}", method=POST) @ResponseBody public org.craftercms.profile.api.Profile getProfileAvatar(org.springframework.web.multipart.MultipartHttpServletRequest request, javax.servlet.http.HttpServletResponse response, @PathVariable("profileId") String profileId) throws IOException, org.craftercms.profile.api.exceptions.ProfileException
      Throws:
      IOException
      org.craftercms.profile.api.exceptions.ProfileException
    • getProfileAvatar

      @RequestMapping(value="/avatar/{profileId}", method=GET) public void getProfileAvatar(javax.servlet.http.HttpServletResponse response, @PathVariable("profileId") String profileId, javax.servlet.http.HttpServletRequest request) throws IOException, SocialException
      Throws:
      IOException
      SocialException