Class Content.Adapter
- java.lang.Object
-
- org.glassfish.appclient.server.core.jws.servedcontent.Content.Adapter
-
- All Implemented Interfaces:
Content
- Direct Known Subclasses:
CachingDynamicContentImpl
,FixedContent
,SimpleDynamicContentImpl
- Enclosing interface:
- Content
public static class Content.Adapter extends Object implements Content
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.glassfish.appclient.server.core.jws.servedcontent.Content
Content.Adapter, Content.State
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAvailable(URI requestURI)
void
resume()
void
start()
Content.State
state()
void
stop()
void
suspend()
-
-
-
Method Detail
-
state
public Content.State state()
-
isAvailable
public boolean isAvailable(URI requestURI) throws IOException
- Specified by:
isAvailable
in interfaceContent
- Throws:
IOException
-
-