tests, and stop it after all are complete, it
seems to work fine.
Should Component.stop() release the TCP listen port immediately?
Ian.
--
Ian Clarke
CEO, Uprizer Labs
Email: [EMAIL PROTECTED]
Ph: +1 512 422 3588
Fax: +1 512 276 6674
--
el
> --
> Restlet ~ Founder and Lead developer ~ http://www.restlet.org
> Noelios Technologies ~ Co-founder ~ http://www.noelios.com
>
>
> -Message d'origine-
> De : Ian Clarke [mailto:[EMAIL PROTECTED]
> Envoye : mardi 2 decembre 2008 18:02
> A : discuss
).createAndRunSuiteRunners(XmlSuite) line: 823
RemoteTestNG(TestNG).runSuitesLocally() line: 790
RemoteTestNG(TestNG).run() line: 708
RemoteTestNG.run() line: 73
RemoteTestNG.main(String[]) line: 124
--
Ian Clarke
CEO, Uprizer Labs
Email
.add("connectionManagerTimeout", "100");
Any ideas?
Ian.
On Mon, Dec 1, 2008 at 1:08 PM, Rhett Sutphin <[EMAIL PROTECTED]> wrote:
> You need to upgrade the com.noelios.restlet dependencies to 1.1.1, too.
--
Ian Clarke
CEO, Uprizer Labs
Email:
t;
>> org.restlet.util.Engine.fireContextChanged(Lorg/restlet/Restlet;Lorg/restlet/Context;)V
>>at org.restlet.Restlet.(Restlet.java:90)
>>at org.restlet.Connector.(Connector.java:83)
>> at org.restlet.Client.(Client.java:82)
>>at org.restlet.Cli
at org.restlet.Restlet.(Restlet.java:90)
at org.restlet.Connector.(Connector.java:83)
at org.restlet.Client.(Client.java:82)
at org.restlet.Client.(Client.java:101)
at org.restlet.Client.(Client.java:121)
--
Ian Clarke
CEO, Uprizer Labs
Email: [EMAIL PROTECTED]
P
I followed the code in this tutorial:
http://www.restlet.org/documentation/1.0/tutorial#part09
But when the authentication fails, I'm getting a 403 error, rather
than a 401 error as the code suggests. This is with Restlet v1.0.11 -
any ideas?
Regards,
Ian.
--
Ian Clarke
CEO, Uprizer
Ah, figured it out - I was ending the header value with a ';'.
Ian.
On Mon, Jun 23, 2008 at 10:50 AM, Ian Clarke <[EMAIL PROTECTED]> wrote:
> Hi, I'm seeing this exception in Restlet 1.0.9 (running on Java 1.6 on
> OSX), can anyone think of what might be causing it?
Hi, I'm seeing this exception in Restlet 1.0.9 (running on Java 1.6 on
OSX), can anyone think of what might be causing it? :-
java.io.IOException: Empty parameter name detected.
at
com.noelios.restlet.util.PreferenceReader.readPreference(PreferenceReader.java:141)
at com.noelios.r
How do I change the contents of the Server header (currently
"Noelius-Restlet-Engine/1.0.9")? Do I do this from the Component
object?
Ian.
--
Email: [EMAIL PROTECTED]
Cell: +1 512 422 3588
Skype: sanity
Hi, I'm using the Simple web server connector (v3.1) in its default
configuration for an API that must be able to deal with a high request
volume (10-20 requests per second, with each request having a duration
of 10ms - 1s each).
Is the Simple web server adequate for this? Are there any
configura
On Tue, Apr 8, 2008 at 8:38 AM, Rob Heittman <[EMAIL PROTECTED]> wrote:
> Since one of the main objectives of 1.1 has been to respond to issues that
> confuse or frustrate people coming to the platform, the changes in 1.1 are
> extremely on point for the needs of a new Restlet user.
Ok, I'll take
On Tue, Apr 8, 2008 at 12:47 PM, Steve Loughran
<[EMAIL PROTECTED]> wrote:
> On Tue, Apr 8, 2008 at 6:44 PM, Ian Clarke <[EMAIL PROTECTED]> wrote:
> > It seems ridiculous, I know, but unfortunately if all the existing
> > options are over-engineered and hard t
>
> You could also adopt a discovery policy similar to what jetty does
>
>
>
> On Tue, Apr 8, 2008 at 11:17 AM, Ian Clarke <[EMAIL PROTECTED]> wrote:
>
> > Does your colleague have any plans to release his framework under a
> > commercial-friendly l
ler
> and more ad hoc to the application environment and the information being
> logged.
>
> Forward a pointer to the blog rant please ;-)
>
>
>
> On Tue, Apr 8, 2008 at 9:38 AM, Ian Clarke <[EMAIL PROTECTED]> wrote:
> > Personally I blame the design of logging frameworks
ons.logging.simplelog.log.org.apache.commons.httpclient",
"error");
I definitely feel a blog rant coming on about today's Java logging
frameworks :-)
Ian.
On Tue, Apr 8, 2008 at 4:58 AM, Steve Loughran <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 8, 2008 at 6:27 AM, I
Personally I blame the design of logging frameworks. I find them to
be over-engineered, and unintuitive to use.
I hate to say it, but maybe we need a new logging framework :-)
Ian.
On Tue, Apr 8, 2008 at 6:37 AM, Rob Heittman <[EMAIL PROTECTED]> wrote:
> Yes, it can be a bit of a challenge to f
//www.naviquan.com/blog/restlet-cookbook-log
>
>
>
> On Mon, Apr 7, 2008 at 9:22 PM, Ian Clarke <[EMAIL PROTECTED]> wrote:
> > How do I stop Restlet from logging to the console?
> >
> > Ian.
> >
> >
>
--
Email: [EMAIL PROTECTED]
Cell: +1 512 422 3588
Skype: sanity
How do I stop Restlet from logging to the console?
Ian.
--
Email: [EMAIL PROTECTED]
Cell: +1 512 422 3588
Skype: sanity
Ok, I think I fixed it - the problem was that after some calls I
wasn't doing a getEntity().getText() (I didn't require the entity).
Its a bit of a nasty pitfall for newbies...
Ian.
On Mon, Apr 7, 2008 at 4:29 PM, Ian Clarke <[EMAIL PROTECTED]> wrote:
> I keep getting the fol
I keep getting the following timeout when I try to do a HTTP GET on a
resource (I'm using Restlet both server and client side, v1.0.9). It
only seems to happen if I PUT and then DELETE the resource, and then
try to GET it after its been deleted. If I never create the resource
in the first place,
Just want to ping the list again as I haven't yet seen a response to
the question below. Does anyone have any ideas? :-
Ian.
On Tue, Apr 1, 2008 at 11:21 AM, Ian Clarke <[EMAIL PROTECTED]> wrote:
> I want to pass two objects, cf and rs, in to several resources. Here
> is a
I want to pass two objects, cf and rs, in to several resources. Here
is a code snippet that doesn't work:
--snip--
apiListenerComponent = new Component();
apiListenerComponent.getServers().add(Protocol.HTTP, listenPort);
apiListenerComponent.getContext().
When creating a subclass of Resource, is it preferable to override
post() or handlePost() (ditto for put/handlePut - etc)? What is the
difference?
(Note: I'm using restlet v 1.0.8)
Thanks,
Ian.
--
Email: [EMAIL PROTECTED]
Cell: +1 512 422 3588
Skype: sanity
On Mon, Mar 24, 2008 at 10:07 AM, Kevin Conaway <[EMAIL PROTECTED]> wrote:
> I believe you should override Resource.storeRepresentation() and override
> Resource.allowPut() -> true instead of overriding Resource.put()
I don't think there is a Resource.storeRepresentation() method in
1.0.8. Are yo
ation in likely use
> cases,
> > > and if time permits, give a couple examples of how to construct and send
> it
> > > in the most likely client languages (Javascript, Ruby, etc.). I think a
> > > great use of time is ensuring that your Web service emits informa
(especially in scripting and dynamic
> languages) like to just whip something together and try it out.
>
> - R
>
>
>
> On Mon, Mar 24, 2008 at 10:04 AM, Ian Clarke <[EMAIL PROTECTED]> wrote:
>
> > Can anyone give me some advice on how I should document this for
I'm implementing Resource.put(), and I want to standardize on JSON as
my data representation language.
This resource is a User object called 'u', that contains one main
field, a Set of Integers called "tags".
Can someone let me know if I'm doing this right, and in the idiomatic
manner - or if I s
On Sun, Mar 23, 2008 at 10:39 PM, Adam Rosien <[EMAIL PROTECTED]> wrote:
> > In the event that it is appropriate to use a GET parameter, what is
> > the best way to extract it from a Request?
>
> http://www.restlet.org/documentation/1.0/tutorial#part10 has one way
> to push the query paramete
When is it appropriate to use a query string to pass parameters to a
REST API call?
For example, why is:
http://blah/user/1234
better than:
http://blah/user?id=1234
?
I'm guessing that if I have a GET request which can return a list of a
variable length (such as a search), then a GET para
his.getResponse().setStatus(
Status.CLIENT_ERROR_BAD_REQUEST, e.getMessage());
}
return null;
}
On Sun, Mar 23, 2008 at 9:05 PM, Ian Clarke <[EMAIL PROTECTED]> wrote:
> What is the appropriate way to report an error back to the caller of a
> HTTP REST call from a Resource class?
&g
What is the appropriate way to report an error back to the caller of a
HTTP REST call from a Resource class?
For example, what if I'm using JSON and there is some kind of JSON
parsing error? Obviously, it would be nice to return a useful error
message to the caller of the API.
I'd really appreci
32 matches
Mail list logo