com.sun.xml.ws.transport.http
Class HttpMetadataPublisher

java.lang.Object
  extended by com.sun.xml.ws.transport.http.HttpMetadataPublisher

public abstract class HttpMetadataPublisher
extends Object

Intercepts GET HTTP requests to process the requests.

HttpAdapter looks for this SPI in WSEndpoint.getComponentRegistry() to allow components to expose additional information through HTTP.

Since:
2.1.2
See Also:
EndpointComponent.getSPI(Class)

Constructor Summary
HttpMetadataPublisher()
           
 
Method Summary
abstract  boolean handleMetadataRequest(HttpAdapter adapter, WSHTTPConnection connection)
          When HttpAdapter receives a GET request with a query string (which is a convention for metadata requests, such as '?wsdl' or '?xsd=...'), then this method is invoked to allow components to intercept the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpMetadataPublisher

public HttpMetadataPublisher()
Method Detail

handleMetadataRequest

public abstract boolean handleMetadataRequest(@NotNull
                                              HttpAdapter adapter,
                                              @NotNull
                                              WSHTTPConnection connection)
                                       throws IOException
When HttpAdapter receives a GET request with a query string (which is a convention for metadata requests, such as '?wsdl' or '?xsd=...'), then this method is invoked to allow components to intercept the request.

Parameters:
adapter - Adapter that accepted the connection.
connection - Represents the current connection.
Returns:
true if the request is processed. If false is returned the default processing kicks in.
Throws:
IOException