org.springframework.security.oauth.examples.tonr.mvc
Class SparklrController

java.lang.Object
  extended by org.springframework.security.oauth.examples.tonr.mvc.SparklrController

@Controller
public class SparklrController
extends Object

Author:
Ryan Heaton, Dave Syer

Constructor Summary
SparklrController()
           
 
Method Summary
 org.springframework.http.ResponseEntity<BufferedImage> photo(String id)
           
 String photos(Model model)
           
 void setSparklrService(SparklrService sparklrService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SparklrController

public SparklrController()
Method Detail

photos

@RequestMapping(value="/sparklr/photos")
public String photos(Model model)
              throws Exception
Throws:
Exception

photo

@RequestMapping(value="/sparklr/photos/{id}")
public org.springframework.http.ResponseEntity<BufferedImage> photo(@PathVariable
                                                                                        String id)
                                                             throws Exception
Throws:
Exception

setSparklrService

public void setSparklrService(SparklrService sparklrService)


Copyright © 2012. All Rights Reserved.