@Controller public class InternalResourceController extends Object
| Constructor and Description |
|---|
InternalResourceController() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
requestCSS(javax.servlet.http.HttpServletResponse response)
Controller method to deliver application CSS
|
byte[] |
requestJS(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Controller method to deliver application JS
|
@ResponseBody
@RequestMapping(value="/jhawtcode/jhc.css",
method=GET)
public byte[] requestCSS(javax.servlet.http.HttpServletResponse response)
throws IOException
response - The http response object from a spring controllerIOException@ResponseBody
@RequestMapping(value="/jhawtcode/jhc.js",
method=GET)
public byte[] requestJS(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
response - The http response object from a spring controllerrequest - The http request object from a spring controllerIOExceptionCopyright © 2014. All rights reserved.