public abstract class HttpMetadataPublisher extends Object
HttpAdapter
looks for this SPI in WSEndpoint.getComponents()
to allow components to expose additional information through HTTP.
Component.getSPI(Class)
Constructor and Description |
---|
HttpMetadataPublisher() |
Modifier and Type | Method and Description |
---|---|
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. |
public abstract boolean handleMetadataRequest(@NotNull HttpAdapter adapter, @NotNull WSHTTPConnection connection) throws IOException
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.adapter
- Adapter that accepted the connection.connection
- Represents the current connection.IOException
Copyright © 2015 Oracle Corporation. All rights reserved.