org.apache.cxf.javascript
Class JavascriptQueryHandler

java.lang.Object
  extended by org.apache.cxf.javascript.JavascriptQueryHandler
All Implemented Interfaces:
org.apache.cxf.transports.http.QueryHandler, org.apache.cxf.transports.http.StemMatchingQueryHandler

public class JavascriptQueryHandler
extends Object
implements org.apache.cxf.transports.http.StemMatchingQueryHandler


Constructor Summary
JavascriptQueryHandler(org.apache.cxf.Bus b)
           
 
Method Summary
 String getResponseContentType(String fullQueryString, String ctx)
           
 boolean isRecognizedQuery(String fullQueryString, String ctx, org.apache.cxf.service.model.EndpointInfo endpoint)
           
 boolean isRecognizedQuery(String baseUri, String ctx, org.apache.cxf.service.model.EndpointInfo endpointInfo, boolean contextMatchExact)
           
 void writeResponse(String fullQueryString, String ctx, org.apache.cxf.service.model.EndpointInfo endpoint, OutputStream os)
           
static void writeUtilsToResponseStream(Class<?> referenceClass, OutputStream outputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavascriptQueryHandler

public JavascriptQueryHandler(org.apache.cxf.Bus b)
Method Detail

getResponseContentType

public String getResponseContentType(String fullQueryString,
                                     String ctx)
Specified by:
getResponseContentType in interface org.apache.cxf.transports.http.QueryHandler

isRecognizedQuery

public boolean isRecognizedQuery(String baseUri,
                                 String ctx,
                                 org.apache.cxf.service.model.EndpointInfo endpointInfo,
                                 boolean contextMatchExact)
Specified by:
isRecognizedQuery in interface org.apache.cxf.transports.http.StemMatchingQueryHandler

writeUtilsToResponseStream

public static void writeUtilsToResponseStream(Class<?> referenceClass,
                                              OutputStream outputStream)

writeResponse

public void writeResponse(String fullQueryString,
                          String ctx,
                          org.apache.cxf.service.model.EndpointInfo endpoint,
                          OutputStream os)
Specified by:
writeResponse in interface org.apache.cxf.transports.http.QueryHandler

isRecognizedQuery

public boolean isRecognizedQuery(String fullQueryString,
                                 String ctx,
                                 org.apache.cxf.service.model.EndpointInfo endpoint)
Specified by:
isRecognizedQuery in interface org.apache.cxf.transports.http.QueryHandler


Apache CXF