Package com.sun.xml.ws.transport.http
Class HttpMetadataPublisher
- java.lang.Object
-
- com.sun.xml.ws.transport.http.HttpMetadataPublisher
-
public abstract class HttpMetadataPublisher extends Object
Intercepts GET HTTP requests to process the requests.HttpAdapterlooks for this SPI inWSEndpoint.getComponents()to allow components to expose additional information through HTTP.- Since:
- 2.1.2
- Author:
- Kohsuke Kawaguchi
- See Also:
Component.getSPI(Class)
-
-
Constructor Summary
Constructors Constructor Description HttpMetadataPublisher()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleanhandleMetadataRequest(HttpAdapter adapter, WSHTTPConnection connection)WhenHttpAdapterreceives 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.
-
-
-
Method Detail
-
handleMetadataRequest
public abstract boolean handleMetadataRequest(@NotNull HttpAdapter adapter, @NotNull WSHTTPConnection connection) throws IOException
WhenHttpAdapterreceives 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
-
-