com.sun.xml.ws.transport.httpspi.servlet
Class EndpointAdapter

java.lang.Object
  extended by com.sun.xml.ws.transport.httpspi.servlet.EndpointAdapter

public final class EndpointAdapter
extends java.lang.Object


Constructor Summary
EndpointAdapter(javax.xml.ws.Endpoint endpoint, java.lang.String urlPattern)
           
 
Method Summary
 void dispose()
           
 javax.xml.ws.spi.http.HttpContext getContext()
           
 javax.xml.ws.Endpoint getEndpoint()
           
 java.lang.String getUrlPattern()
           
 java.lang.String getValidPath()
          Returns the "/abc/def/ghi" portion if the URL pattern is "/abc/def/ghi/*".
 void handle(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void publish()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointAdapter

public EndpointAdapter(javax.xml.ws.Endpoint endpoint,
                       java.lang.String urlPattern)
Method Detail

getEndpoint

public javax.xml.ws.Endpoint getEndpoint()

getContext

public javax.xml.ws.spi.http.HttpContext getContext()

publish

public void publish()

dispose

public void dispose()

getUrlPattern

public java.lang.String getUrlPattern()

handle

public void handle(javax.servlet.ServletContext context,
                   javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws java.io.IOException
Throws:
java.io.IOException

getValidPath

public java.lang.String getValidPath()
Returns the "/abc/def/ghi" portion if the URL pattern is "/abc/def/ghi/*".



Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.