Java Doc for ForwardFrame.java in  » Web-Server » Jigsaw » org » w3c » jigsaw » proxy » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Server » Jigsaw » org.w3c.jigsaw.proxy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.w3c.jigsaw.frames.HTTPFrame
   org.w3c.jigsaw.proxy.ForwardFrame

All known Subclasses:   org.w3c.jigsaw.proxy.MirrorFrame,
ForwardFrame
public class ForwardFrame extends HTTPFrame (Code)


Field Summary
protected static  intATTR_LOCAL_ROOT
     Attribute index - The local resource, if server-wide request.
protected static  intATTR_RECEIVED_BY
     Attribute index - The received by attribute of that proxy.
protected static  intATTR_TRACEREQ
     Attribute index - Try to trace how the request has been processed.
protected static  HttpWarningWARN_HEURISTIC
     The HTTP warning used to indicate a heuristic expiration time.
public  intcache_hits
     Statistics - Number of hits.
public  intcache_icps
     Statistics - Number of ICP redirects.
public  intcache_misses
     Statistics - Number of misses.
public  intcache_nocache
     Statistics - Number of requests that didn't use cache.
public  intcache_retrievals
     Statistics - Number of successfull revalidations.
public  intcache_revalidations
     Statistics - Number of successfull revalidations.
protected  ResourceReferencelroot
     Get the local root resource to use for internal requests.
protected  org.w3c.www.protocol.http.HttpManagermanager
     The HttpManager we use.
 ObservablePropertiesprops
     The set of properties we inited from.
public  intreqcount
     Statistics - Number of requests handled.
public  intreqerred
     Statistics - Errors.


Method Summary
protected  ReplydupReply(Request request, org.w3c.www.protocol.http.Reply rep)
     Duplicate the given client side reply into a server side one. Perform any actions requested by HTTP/1.1.
Parameters:
  request - The request ebing processed.
Parameters:
  reply - The reply to clone.
protected  org.w3c.www.protocol.http.RequestdupRequest(Request request)
     Duplicate a server side request into a client side request.
Parameters:
  request - The server side request.
public  StringgetLocalRoot()
     Get the local root resource name.
public synchronized  ResourceReferencegetLocalRootResource()
    
public  StringgetReceivedBy()
     Get the received by attribute value.
public  booleangetTraceRequest()
    
public synchronized  StringgetVia()
    
public  voidinitialize(Object values)
    
public synchronized  voidnotifyUnload()
     This resource is being unloaded.
public  ReplyInterfaceperform(RequestInterface ri)
     Perform the given proxied request.
Parameters:
  request - The request to perform.
public  voidregisterResource(FramedResource resource)
    
protected  voidupdateStatistics(org.w3c.www.protocol.http.Request r)
     Update relevant statistics (kind of a hack).

Field Detail
ATTR_LOCAL_ROOT
protected static int ATTR_LOCAL_ROOT(Code)
Attribute index - The local resource, if server-wide request.



ATTR_RECEIVED_BY
protected static int ATTR_RECEIVED_BY(Code)
Attribute index - The received by attribute of that proxy.



ATTR_TRACEREQ
protected static int ATTR_TRACEREQ(Code)
Attribute index - Try to trace how the request has been processed.



WARN_HEURISTIC
protected static HttpWarning WARN_HEURISTIC(Code)
The HTTP warning used to indicate a heuristic expiration time.



cache_hits
public int cache_hits(Code)
Statistics - Number of hits.



cache_icps
public int cache_icps(Code)
Statistics - Number of ICP redirects.



cache_misses
public int cache_misses(Code)
Statistics - Number of misses.



cache_nocache
public int cache_nocache(Code)
Statistics - Number of requests that didn't use cache.



cache_retrievals
public int cache_retrievals(Code)
Statistics - Number of successfull revalidations.



cache_revalidations
public int cache_revalidations(Code)
Statistics - Number of successfull revalidations.



lroot
protected ResourceReference lroot(Code)
Get the local root resource to use for internal requests.



manager
protected org.w3c.www.protocol.http.HttpManager manager(Code)
The HttpManager we use.



props
ObservableProperties props(Code)
The set of properties we inited from.



reqcount
public int reqcount(Code)
Statistics - Number of requests handled.



reqerred
public int reqerred(Code)
Statistics - Errors.





