org.apache.blur.console.util
Class HttpUtil

java.lang.Object
  extended by org.apache.blur.console.util.HttpUtil

public class HttpUtil
extends Object


Field Summary
static String JSON
           
static String TEXT
           
 
Constructor Summary
HttpUtil()
           
 
Method Summary
static String getFirstParam(String[] param)
           
static void sendResponse(javax.servlet.http.HttpServletResponse res, String body, String contentType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JSON

public static final String JSON
See Also:
Constant Field Values

TEXT

public static final String TEXT
See Also:
Constant Field Values
Constructor Detail

HttpUtil

public HttpUtil()
Method Detail

sendResponse

public static void sendResponse(javax.servlet.http.HttpServletResponse res,
                                String body,
                                String contentType)
                         throws IOException
Throws:
IOException

getFirstParam

public static String getFirstParam(String[] param)


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.