net.hurstfrost.hudson.sounds
Class JSONHttpResponse

java.lang.Object
  extended by net.hurstfrost.hudson.sounds.JSONHttpResponse
All Implemented Interfaces:
org.kohsuke.stapler.HttpResponse

public class JSONHttpResponse
extends java.lang.Object
implements org.kohsuke.stapler.HttpResponse


Field Summary
protected  net.sf.json.JSONObject jsonObject
           
 
Constructor Summary
JSONHttpResponse(net.sf.json.JSONObject jsonObject)
           
 
Method Summary
 void generateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, java.lang.Object node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jsonObject

protected final net.sf.json.JSONObject jsonObject
Constructor Detail

JSONHttpResponse

public JSONHttpResponse(net.sf.json.JSONObject jsonObject)
Method Detail

generateResponse

public void generateResponse(org.kohsuke.stapler.StaplerRequest req,
                             org.kohsuke.stapler.StaplerResponse rsp,
                             java.lang.Object node)
                      throws java.io.IOException,
                             javax.servlet.ServletException
Specified by:
generateResponse in interface org.kohsuke.stapler.HttpResponse
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2013. All Rights Reserved.