Method Detail
dupReply
protected Reply dupReply(Request request, org.w3c.www.protocol.http.Reply rep) throws HTTPException, IOException(Code)
Duplicate the given client side reply into a server side one. Perform any actions requested by HTTP/1.1.
Parameters:
  request - The request ebing processed.
Parameters:
  reply - The reply to clone. A server-side Reply instance.
exception:
  HTTPException - If some HTTP errors occured in the process.
exception:
  IOException - If setting the streams failed.



dupRequest
protected org.w3c.www.protocol.http.Request dupRequest(Request request) throws HTTPException, IOException(Code)
Duplicate a server side request into a client side request.
Parameters:
  request - The server side request. A Client side request.
exception:
  HTTPException - if processing the request failed.
exception:
  IOException - if an IO error occurs.



getLocalRoot
public String getLocalRoot()(Code)
Get the local root resource name.



getLocalRootResource
public synchronized ResourceReference getLocalRootResource()(Code)



getReceivedBy
public String getReceivedBy()(Code)
Get the received by attribute value.

If this attribute is not defined, it will default to the name of the host running the proxy. A String.




getTraceRequest
public boolean getTraceRequest()(Code)
Should we try to trace request path ? A boolean.



getVia
public synchronized String getVia()(Code)



initialize
public void initialize(Object values)(Code)



notifyUnload
public synchronized void notifyUnload()(Code)
This resource is being unloaded. Tell the HttpManager to save any pending data to stable storage.



perform
public ReplyInterface perform(RequestInterface ri) throws org.w3c.tools.resources.ProtocolException, org.w3c.tools.resources.ResourceException(Code)
Perform the given proxied request.
Parameters:
  request - The request to perform. A Reply instance.
exception:
  org.w3c.tools.resources.ProtocolException - if processingthe request failed.
exception:
  org.w3c.tools.resources.ResourceException - if the resourcegot a fatal error.



registerResource
public void registerResource(FramedResource resource)(Code)
companion to initialize, called after the register



updateStatistics
protected void updateStatistics(org.w3c.www.protocol.http.Request r)(Code)
Update relevant statistics (kind of a hack).



Fields inherited from org.w3c.jigsaw.frames.HTTPFrame
protected static int ATTR_ALLOW_DEL(Code)(Java Doc)
protected static int ATTR_BROWSABLE(Code)(Java Doc)
protected static int ATTR_CHARSET(Code)(Java Doc)
protected static int ATTR_CONTENT_ENCODING(Code)(Java Doc)
protected static int ATTR_CONTENT_LANGUAGE(Code)(Java Doc)
protected static int ATTR_CONTENT_LENGTH(Code)(Java Doc)
protected static int ATTR_CONTENT_TYPE(Code)(Java Doc)
protected static int ATTR_ICON(Code)(Java Doc)
protected static int ATTR_ICONDIR(Code)(Java Doc)
protected static int ATTR_INDEX(Code)(Java Doc)
protected static int ATTR_INDEXES(Code)(Java Doc)
protected static int ATTR_MAXAGE(Code)(Java Doc)
protected static int ATTR_MD5(Code)(Java Doc)
protected static int ATTR_PUTABLE(Code)(Java Doc)
protected static int ATTR_QUALITY(Code)(Java Doc)
protected static int ATTR_RELOCATE(Code)(Java Doc)
protected static int ATTR_STYLE_LINK(Code)(Java Doc)
protected static int ATTR_TITLE(Code)(Java Doc)
final public static int COND_FAILED(Code)(Java Doc)
final public static int COND_OK(Code)(Java Doc)
final public static int COND_WEAK(Code)(Java Doc)
final public static String STATE_CONTENT_LOCATION(Code)(Java Doc)
protected boolean acceptRanges(Code)(Java Doc)
protected HttpTokenList allowed(Code)(Java Doc)
protected static MimeType browsetype(Code)(Java Doc)
protected DirectoryResource dresource(Code)(Java Doc)
protected FileResource fresource(Code)(Java Doc)
protected HtmlGenerator listing(Code)(Java Doc)
protected long listing_stamp(Code)(Java Doc)

