public interface QueryHandler
Modifier and Type | Method and Description |
---|---|
String |
getResponseContentType(String fullQueryString,
String ctx) |
boolean |
isRecognizedQuery(String fullQueryString,
String ctx,
EndpointInfo endpoint) |
void |
writeResponse(String fullQueryString,
String ctx,
EndpointInfo endpoint,
OutputStream os)
Write query response to output stream
|
boolean isRecognizedQuery(String fullQueryString, String ctx, EndpointInfo endpoint)
fullQueryString
- the target full query string (with params) of the requestctx
- the context that was set for this invokationendpoint
- the current endpoint for this context (e.g. the endpoint this
Destination was activated for). Null if no current endpoint.String getResponseContentType(String fullQueryString, String ctx)
fullQueryString
- the target full query string (with params) of the requestctx
- the context that was set for this invokationvoid writeResponse(String fullQueryString, String ctx, EndpointInfo endpoint, OutputStream os)
fullQueryString
- the target full query string (with params) of the requestctx
- the context that was set for this invokationendpoint
- the current endpoint for this context (e.g. the endpoint this
Destination was activated for). Null if no current endpoint.Apache CXF