public class InvalidPathResource
extends java.lang.Object
http://<host>:<port>/pxf/<version>/<rest of path>
"
The returned value is always a Server Error code (500).
If the version is different than the current version, an appropriate error is returned with version details.
Otherwise, an error about unknown path is returned.Constructor and Description |
---|
InvalidPathResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
noPathGet()
Catches path /pxf/
|
javax.ws.rs.core.Response |
noPathPost()
Catches path /pxf/
|
javax.ws.rs.core.Response |
wrongPathGet(java.lang.String path)
Catches paths of pattern /pxf/*
|
javax.ws.rs.core.Response |
wrongPathPost(java.lang.String path)
Catches paths of pattern /pxf/*
|
public javax.ws.rs.core.Response noPathGet()
public javax.ws.rs.core.Response noPathPost()
public javax.ws.rs.core.Response wrongPathGet(java.lang.String path)
path
- request pathpublic javax.ws.rs.core.Response wrongPathPost(java.lang.String path)
path
- request path