Apache CXF API

org.apache.cxf.frontend
Class WSDLGetInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
      extended by org.apache.cxf.frontend.WSDLGetInterceptor
All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>

public class WSDLGetInterceptor
extends AbstractPhaseInterceptor<Message>


Field Summary
static String AUTO_REWRITE_ADDRESS
           
static WSDLGetInterceptor INSTANCE
           
static String PUBLISHED_ENDPOINT_URL
           
 
Constructor Summary
WSDLGetInterceptor()
           
 
Method Summary
 void handleMessage(Message message)
          Intercepts a message.
 boolean isRecognizedQuery(Map<String,String> map, String baseUri, String ctx, EndpointInfo endpointInfo)
           
protected  void updateDefinition(Bus bus, javax.wsdl.Definition def, Map<String,javax.wsdl.Definition> done, Map<String,javax.wsdl.extensions.schema.SchemaReference> doneSchemas, String base, EndpointInfo ei)
           
protected  void updateDoc(Document doc, String base, Map<String,javax.wsdl.Definition> mp, Map<String,javax.wsdl.extensions.schema.SchemaReference> smp, Message message)
           
protected  void updatePublishedEndpointUrl(String publishingUrl, javax.wsdl.Definition def, QName name)
           
protected  void updateSchemaImports(Bus bus, javax.wsdl.extensions.schema.Schema schema, Map<String,javax.wsdl.extensions.schema.SchemaReference> doneSchemas, String base)
           
 void writeResponse(Message message, String base, Map<String,String> params, String ctxUri, EndpointInfo endpointInfo, OutputStream os)
           
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final WSDLGetInterceptor INSTANCE

AUTO_REWRITE_ADDRESS

public static final String AUTO_REWRITE_ADDRESS
See Also:
Constant Field Values

PUBLISHED_ENDPOINT_URL

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

WSDLGetInterceptor

public WSDLGetInterceptor()
Method Detail

handleMessage

public void handleMessage(Message message)
                   throws Fault
Description copied from interface: Interceptor
Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.

Throws:
Fault

isRecognizedQuery

public boolean isRecognizedQuery(Map<String,String> map,
                                 String baseUri,
                                 String ctx,
                                 EndpointInfo endpointInfo)

writeResponse

public void writeResponse(Message message,
                          String base,
                          Map<String,String> params,
                          String ctxUri,
                          EndpointInfo endpointInfo,
                          OutputStream os)

updateDoc

protected void updateDoc(Document doc,
                         String base,
                         Map<String,javax.wsdl.Definition> mp,
                         Map<String,javax.wsdl.extensions.schema.SchemaReference> smp,
                         Message message)

updateDefinition

protected void updateDefinition(Bus bus,
                                javax.wsdl.Definition def,
                                Map<String,javax.wsdl.Definition> done,
                                Map<String,javax.wsdl.extensions.schema.SchemaReference> doneSchemas,
                                String base,
                                EndpointInfo ei)

updatePublishedEndpointUrl

protected void updatePublishedEndpointUrl(String publishingUrl,
                                          javax.wsdl.Definition def,
                                          QName name)

updateSchemaImports

protected void updateSchemaImports(Bus bus,
                                   javax.wsdl.extensions.schema.Schema schema,
                                   Map<String,javax.wsdl.extensions.schema.SchemaReference> doneSchemas,
                                   String base)

Apache CXF API

Apache CXF