|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.engine.ServiceEncodingImpl
public class ServiceEncodingImpl
Implementation of ServiceEncoding, which adds the ability to
determine when the encoding has been modified.
| Constructor Summary | |
|---|---|
ServiceEncodingImpl(java.lang.String servletPath)
Creates a new instance with a new map of parameters. |
|
ServiceEncodingImpl(java.lang.String servletPath,
java.util.Map parametersMap)
|
|
ServiceEncodingImpl(java.lang.String servletPath,
java.lang.String pathInfo,
QueryParameterMap parameters)
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getParameterNames()
Returns an array of parameter names. |
java.lang.String |
getParameterValue(java.lang.String name)
Returns the value for the named parameter. |
java.lang.String[] |
getParameterValues(java.lang.String name)
Returns the value for the named parameter. |
java.lang.String |
getPathInfo()
Returns the portion of the URL after the servlet itself. |
java.lang.String |
getServletPath()
Returns the servlet path for the request. |
boolean |
isModified()
|
void |
resetModified()
|
void |
setParameterValue(java.lang.String name,
java.lang.String value)
Sets the value for the named query parameter to the provided string. |
void |
setParameterValues(java.lang.String name,
java.lang.String[] values)
Sets the values for a named query parameter. |
void |
setServletPath(java.lang.String servletPath)
Updates the servlet path for the encoding. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceEncodingImpl(java.lang.String servletPath)
public ServiceEncodingImpl(java.lang.String servletPath,
java.util.Map parametersMap)
public ServiceEncodingImpl(java.lang.String servletPath,
java.lang.String pathInfo,
QueryParameterMap parameters)
| Method Detail |
|---|
public boolean isModified()
public void resetModified()
public java.lang.String getParameterValue(java.lang.String name)
ServiceEncoding
getParameterValue in interface ServiceEncodingpublic java.lang.String[] getParameterValues(java.lang.String name)
ServiceEncoding
getParameterValues in interface ServiceEncodingpublic void setServletPath(java.lang.String servletPath)
ServiceEncoding
setServletPath in interface ServiceEncoding
public void setParameterValue(java.lang.String name,
java.lang.String value)
ServiceEncoding
setParameterValue in interface ServiceEncodingname - the name of the parameter to set.value - the new value, which may be null.
public void setParameterValues(java.lang.String name,
java.lang.String[] values)
ServiceEncoding
setParameterValues in interface ServiceEncodingpublic java.lang.String getServletPath()
ServiceEncoding
getServletPath in interface ServiceEncodingpublic java.lang.String[] getParameterNames()
ServiceEncoding
getParameterNames in interface ServiceEncodingpublic java.lang.String getPathInfo()
ServiceEncoding
getPathInfo in interface ServiceEncoding
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||