com.sun.xml.ws.transport.tcp.server
Class TCPServletContext

java.lang.Object
  extended by com.sun.xml.ws.transport.tcp.server.TCPServletContext
All Implemented Interfaces:
TCPContext

public final class TCPServletContext
extends Object
implements TCPContext

Author:
Alexey Stashok

Constructor Summary
TCPServletContext(javax.servlet.ServletContext servletContext)
           
 
Method Summary
 Object getAttribute(String name)
           
 URL getResource(String resource)
           
 InputStream getResourceAsStream(String resource)
           
 Set<String> getResourcePaths(String path)
           
 void setAttribute(String name, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCPServletContext

public TCPServletContext(javax.servlet.ServletContext servletContext)
Method Detail

getResourceAsStream

public InputStream getResourceAsStream(String resource)
                                throws IOException
Specified by:
getResourceAsStream in interface TCPContext
Throws:
IOException

getResourcePaths

public Set<String> getResourcePaths(String path)
Specified by:
getResourcePaths in interface TCPContext

getResource

public URL getResource(String resource)
                throws MalformedURLException
Specified by:
getResource in interface TCPContext
Throws:
MalformedURLException

getAttribute

public Object getAttribute(String name)
Specified by:
getAttribute in interface TCPContext

setAttribute

public void setAttribute(String name,
                         Object value)
Specified by:
setAttribute in interface TCPContext


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.