Methods inherited from org.w3c.jigsaw.frames.HTTPFrame
public void addStyleSheet(HtmlGenerator g)(Code)(Java Doc)
public void attributeChanged(AttributeChangedEvent evt)(Code)(Java Doc)
public Reply browse(Request request) throws ProtocolException(Code)(Java Doc)
public boolean checkExpect(Request request)(Code)(Java Doc)
public int checkIfMatch(Request request)(Code)(Java Doc)
public int checkIfModifiedSince(Request request)(Code)(Java Doc)
public int checkIfNoneMatch(Request request)(Code)(Java Doc)
public int checkIfUnmodifiedSince(Request request)(Code)(Java Doc)
public boolean checkRequest(RequestInterface request)(Code)(Java Doc)
public int checkValidators(Request request)(Code)(Java Doc)
public boolean computeContainerListing(boolean refresh)(Code)(Java Doc)
public String computeETag()(Code)(Java Doc)
protected File computeTrashDir(File dir)(Code)(Java Doc)
protected File computeTrashFile(File file)(Code)(Java Doc)
public Reply createDefaultReply(Request request, int status)(Code)(Java Doc)
protected Reply createFileReply(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
public Reply delete(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
protected Reply deleteDirectoryResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
protected Reply deleteFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
protected Reply deleteMe(Request request) throws HTTPException(Code)(Java Doc)
protected Reply deleteOtherResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
public Reply extended(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
public Reply get(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
protected HttpTokenList getAllow()(Code)(Java Doc)
public boolean getAllowDeleteFlag()(Code)(Java Doc)
public boolean getBrowsableFlag()(Code)(Java Doc)
protected synchronized MimeType getBrowseType()(Code)(Java Doc)
public String getCharset()(Code)(Java Doc)
public String getContentEncoding()(Code)(Java Doc)
public String getContentLanguage()(Code)(Java Doc)
public int getContentLength()(Code)(Java Doc)
public MimeType getContentType()(Code)(Java Doc)
public Reply getDirectoryListing(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
public DirectoryResource getDirectoryResource()(Code)(Java Doc)
protected Reply getDirectoryResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
public HttpEntityTag getETag()(Code)(Java Doc)
public FileResource getFileResource()(Code)(Java Doc)
protected Reply getFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
public String getHelpURL()(Code)(Java Doc)
public String getHelpURL(String topic)(Code)(Java Doc)
public String getIcon()(Code)(Java Doc)
public String getIconDirectory()(Code)(Java Doc)
public String getIndex()(Code)(Java Doc)
public String[] getIndexes()(Code)(Java Doc)
public boolean getMD5Flag()(Code)(Java Doc)
public long getMaxAge()(Code)(Java Doc)
protected Reply getOtherResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
public boolean getPutableFlag()(Code)(Java Doc)
public double getQuality()(Code)(Java Doc)
public boolean getRelocateFlag()(Code)(Java Doc)
public String getStyleSheetURL()(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
public URL getURL(Request request)(Code)(Java Doc)
public Reply handleRangeRequest(Request request, HttpRange r) throws ProtocolException(Code)(Java Doc)
public Reply head(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
protected Reply headDirectoryResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
protected Reply headFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
protected Reply headOtherResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
public void initialize(Hashtable defs)(Code)(Java Doc)
public Reply link(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
public boolean lookup(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc)
protected boolean lookupDirectory(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc)
protected boolean lookupFile(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc)
protected boolean lookupOther(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc)
protected boolean lookupResource(LookupState ls, LookupResult lr) throws ProtocolException(Code)(Java Doc)
public Reply options(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
public ReplyInterface perform(RequestInterface req) throws ProtocolException, ResourceException(Code)(Java Doc)
protected ReplyInterface performFrames(RequestInterface request) throws ProtocolException, ResourceException(Code)(Java Doc)
public void pickleValues(Hashtable defs)(Code)(Java Doc)
public Reply post(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
public Reply put(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
protected Reply putFileResource(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
protected Reply putOtherResource(Request request) throws ProtocolException(Code)(Java Doc)
public void registerOtherResource(FramedResource resource)(Code)(Java Doc)
public void registerResource(FramedResource resource)(Code)(Java Doc)
public synchronized void setValue(int idx, Object value)(Code)(Java Doc)
public Reply trace(Request request) throws HTTPException, ClientException(Code)(Java Doc)
public Reply unlink(Request request) throws ProtocolException, ResourceException(Code)(Java Doc)
public double unsafeGetQuality()(Code)(Java Doc)
protected void updateCachedHeaders()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.