Class TCPServletContext
- java.lang.Object
-
- 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
Constructors Constructor Description TCPServletContext(jakarta.servlet.ServletContext servletContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttribute(String name)URLgetResource(String resource)InputStreamgetResourceAsStream(String resource)Set<String>getResourcePaths(String path)voidsetAttribute(String name, Object value)
-
-
-
Method Detail
-
getResourceAsStream
public InputStream getResourceAsStream(String resource) throws IOException
- Specified by:
getResourceAsStreamin interfaceTCPContext- Throws:
IOException
-
getResourcePaths
public Set<String> getResourcePaths(String path)
- Specified by:
getResourcePathsin interfaceTCPContext
-
getResource
public URL getResource(String resource) throws MalformedURLException
- Specified by:
getResourcein interfaceTCPContext- Throws:
MalformedURLException
-
getAttribute
public Object getAttribute(String name)
- Specified by:
getAttributein interfaceTCPContext
-
setAttribute
public void setAttribute(String name, Object value)
- Specified by:
setAttributein interfaceTCPContext
-
-